Difference between revisions of "MHD implementation details and discussions"
(6 intermediate revisions by 2 users not shown) | |||
Line 16: | Line 16: | ||
<li> In general, but especially for MHD, it seems worthwhile to promote sqrt(gamma)=psi^6 to an independent gridfunction | <li> In general, but especially for MHD, it seems worthwhile to promote sqrt(gamma)=psi^6 to an independent gridfunction | ||
<li> See Josh Faber's notes here [http://ccrg.rit.edu/~carpet/wiki/File:GRHydro_MHD.tex], or check out the code (still a work in progress!!!) here [http://ccrg.rit.edu/~carpet/wiki/File:GRHydro_MHD_routines.tgz]. | <li> See Josh Faber's notes here [http://ccrg.rit.edu/~carpet/wiki/File:GRHydro_MHD.tex], or check out the code (still a work in progress!!!) here [http://ccrg.rit.edu/~carpet/wiki/File:GRHydro_MHD_routines.tgz]. | ||
− | <li> Josh Faber will commit the routines mentioned in these notes soon. | + | <li> Josh Faber <strike>will commit</strike> has committed the routines mentioned in these notes <strike>soon</strike>. |
− | <li> Scott Noble | + | <li> Scott Noble and Josh Faber worked on Con2PrimM and have committed. |
</ul> | </ul> | ||
Line 30: | Line 30: | ||
<tr><td>Carpet Refluxing </td><td>Erik Schnetter </td><td></td><td>Finished?</td></tr> | <tr><td>Carpet Refluxing </td><td>Erik Schnetter </td><td></td><td>Finished?</td></tr> | ||
<tr><td>EMF Restriction/Prolongation</td><td>?</td><td>Needed for CT only</td><td></td></tr> | <tr><td>EMF Restriction/Prolongation</td><td>?</td><td>Needed for CT only</td><td></td></tr> | ||
− | <tr><td>Constraint Damping?</td><td>Faber, Mundim, Noble</td><td>SR case done</td><td>GR derived, not implemented yet</td></tr> | + | <tr><td>Constraint Damping?</td><td>Faber, Mundim, Noble</td><td>SR case done</td><td>GR derived, not implemented yet</td></tr> |
+ | <tr><td>Tests and debugging </td><td>Mundim, Faber, Noble </td><td></td><td>In progress</td></tr> | ||
</table> | </table> | ||
Line 37: | Line 38: | ||
Most of these *M.F90 files have generated and are part of ET already. | Most of these *M.F90 files have generated and are part of ET already. | ||
− | Notes on the derivation of the GR divergence cleaning equations: | + | Notes on the derivation of the GR divergence cleaning equations:<br> |
− | + | [[Image:Rel_cleaning_new.pdf]]<br> | |
− | + | [[Image:Rel_cleaning_new.tex]]<br> |
Latest revision as of 18:46, 26 April 2011
Contents
Scientific Goals
Random bits and pieces
Reuse parts of Harm3D- Used Harm3d as a reference, but the only parts of Harm3d directly included were for the Con2PrimM routines.
Conventions / Variable names etc.
- Principally follow the Valencia formulation as out-lined in Anton et al. (2006)
- HydroBase's Bvec[1-3] GF will be identified with Valencia's B^i vector
- Bvec[] will be used both as an evolved quantity and a primitive variable
- During the Carpet workshop, we concluded it is easier to define B^i to be the undensitized magnetic field; this requires some care, since psi^6 B^i is the quantity that appears in the evolution equation, but simplifies the rest of the code
- Only use locally calculated "comoving magnetic tensor" b^a when needed
- In general, but especially for MHD, it seems worthwhile to promote sqrt(gamma)=psi^6 to an independent gridfunction
- See Josh Faber's notes here [1], or check out the code (still a work in progress!!!) here [2].
- Josh Faber
will commithas committed the routines mentioned in these notessoon. - Scott Noble and Josh Faber worked on Con2PrimM and have committed.
Subprojects
Task | Main people | Notes | Status |
---|---|---|---|
Riemann Problem | Faber | HLLE done | |
Con2Prim | Noble, Faber | from Harm3D | done, except for general EOS |
Constraint transport | ? | from Harm3D | still on drawing board |
Reconstruction | Faber, Mundim | done | |
Failure Recovery Procedure | ? | just using old tools for now | |
Carpet Refluxing | Erik Schnetter | Finished? | |
EMF Restriction/Prolongation | ? | Needed for CT only | |
Constraint Damping? | Faber, Mundim, Noble | SR case done | GR derived, not implemented yet |
Tests and debugging | Mundim, Faber, Noble | In progress |
During the Cactus workshop, some progress was made on implementing MHD within GRHydro by reimplementing various subroutines with alternate versions for MHD and calling them out with the MHD flag in the scheduler. Basically, instead of GRHydro_filename.F90, we will have GRHydro_filenameM.F90.
Most of these *M.F90 files have generated and are part of ET already.
Notes on the derivation of the GR divergence cleaning equations:
File:Rel cleaning new.pdf
File:Rel cleaning new.tex