/MHD_2D

This has a MATLAB script for evolving the incompressible 2D magnetohydrodynamic equations. We use the vorticity-current density formulation so that the spatial constraints are enforced exactly. Spatial differencing is done in Fourier space and time stepping with RK4.

Primary LanguageMATLABApache License 2.0Apache-2.0

Stargazers

No one’s star this repository yet.