Meshers

The meshers and the geometry sources they accept:

Mesher

box

csg

cad

mesh_file

curve

surface

swept_surface

structured

yes

getfem

yes

yes

yes

yes

yes

gmsh

yes

yes

yes

yes

netgen

yes

yes

yes

yes

import

yes

A boundary geometry is meshed by the meshers of its solid.

A new mesh of a box is structured; the other ones use gmsh when it accepts the source (environment variable GETFEM_LAB_DEFAULT_MESHER).

structured

Field

Key

Value

Divisions

divisions

integers, one per coordinate, or a vector parameter

Elements

element

one of simplex (triangles / tetrahedra), quad (quadrilaterals / hexahedra)

getfem

Field

Key

Value

Element size

h

number or expression of parameters

Geometric order

order

one of 1 (1 (straight)), 2 (2 (curved)), 3

Elements

element

one of simplex (triangles), quad (quadrangles). Quadrangles: the triangles of the GetFEM mesher (of twice the element size) recombined in pairs, then each quadrangle split into four, each triangle left into three, smoothed; hexahedra: each tetrahedron split into four (in layers: the quadrangles of the profile extruded or turned)

Layers

layers

number or expression of parameters. 0: free tetrahedra. Otherwise the profile is meshed in 2D, then extruded in this number of layers: prisms, or hexahedra with quadrangles.

gmsh

Field

Key

Value

Element size

size

number or expression of parameters

Geometric order

order

one of 1 (1 (straight)), 2 (2 (curved)), 3

Elements

element

one of simplex (triangles), quad (quadrangles). Quadrangles: Blossom recombination with Gmsh (quadrangles only), quad dominated with Netgen

Layers

layers

number or expression of parameters. 0: free tetrahedra. Otherwise the profile is meshed in 2D, then extruded in this number of layers: prisms, or hexahedra with quadrangles.

netgen

Field

Key

Value

Element size

size

number or expression of parameters

Geometric order

order

one of 1 (1 (straight)), 2 (2 (curved))

Elements

element

one of simplex (triangles), quad (quadrangles). Quadrangles: Blossom recombination with Gmsh (quadrangles only), quad dominated with Netgen

Layers

layers

number or expression of parameters. 0: free tetrahedra. Otherwise the profile is meshed in 2D, then extruded in this number of layers: prisms, or hexahedra with quadrangles.

import

No parameter.