|
|
Apart from the Cartesian components of the magnetic field vectors and the electric potential function, which are stored as user-defined scalars, other MHD-related variables include the induced electric current density vector, induced electric field vector, the Lorentz force vector and Joule heat. These variables are stored in user-defined memory locations. Updating of MHD variables is accessed through the user function DEFINE_ADJUST(mhd_adjust, ...). The variables are updated at the start of each iteration using the solved induced magnetic field from the previous iteration.