In magnetohydrodynamics (MHD), a Lorentz force exists in the momentum equation, j ×B. Here, j is the current density and B is the magnetic flux density. For quasi-static MHD, the magnetic diffusion is much stronger than its advection and therefore the flow-induced magnetic field is negligible compared with the external magnetic field. From Ohm’s law, the current density is j = σ(-∇ϕ + u ×B). Here, σ is the electric conductivity. The electric potential ϕ is determined from the divergence-free condition of the current density, ∇2ϕ = ∇⋅ (u ×B) with proper boundary conditions.
To activate this feature, the ForcingLorentz should be defined. The strength of external
constant electric field is (Ex, Ey, Ez) and that of the magnetic flux density is (Bx, By, Bz).
Their default values are zero.
1<CONDITIONS> 2<FUNCTION NAME="ElectricMagneticFields"> 3<E VAR="By" VALUE="4" /> 4<E VAR="Ez" VALUE="0" /> 5</FUNCTION> 6</CONDITIONS> 7 8<FORCE TYPE="ForcingLorentz"> 9<ELECTRICMAGNETICFIELDS> ElectricMagneticFields </ELECTRICMAGNETICFIELDS> 10<IMPLICITDAMPING> True </IMPLICITDAMPING> 11</FORCE>
For strong magnetic fields, the isotropic part of the Lorentz force can be treated implicitly by
setting the optional IMPLICITDAMPING entry to True (the default is False). This
splits σ(u ×B) ×B into the explicit term σ(u ⋅B)B and the implicit damping
term -σ|B|2u. The option is supported by velocity-correction-scheme solvers. For
moving-wall boundary conditions, the local wall velocity, including both translation
and rotation, is also used to include the damping term in the pressure Neumann
condition.
The pressure field p must be the last variable. When ForcingLorentz is defined, the electric
potential field must be the penultimate variable, after the velocity components and any
passive scalars. For example, a two-dimensional MHD case uses the ordering u, v, phi, p.
The number of convective fields is determined automatically: the total number of variables
minus two for MHD, or minus one without Lorentz forcing. Pressure and electric potential are
not time-integrated as convective fields.
The following extra parameter should be provided.
| Parameter | Description | Mandatory |
ElectricConductivity | electric conductivity σ. | Yes |