Table of Contents

Step by step tutorial for MoFEM developers. We explain here how to implement general problem on particular examples.

Hello world

Introduces user to basic ideas of user operator and MoFEM::Simple interface and implementation of finite element with users data operators.

Hierarchical approximation

Introduces the reader to the basic concepts of finite element approach using Hierarchical basis functions.

Simple elastic problem

Introduction to fundamental MoFEM functionalities and capabilities by solving a simple linear elastic problem.

The Poisson equation

The Poisson equation is solved using MoFEM::Simple interface. The generic procedure is applied to one of the simples PDEs. In order to make problem iterating boundary conditions are enforced by Lagrange multipliers

Tutorial focusses attention on implementation of finite element users operators, setting integration rule and using Tensor template library.

Example of implementation of nonlinear Poisson equation using SNES (Newton) solver

Using PCFIELDSPLIT pre-conditioner to solve problem with Lagrange multipliers

Nonlinear problem

Minimal surface area (soap film on the wire): Tutorial showing step by step implementation of nonlinear problem. It presents how to set up the problem from scratch, calculate matrices and solve the problem using MoFEM and PETSc

Mix formulation and h-adaptivity

In example is shown how to solve transport problem using mix element with an independent approximation for fluxes and function values. Also, is shown how to integrate over mesh skeleton to evaluate error and how to use a posterior error estimator to drive mesh adaptivity (h-adaptivity).

In this tutorial, we show how to solve time dependent nonlinear problem using mix formulation applied to unsaturated water transport in heterogeneous soil.