Skip to content

Examples

This section gives worked examples that show how to use mufem for different applications. Each example has a short summary, the main concepts it shows, and the complete code.

Example Description Demonstrated Concepts
Nonuniform charge density Nonuniform charge density In this tutorial you analyze the electrostatic field from 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