Startpage >> Main >> Example2

Example 2

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

\begin{array}{rcl} -\nu \,u_{xx}+a_0\,u & =&0 \quad\mbox{on } (0,1)\quad \nu <<a_0\\ u(0)=1,\;u_x(1) & =&0. \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 : SteadyReaction-Diff-1d.edp and its MATLAB companion code plotreactiondiffusion.m

return

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