Examples

Description

As part of the Platypus test suite, we solve a number of sample problems 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.

  • GradDiv: 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.