Skip to main content

Module ideal

Module ideal 

Source

Functionsยง

alfven_speed_kernel
Calculates the characteristic speed of Alfven waves. $$ v_A = \frac{B}{\sqrt{\mu_0 \rho}} $$
ideal_induction_kernel
Calculates the time evolution of the magnetic field (Frozen-in flux). $$ \frac{\partial \mathbf{B}}{\partial t} = \nabla \times (\mathbf{v} \times \mathbf{B}) $$
magnetic_pressure_kernel
Calculates magnetic pressure. $$ P_B = \frac{B^2}{2\mu_0} $$