Meshing

-

This page provides a brief description of MFEM's mesh formats and meshing mini applications.

+

This page provides a brief description of MFEM's mesh formats, meshing mini applications, and related tools.

Mesh formats

MFEM supports a number of mesh formats, including:

    @@ -342,7 +341,7 @@ demonstrating more advanced usage of the library. They are intended to be more representative of MFEM-based application codes. We recommend that new users start with the example codes before moving to the miniapps.

    -

    The current meshing miniapps are described below.

    +

    The current meshing miniapps are described below. Related tools are listed at the bottom of the page.

    Mobius Strip

    This miniapp generates various Mobius strip-like surface meshes. It is a good way to generate complex surface meshes.

    @@ -356,6 +355,22 @@ the mobius-strip miniapp.

    The klein-bottle and klein-donut meshes in the data directory were generated with this miniapp.

    +

    Toroid

    +

    This miniapp generates two types of toroidal volume meshes; one with +triangular cross sections and one with square cross sections.

    +

    +

    A wide variety of toroidal meshes can be generated by varying the +amount of twist as well as the major and minor radii and other +variables. The toroid-wedge and toroid-hex meshes in the data directory +were generated with this miniapp.

    +

    Extruder

    +

    This miniapp creates higher dimensional meshes from lower dimensional meshes +by extrusion.

    +

    +

    Simple coordinate transformations can also be applied if desired. The initial +mesh can be 1D or 2D. 1D meshes can be extruded in the y-direction first and +then in the z-direction. 2D meshes can be triangular, quadrilateral, or +contain both element types.

    Shaper

    This miniapp performs multiple levels of adaptive mesh refinement to resolve the interfaces between different "materials" in the mesh, as specified by a given @@ -381,13 +396,25 @@ mesh.

    Paradigm (TMOP) by P.Knupp et al., and a global variational minimization approach.

    -

    It minimizes the quantity TTμ(J(x)), where T are the target -(ideal) elements, J is the Jacobian of the transformation from the target -to the physical element, and μ is the mesh quality metric.

    +

    It minimizes the quantity TTμ(J(x)), where T are the target +(ideal) elements, J is the Jacobian of the transformation from the target +to the physical element, and μ is the mesh quality metric.

    This metric can measure shape, size or alignment of the region around each quadrature point. The combination of targets and quality metrics is used to optimize the physical node positions, i.e., they must be as close as possible to the shape / size / alignment of their targets.

    +

    Tools

    +

    Low-Order Refined Transfer

    +

    The lor-transfer miniapp, found under miniapps/tools demonstrates the +capability to generate a low-order refined mesh from a high-order mesh, and to +transfer solutions between these meshes.

    +

    +

    Grid functions can be transferred between the coarse, high-order mesh and the +low-order refined mesh using either L2 projection or pointwise evaluation. +These transfer operators can be designed to discretely conserve mass and to +recover the original high-order solution when transferring a low-order grid +function that was obtained by restricting a high-order grid function to the +low-order refined space.