Note that FSEM is still under development. The documentation is very synthetic and some FE formulations
are still under testing.
However FSEM is designed to be used both by entry-level users and advanced-users who want to implement new
models, equations or equation formulations.
A typical simulation input file may look like this (note that FSEM "live" on top of FreeFEM++
such that all FreeFEM++ features remain available):
- Generate the geometry and initial mesh (2D rectangular or 3D axisymmetric coordinates)
- Define contacts (thermal and electrical)
- Define models by mean of flags.
- Solve the equation(s) (either diffusion or drift-diffusion
for carriers and diffusion for heat)
- Adapt the mesh
- Solve the equation(s) again
- Plot solution, export it to gmsh or extract values
along a line.
Not only the solution, but all derived quantities can be plot (band gap,
Note that the geometry or the contacts can be redefined at any time.