Examples that use MFEM capabilities

Description

As part of the MOOSE test suite, we solve a number of sample problems using MFEM that may serve as a useful starting point for users to adapt:

Thermal Problems

  • Steady State Diffusion: Steady state diffusion problem for the temperature profile across a mug with fixed temperatures on two boundaries.

  • Transient Heat Transfer: Transient heat conduction problem with a boundary parameterized by a heat transfer coefficient that exchanges heat with a thermal reservoir.

Mechanical Problems

Electromagnetic Problems

  • Definite Maxwell: Solves a 3D electromagnetic diffusion problem for the electric field on a cube missing an octant, discretized using conforming Nédélec elements. This example is based on MFEM Example 3.

  • Grad-div: Solves a diffusion problem for a vector field on a cuboid domain, discretized using conforming Raviart-Thomas elements. This example is based on MFEM Example 4 and is relevant for solving Maxwell's equations using potentials without the Coulomb gauge.

Fluid Problems

  • Darcy: Solves a 2D mixed Darcy problem. This is a saddle point problem, discretized using Raviart-Thomas finite elements (velocity ) and piecewise discontinuous polynomials (pressure ). This example demonstrates the use of transposition in the input file for mixed problems with different trial and test variables. Transposition flips the matrix associated a mixed bilinear form over its diagonal, swapping the roles of the test and trial variables and avoiding the need to define a second kernel. This example is based on MFEM Example 5.