Changes between Version 2 and Version 3 of AstroBearProjects/resistiveMHD


Ignore:
Timestamp:
08/08/11 14:14:51 (13 years ago)
Author:
Shule Li
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • AstroBearProjects/resistiveMHD

    v2 v3  
    11= Resistivity in AstroBEAR =
    22
     3The resistive equation can be written as:[[BR]]
     4
     5[[Image(http://www.pas.rochester.edu/~shuleli/mceq1.png, 10%)]]
     6
     7The resistivity eta is a function of temperature as we all know. Now one simplification can be made that eta is a constant across the domain. This will simplify the above equation into the following form:[[BR]]
     8
     9[[Image(http://www.pas.rochester.edu/~shuleli/mceq2.png, 10%)]]
     10
     11This equation holds true for each separate field component, and the form resembles the linear isotropic thermal conduction equation. We can solve the elliptic equation for three times or we can write a expanded linear system so that the solver is only called once.[[BR]]
     12
     13In the constant resistivity case, matrices 1, 2, 3 are identical, the expanded matrix is still tridiagonal and can be blocked into three identical parts. [[BR]]
     14Now for Eq.(1), what if we want to include the temperature dependence into the code? From the next section, you can see that when a field configuration in equilibrium is subject to strong resistivity, usually heating would occur and drive up the local resistivity. By expanding Eq.(1), we have the form:[[BR]]
     15
     16[[Image(http://www.pas.rochester.edu/~shuleli/mceq3.png, 20%)]]
     17
     18Now the second term can be treated similarly in the code: using the CR scheme, as shown below.[[BR]]
     19
     20[[Image(http://www.pas.rochester.edu/~shuleli/mceq4.png, 30%)]]
     21
     22So the coefficient array is changed into the following form. The second term is new comparing to the thermal conduction case. [[BR]]
     23
     24[[Image(http://www.pas.rochester.edu/~shuleli/mceq5.png, 20%)]]
     25
     26One may wonder if it is possible to throw away the second term on the right hand side of Eq.(3) to just let the resistivity to vary with position but ignore its own spacial variation. This would give us a form of resistive MHD similar to that of the thermal diffusion case but with temperature dependence built in. [[BR]]
     27
     28[[Image(http://www.pas.rochester.edu/~shuleli/mceq6.png, 10%)]]
     29
     30Unfortunately, this does not work for Eq.(6) because Eq.(1) has to be divergence free. Our roughest approximation, treating the resistivity as a constant satisfies the requirement as long as the divergence and the laplacian are commutable. If we try to do the same thing to Eq.(6), we end up getting:[[BR]]
     31
     32[[Image(http://www.pas.rochester.edu/~shuleli/mceq7.png, 20%)]]
     33
     34The first term on the right hand side is zero but the second term is not, especially at sharp temperature fronts where grad(T) is large.[[BR]]
     35So this approximation only works under '''slowly varying temperature''' situation.[[BR]]
    336
    437