wiki:ResistiveMhd

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

MHD equations

Units in Astrobear

Astrobear uses something like rationalized electromagnetic units (extra factor of in the electric and magnetic fields) - or Lorentz-Heaviside but scaling the field by and the charge density (and current ) by

AstroBEAR Lorentz-Heaviside EMU Gaussian Physical Units

Or - Using the approach in the appendix of Jackson, we have

This allows us to write Maxwell's equations as

as well as

Lorentz Force Law
Coulomb's Law

Most of the time we don't care about , , or , however for the Hall MHD terms, we need to determine the electron charge in our system of units.

For our system of equations, the elementary charge is

Now for MHD we assume that the plasma is neutral () and that and instead of tracking the electric field through time, we will use Ohm's law to calculate the electric field.

This leaves us with the following set of equations

Induction equation
Ampere's equation (without Maxwell's correction)
Lorentz Force Law
Generalized Ohm's Law

In addition we have equations for the total electromagnetic energy involving the net poynting flux and work done on the gas .

Poynting's theorem (electromagnetic energy)
Poynting vector

Equations for momentum, magnetic energy, and magnetic field

Subsituting Ampere's equation and the definition of the Poynting vector into the equations for momentum, magnetic energy, and the magnetic field, we arrive at

Ohm's Law

Not the momentum equation only involves the magnetic field and is the same regardless of the electric field . Note it is also already in a form involving a total divergence making it straightforward to implement in a conservative finite volume scheme. The energy and induction equation, however, will depend on our choice of .

The field can be calculated using a Generalized Ohm's law

Under under certain conditions, we can ignore various terms resulting in the following approximations

Resistive + Hall MHD
Resistive MHD
Ideal MHD

Also - the Biermann Battery term can be included which then allows for magnetic fields to be generated without the need for nascient fields.

Ideal MHD

For ideal MHD we substitute

into the equations above and after some vector calculus (including a very messy vector quadruple product with a del operator), manage to write the energy term as a total divergence (and the field as a curl)

Resistive MHD

For resistive MHD, it will be convenient to define the resistive component of the electric field

Then our total electric field is given by

We then need to add this contribution to the induction equation and the energy equation where it enters both the Poynting flux and the work done on the the charge distribution .

However the work done on the charge distribution would need to also be added to the thermal energy cancelling any changes in the total energy due to the term. This leaves us with.

Note the resistive part of the induction equation

can be expanded as

Which hints to the diffusive nature of the resistive term. It also involves a second derivative so the time stepping criteria will be and an implicit solve might be worth considering.

Hall+Resistive MHD

As in resistive MHD, it will be convenient to define the Hall component of the electric field

Then our total electric field is given by

Again we need to add the additional electric field component to the energy equation (in both the Poynting Flux and the work on the charge distribution) as well as the induction equation. Also note in this case the electric field is perpendicular to the current - so it does no work on the charge distribution.

So as in the Resistive case, only the Poynting Flux term needs to be added to the energy equation.

Comparing the advective and the Hall terms, we can calculate the length scale for magnetic gradients below which the Hall term becomes larger than the advective term.

For the lab experiments, , , which works out to give

If we assume then we get

and given the definition of the plasma ion frequency

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.

Getting the curl of B at a cell edge is straight forward as it involves difference the 4 adjacent cell faces. For example, the Z component would be given by

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

Using to represent cell centered values, to represent face centered values, we have

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.