2D FEM Mesh Generation with femmesh


Contents

See also:


Overview

femmesh is an interactive UNIX/OpenWindows tool for creating circular, rectangular or irregular 2D FEM meshes.

The mesh files produced by femmesh can be used in FEM main programs (solvers) to produce solutions at the nodal points of the mesh.

Features of femmesh include:

Location (only for Medical Physics users):
~martins/bin/femmesh

Syntax:
femmesh [mesh-file]

When invoked, femmesh comes up with a mesh display window and a control panel. The control panel is used to create, modify and save a mesh.


Sample femmesh screen.


Creating a new mesh

To create a mesh from scratch,

For circular meshes:

For rectangular meshes:

For irregular meshes:

Once all parameters for circular, rectangular or irregular meshes have been set, click on "Apply" to start the mesh generation process. Note that this can take a while, especially for large meshes. When the mesh is complete, click on "Done" to remove the mesh creation dialog box.


'New' dialog for rectangular meshes.


Creating irregular meshes


Refining a mesh locally

The node density of a mesh can be locally increased by subdividing elements manually.


Modifying absorption, scattering and refractive index

The optical coefficients for each element can be set individually with the 'Modify Coefficient' tool.


'Modify Coefficients' dialog.


Back to FEM contents page
The information on this page is supplied and compiled by Martin Schweiger
E-mail: martins@medphys.ucl.ac.uk
Last update 18/12/95