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

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

Functions/Subroutines

impure subroutine, public s_initialize_mhd_powell_module
 
subroutine, public 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 s_finalize_mhd_powell_module
 

Variables

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

Detailed Description

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

Function/Subroutine Documentation

◆ s_compute_mhd_powell_rhs()

subroutine, public m_mhd::s_compute_mhd_powell_rhs ( type(scalar_field), dimension(sys_size), intent(in) q_prim_vf,
type(scalar_field), dimension(sys_size), intent(inout) 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.

Parameters
q_prim_vfPrimitive variables
rhs_vfrhs variables

◆ s_finalize_mhd_powell_module()

impure subroutine, public m_mhd::s_finalize_mhd_powell_module
Here is the caller graph for this function:

◆ s_initialize_mhd_powell_module()

impure subroutine, public m_mhd::s_initialize_mhd_powell_module
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ du_dx_mhd

real(wp), dimension(:, :, :), allocatable m_mhd::du_dx_mhd

◆ du_dy_mhd

real(wp), dimension(:, :, :), allocatable m_mhd::du_dy_mhd

◆ du_dz_mhd

real(wp), dimension(:, :, :), allocatable m_mhd::du_dz_mhd

◆ dv_dx_mhd

real(wp), dimension(:, :, :), allocatable m_mhd::dv_dx_mhd

◆ dv_dy_mhd

real(wp), dimension(:, :, :), allocatable m_mhd::dv_dy_mhd

◆ dv_dz_mhd

real(wp), dimension(:, :, :), allocatable m_mhd::dv_dz_mhd

◆ dw_dx_mhd

real(wp), dimension(:, :, :), allocatable m_mhd::dw_dx_mhd

◆ dw_dy_mhd

real(wp), dimension(:, :, :), allocatable m_mhd::dw_dy_mhd

◆ dw_dz_mhd

real(wp), dimension(:, :, :), allocatable m_mhd::dw_dz_mhd

◆ fd_coeff_x_h

real(wp), dimension(:, :), allocatable m_mhd::fd_coeff_x_h

◆ fd_coeff_y_h

real(wp), dimension(:, :), allocatable m_mhd::fd_coeff_y_h

◆ fd_coeff_z_h

real(wp), dimension(:, :), allocatable m_mhd::fd_coeff_z_h