MFC: Simulation
High-fidelity multiphase flow simulation
Loading...
Searching...
No Matches
m_mhd.fpp.f90 File Reference

Modules

module  m_mhd
 This module is used to compute source terms for magnetohydrodynamics Note: not applicable for 1D.
 

Functions/Subroutines

impure subroutine, public m_mhd::s_initialize_mhd_powell_module
 
subroutine, public m_mhd::s_compute_mhd_powell_rhs (q_prim_vf, rhs_vf)
 Compute the Powell source term to correct the magnetic field divergence. The Powell source term is: S = - (divB) [ 0, Bx, By, Bz, vdotB, vx, vy, vz ]^T.
 
impure subroutine, public m_mhd::s_finalize_mhd_powell_module
 

Variables

real(wp), dimension(:, :, :), allocatable m_mhd::du_dx_mhd
 
real(wp), dimension(:, :, :), allocatable m_mhd::du_dy_mhd
 
real(wp), dimension(:, :, :), allocatable m_mhd::du_dz_mhd
 
real(wp), dimension(:, :, :), allocatable m_mhd::dv_dx_mhd
 
real(wp), dimension(:, :, :), allocatable m_mhd::dv_dy_mhd
 
real(wp), dimension(:, :, :), allocatable m_mhd::dv_dz_mhd
 
real(wp), dimension(:, :, :), allocatable m_mhd::dw_dx_mhd
 
real(wp), dimension(:, :, :), allocatable m_mhd::dw_dy_mhd
 
real(wp), dimension(:, :, :), allocatable m_mhd::dw_dz_mhd
 
real(wp), dimension(:, :), allocatable m_mhd::fd_coeff_x_h
 
real(wp), dimension(:, :), allocatable m_mhd::fd_coeff_y_h
 
real(wp), dimension(:, :), allocatable m_mhd::fd_coeff_z_h