SFEMaNS  version 4.1 (work in progress)
Reference documentation for SFEMaNS
 All Classes Files Functions Variables Groups Pages
The function Eexact_gauss

It is used to define the boundary condition \(\textbf{a}\).

This function defines the boundary condition for one given Fourier mode, one given component (radial cosine, radial sine, azimuthal cosine, azimuthal sine, vertical cosine or vertical sine) on given node or gauss point of the finite element mesh.

Inputs and outputs

The inputs of this function are the following:

  1. TYPE is the component of the source term that is computed (radial cosine, radial sine, etc.). It is an integer between one and six.
  2. rr is a list of two real numbers. The tabular rr(1) contains the radial cylindrical coordinate of the node or the gauss point considered. Respectively, rr(2) contains the vertical coordinates of this node or gauss point.
  3. m is the Fourier mode \(m\) considered. It is an integer.
  4. mu_phi is the magnetic perbeability in the insulating region.
  5. sigma is the magnetic Reynolds number multiplied by the electrical conductivity of the domain that contains the node/gauss point considered.
  6. mu_H_field is the magnetic permeability of the domain that contains the node/gauss point considered.
  7. t is the time at which this term is computed. It is a real number.

The output of this function is a real number vv.


We refer to the sections Examples with manufactured solutions and Examples on physical problems for more examples.