|
|
Additional source terms due to the magnetic induction are added to the flow momentum and energy equations as user defined source terms. For the momentum equation, user function DEFINE_SOURCE(mhd_mom_source, ..., eqn) is used to introduce the Lorentz force to the equation, where eqn identifies the Cartesian component of the fluid momentum. For the energy equation, the additional source due to Joule heating is added through user function DEFINE_SOURCE(mhd_energy_source, ..., eqn), where eqn is the energy equation index.