SFEMaNS  version 5.2
Reference documentation for SFEMaNS
Documentation

The objective of this documentation is to help users and developers to use all the features of SFEMaNS and add new ones. The documentation is divided in three sections.

Required information to compute with SFEMaNS

SFEMaNS presentation General information on SFEMaNS (equations solved, computational domain, and key features of the code).
Numerical approximation Information on the approximation techniques. Description of the algorithms and weak formulations that are implemented.
Installation Instructions Download and check installation of SFEMaNS.
Mesh Generator Creation of grid with a mesh generator.
Computations with SFEMaNS Description of the files that the user must provide to actually compute something (condlim.f90, main.f90, read_user_data.f90 and data). Templates are provided. Information on available post-processing tools.
Mesh Interpolation and restart files Description of the interpolation of restart files on a mesh M1 to restart files on a mesh M2.

Examples of computations in various settings

Examples with manufactured solutions Examples showing how to use SFEMaNS with manufactured solutions. These examples are used to check the correctness of the installation of SFEMaNS and the various softwares that are invoked by SFEMaNS (PETSc, FFTW3, ARPACK).
Examples on physical problems Examples showing how to use SFEMaNS in various physical settings (hydrodynamic, magnetism, MHD). These examples been published in referred journals.

Additional information to add terms in equations or implement new equation

in construction Theoretical reminder on weak formulations and Gaussian quadratures. Description of the fortran files that assemble matrices (left-handside) and vectors (right-handside) induced by the weak formulation of the MHD equations.
in construction Computation of nonlinear terms with SFEMaNS via Fast Fourier Transform (FFTW3 package).