Moving meshes

Sometimes, it is necessary to calculate equation in moving domains. In OOCSMP we can apply several operations (rotation, displacements and scale) to the meshes in the simulation loop. It is also possible to concatenate or detach several meshes.
Next there are two examples of moving meshes. In the first, two pieces approach until they collide and then move away until a certain distance, then the proccess is repeated. In the second the rotation operation is applied to a grid.

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 2/1/2000 by Juan de Lara (, need help for using this courses?.

First model - Second model - The SODA code