![]() |
SFEMaNS
version 5.3
Reference documentation for SFEMaNS
|
It is used to initialize the magnetic field \(\bH\) and the scalar potential \(\phi\).
The inputs of this function are the following:
H_mesh is the finite element mesh used to approximate the magnetic field. phi_mesh is the finite element mesh used to approximate the scalar potential. dt is the time step. mu_H_field is a list of real. It contains the magnetic permeability of each conducting domains. mu_phi is the magnetic permeability in the insulating domain where \(\phi\) is approximated. list_mode is a list of integers which contains the Fourier modes approximated. As the mesh can be subdivised, we note that H_mesh and phi_mesh depend of the processor considered when doing parallel computing. Same goes for the list of Fourier mode list_mode.
The outputs of this function are the following:
time is the time when the computations starts. Hn_m1 is the magnetic at the time time-dt. Hn is the magnetic field at the time time. phin_m1 is the scalar potential at the time time-dt. phin is the scalar potential at the time time. Remarks:
H_mesh. phi_mesh. Here is an exemple where we use the function Hexact and Phiexact (so initial conditions satisfy the boundary conditions).
We note that the integers i and k have to be declared. It is done by adding the two following lines in the declaration of the function init_maxwell:
We refer to the sections Examples with manufactured solutions and Examples on physical problems for more examples.