Personal tools
You are here: Home cm Wiki Tutorial 2
Views
Tutorial 2 copied.
FrontPage >> CMISS (cm) Tutorials >>

Tutorial 2

last edited 2 years ago by nash


The Finite Element Method and CMISS

This tutorial looks at basic finite element mesh creation in CMISS. This is discussed in Chapter 1 of the FEM/BEM Notes.

Refining a finite element mesh

An important part of finite elements in practice involves refining an element mesh to give a new mesh on the same domain with an increased number of elements. This is covered in CMISS example_113. Refer to pages 20 and 21 of the FEM/BEM Notes. When running this example you will make use of the fem_mesh.ip**** files that you created in example_111 in Tutorial 1. (Refer to Tutorial 1 for details on how to run a CMISS example or if you do not have the fem_mesh.ip**** files.)

Defining a mesh with mixed basis functions

Refer to section 1.5 and page 20 of the FEM/BEM Notes. To begin a new example the old example must be cleared. This is accomplished by restarting CMISS. A mixed basis element mesh is often desirable as it allows different interpolations to be used in different directions in the local element coordinates. Mixed order basis functions are covered in the CMISS example_115.

Defining and changing a curved mesh

All the meshes and basis functions that you have created so far have not contained any derivative information at the nodes. Refer to section 1.6 of the FEM/BEM Notes. Hermite basis functions contain derivatives and hence allow curved meshes. Run the CMISS example_114. This example consists of two parts. This first part defines a cubic Hermite - linear Lagrange mesh, and the second part lets you change the line slopes and nodal positions of the mesh you have created. This is done for the lines by changing the line control points (the + marker) by clicking and relocating and by clicking and relocating the node numbers for the nodes.

Defining a triangular mesh

Triangular elements differ from the quadrilateral based meshes that you have already created in that they use area basis functions. These area basis functions are covered in section 1.7 of the FEM/BEM Notes. Run the CMISS example_116.


Tutorial 2 Quiz | Tutorial 1 | Tutorial 3