Skip to content

Tutorials

This section provides a collection of tutorials that demonstrate how to use μfem for various applications. Each tutorial includes a brief summary, the main concepts demonstrated, and the complete code for the example.

Tutorial Description Demonstrated concepts
Nonuniform charge density In this tutorial we analyze the electrostatic electric field generated by a nonuniform charge density distribution in free space.
  • Creation of a basic mesh
  • Simulation setup
  • Use of markers
  • Introduction of materials and boundary conditions
  • Application of coefficient functions
  • Use of reports for analysis and visualization of results