|
MFC: Simulation
High-fidelity multiphase flow simulation
|
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 |
This module is used to compute source terms for magnetohydrodynamics Note: not applicable for 1D.
| 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.
| q_prim_vf | Primitive variables |
| rhs_vf | rhs variables |
| impure subroutine, public m_mhd::s_finalize_mhd_powell_module |
| impure subroutine, public m_mhd::s_initialize_mhd_powell_module |
| 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 |