wiki:u/johannjc/scratchpad28

Version 2 (modified by Jonathan, 4 years ago) ( diff )

Generalized Equations

We start with a Generalized Ohm's law

And then under certain conditions, we can ignore various terms yielding various approximations

Resistive + Hall MHD
Resistive MHD
Ideal MHD

Electromagnetic energy

We also need Poynting's theorem for the change in electro-magnetic energy

which is just the net loss of energy due to diverging electromagnetic Poynting flux minus the work done on the charge distribution

Induction equation

Ampere's equation

(without Maxwell's correction for time varying electric field)

and

Lorentz force law

Final set of equations

Ideal MHD

For ideal MHD we substitute

into the equations above and after some vector calculus, manage to write momentum and energy as a total divergence (and the field as a curl)

Resistive MHD

into the equations above and after some vector calculus, manage to write momentum and energy as a total divergence (and the field as a curl)

Note the energy equation is missing the additional term which would correspond to the loss in magnetic energy due to ohmic dissipation. However this loss in magnetic energy is balanced by a gain in thermal energy - so those terms cancel in the final energy equation.

Hall+Resistive MHD

We can also combine the Hall and Resistive terms

Or defining

This along with

we arrive at

Ideal MHD
Resistive MHD
Hall MHD

In addition, Poynting's theorem states that the electromagnetic energy goes as

In Ideal MHD we have

Now for Hall MHD, we can write the induction equation as

where

Note the Hall velocity is always parallel to the current and therefore perpendicular to the field (using Ampere's law without Maxwell's addition ignoring time varying electric fields) and as a result the corresponding energy term involving .

Expanding just the Hall term further, we arrive at

which we can compare to the resistive mhd term

So it is likewise a

Discretization

For resistive MHD, we calculate at cell edges for which each component can be calculated by differencing the 4 cell faces that share the edge.

For Hall MHD we need to calculate along with at cell edges.

So we have

So we need

  • edge centered estimates of the perpendicular fields (which can be found by averaging the two adjacent faces)
  • transverse gradients of the parallel field (which can be found by differencing adjacent face centered averages of the parallel field (found by averaging the adjacent cell centered fields)
  • parallel gradients of the transverse field

So steps are

Now if we represent edge centered perpendicular B fields

and face centered parallel fields

this simplifies to

So to calculate 'z' edges we need adjacent face centered z fields and edge centered transverse fields

These fields won't be used for any of the other directional updates - so can be discarded after each dimension

Note: See TracWiki for help on using the wiki.