Using MGEN

Suppose we want to solve the two dimensional equation :

Model equation

The exact solution of this equation is given by :


We could use two maps of isosurfaces: one for the calculated solution, another for the exact solution. We will also generate a plot of the grid nodes, with the initial conditions. The initial and the four boundary conditions are chosen to be the exact solution.

We are going to use MGEN to design the domain, mesh it, put the initial and boundary conditions, and assign the equation to the mesh. Once done this, we can return to the main simulation panel, and press continue.

Theory pages:
Main page
FEM (i)
FEM (ii)
FDM (i)
Example pages:
1-d Heat Equation
2-d steady state Heat Equation
2-d Heat Equation
1-d non diffusive transport equation
1-d diffusive transport equation
2-d Non diffusive transport equation
Mesh generation with OOCSMP
Moving grids
Application pages:
Heating of two beams
Heating of two moving beams
Solving the equation Ut+Uxx+Uxy+Uyx=0
Solving the equation Ut+Uxx+Uxy+Uyx=0 using MGEN
Heat 1d using several outputs
Solving the Heat equation with a CA
Comparing a CA with the FEM
Gordon's sine equation

Other courses
Other pages

Last modified 22/12/99 by Juan de Lara (, need help for using this courses?.

The OOCSMP code - The SODA code