.. _sphx_glr_api_gallery_plasma_mhd: Magnetohydrodynamics -------------------- Treats the plasma as a single conducting fluid rather than a collection of orbiting particles: the characteristic Alfven and magnetosonic wave speeds (:func:`~physicskit.plasma.mhd.alfven_speed`, :func:`~physicskit.plasma.mhd.magnetosonic_speeds`); static toroidal equilibrium via the Grad-Shafranov equation (:func:`~physicskit.plasma.mhd.solve_grad_shafranov`, :func:`~physicskit.plasma.mhd.safety_factor_large_aspect_ratio`); and resistive magnetic reconnection, comparing the classic Sweet-Parker model against Petschek's faster X-point revision (:func:`~physicskit.plasma.mhd.sweet_parker_rate`, :func:`~physicskit.plasma.mhd.petschek_rate`). .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /api/gallery/plasma/mhd/images/thumb/sphx_glr_plot_01_alfven_and_magnetosonic_waves_thumb.png :alt: :doc:`/api/gallery/plasma/mhd/plot_01_alfven_and_magnetosonic_waves` .. raw:: html
Alfven waves and the magnetosonic wave-speed diagram
.. raw:: html
.. only:: html .. image:: /api/gallery/plasma/mhd/images/thumb/sphx_glr_plot_02_sweet_parker_reconnection_thumb.png :alt: :doc:`/api/gallery/plasma/mhd/plot_02_sweet_parker_reconnection` .. raw:: html
The Sweet-Parker reconnection-rate bottleneck
.. raw:: html
.. only:: html .. image:: /api/gallery/plasma/mhd/images/thumb/sphx_glr_plot_03_grad_shafranov_equilibrium_thumb.png :alt: :doc:`/api/gallery/plasma/mhd/plot_03_grad_shafranov_equilibrium` .. raw:: html
Solving the Grad-Shafranov equation for nested flux surfaces
.. raw:: html
.. only:: html .. image:: /api/gallery/plasma/mhd/images/thumb/sphx_glr_plot_04_petschek_reconnection_thumb.png :alt: :doc:`/api/gallery/plasma/mhd/plot_04_petschek_reconnection` .. raw:: html
Petschek vs. Sweet-Parker reconnection
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /api/gallery/plasma/mhd/plot_01_alfven_and_magnetosonic_waves /api/gallery/plasma/mhd/plot_02_sweet_parker_reconnection /api/gallery/plasma/mhd/plot_03_grad_shafranov_equilibrium /api/gallery/plasma/mhd/plot_04_petschek_reconnection