|Figure 12: Simple slab generated with Mesher|
|Unlike Tarantula, mesher is a very simple mesh generator for slab-like geometries de- fined on a structured grids. The main application for mesher is to provide simple meshes for quick tests of different features of the CARP simulator. mesher generates 2D and 3D meshes that consist of triangles or quadrilaterals in the 2D case, and hexahedra or tetrahedra in the 3D case. Implementations of additional element types which are supported by CARP like pyramids and prisms will follow.|
|A simple example is shown below. A slab geometry with a cylindrical region in the middle
is generated. Fibers are assigned to the intial plane by defining a vector and the fibers
rotate 15° per millimeter. Hexahedral elements are employed to discretize the domain.
The mesh generator is invoked by
./mesher +F slab.parwhere slab.par is the following text file:
# name mesh