Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MHD Example #280

Merged
merged 4 commits into from
Dec 17, 2024
Merged

MHD Example #280

merged 4 commits into from
Dec 17, 2024

Conversation

lukem12345
Copy link
Member

@lukem12345 lukem12345 commented Nov 8, 2024

I derived and implemented a vorticity-based formulation of magnetohydrodynamics for Matt which was then pair-programmed. This current script is based off a copy-paste of my vorticity-based solver of Navier-Stokes. The reference for the usual formulation of the ideal MHD equations was Gillespie’s paper on the subject.

We should specify some initial conditions to demonstrate interesting dynamics, possibly one of the test cases considered by Gillespie.

Copy link

codecov bot commented Nov 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.09%. Comparing base (57854ba) to head (839beed).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #280   +/-   ##
=======================================
  Coverage   78.09%   78.09%           
=======================================
  Files           5        5           
  Lines         630      630           
=======================================
  Hits          492      492           
  Misses        138      138           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jpfairbanks
Copy link
Member

This paper is cited by Gillespie and has more numerical scenarios to model. https://arxiv.org/abs/1707.03227

@lukem12345
Copy link
Member Author

For completion's sake, this is a sophisticated FEEC model of magnetic advection-diffusion with finite volume conservation laws for the fluid https://www.research-collection.ethz.ch/bitstream/handle/20.500.11850/126185/eth-49726-02.pdf

@lukem12345 lukem12345 merged commit f349d80 into main Dec 17, 2024
8 of 9 checks passed
@lukem12345 lukem12345 deleted the cm/mhd branch December 17, 2024 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants