Startpage >> Main >> Example1

Example 1

Steady Convection-Diffusion with Dirichlet boundary data. P1 or P2 and with remeshing

\begin{array}{rcl} -\nu \,u_{xx}+b\,u_x & =&0 \quad\mbox{on } (0,1),\quad \nu <<b\\ u(0)=0,\;u(1) & =&1. \end{array}

These results use P2 finite elements and a row of triangles sitting on the 1d interval to use the freefem tools

Results viewed with MATLAB
Uniform meshcomputed solution
Adapted meshcomputed solution

download example : SteadyConvection-Diff-1d.edp and its MATLAB companion code plotconvecdiffusion.m

return

Page last modified on June 27, 2018, at 03:44 PM