SFEMaNS
version 4.1 (work in progress)
Reference documentation for SFEMaNS
|
It is used to define the basic states \(\bB_b\) and \(\bH_b\).
This function defines a time independent magnetic field for one given Fourier mode on all the nodes of the finite element mesh. We denote by H_mesh the finite element mesh used to approximate the magnetic field.
The inputs of this function are the following:
char_h_b
is a character of one letters. It is equal to B or H and allows to know which magnetic field is computed. rr
is a real valued tabular that contains two columns with dimensions (2,H_mesh%np). The tabular rr(1,:) contains the radial cylindrical coordinate of all the nodes of the finite element mesh H_mesh. Respectively, rr(2,:) contains the vertical coordinates of these nodes. m
is the Fourier mode \(m\) considered. It is an integer. The output of this function is a real valued tabular vv of dimension (SIZE(rr,2),6).
Here is an exemple where we set \(\bH_\text{b}= r\textbf{e}_\theta\) with \(\textbf{e}_\theta\) the unit vector in the azimuthal direction. Moreover, we assume that the Maxwell equations are approximated on one domain. The magnetic permeability of the domain is avaible via the data inputs%mu_H(1).
The corresponding code lines are written as follows.
We refer to the section Examples on physical problems for more examples.