MFC: Post-Process
High-fidelity multiphase flow simulation
|
Functions/Subroutines | |
program | __m_variables_conversion_fpp_f90__ |
subroutine | s_convert_to_mixture_variables (q_vf, i, j, k, rho, gamma, pi_inf, qv, re_k, g_k, g) |
Dispatch to the s_convert_mixture_to_mixture_variables and s_convert_species_to_mixture_variables subroutines. Replaces a procedure pointer. | |
subroutine | s_compute_pressure (energy, alf, dyn_p, pi_inf, gamma, rho, qv, rhoyks, pres, t, stress, mom, g) |
This procedure conditionally calculates the appropriate pressure. | |
subroutine | s_convert_mixture_to_mixture_variables (q_vf, i, j, k, rho, gamma, pi_inf, qv, re_k, g_k, g) |
This subroutine is designed for the gamma/pi_inf model and provided a set of either conservative or primitive variables, transfers the density, specific heat ratio function and the liquid stiffness function from q_vf to rho, gamma and pi_inf. | |
subroutine | s_convert_species_to_mixture_variables_bubbles (q_vf, j, k, l, rho, gamma, pi_inf, qv, re_k, g_k, g) |
This procedure is used alongside with the gamma/pi_inf model to transfer the density, the specific heat ratio function and liquid stiffness function from the vector of conservative or primitive variables to their scalar counterparts. Specifically designed for when subgrid bubbles_euler must be included. | |
subroutine | s_convert_species_to_mixture_variables (q_vf, k, l, r, rho, gamma, pi_inf, qv, re_k, g_k, g) |
This subroutine is designed for the volume fraction model and provided a set of either conservative or primitive variables, computes the density, the specific heat ratio function and the liquid stiffness function from q_vf and stores the results into rho, gamma and pi_inf. | |
subroutine | s_convert_species_to_mixture_variables_acc (rho_k, gamma_k, pi_inf_k, qv_k, alpha_k, alpha_rho_k, re_k, k, l, r, g_k, g) |
subroutine | s_convert_species_to_mixture_variables_bubbles_acc (rho_k, gamma_k, pi_inf_k, qv_k, alpha_k, alpha_rho_k, re_k, k, l, r) |
subroutine | s_initialize_variables_conversion_module |
The computation of parameters, the allocation of memory, the association of pointers and/or the execution of any other procedures that are necessary to setup the module. | |
subroutine | s_initialize_mv (qk_cons_vf, mv) |
subroutine | s_initialize_pb (qk_cons_vf, mv, pb) |
subroutine | s_convert_conservative_to_primitive_variables (qk_cons_vf, q_t_sf, qk_prim_vf, ibounds, gm_alphak_vf) |
The following procedure handles the conversion between the conservative variables and the primitive variables. | |
subroutine | s_convert_primitive_to_conservative_variables (q_prim_vf, q_cons_vf) |
The following procedure handles the conversion between the primitive variables and the conservative variables. | |
subroutine | s_convert_primitive_to_flux_variables (qk_prim_vf, fk_vf, fk_src_vf, is1, is2, is3, s2b, s3b) |
The following subroutine handles the conversion between the primitive variables and the Eulerian flux variables. | |
subroutine | s_finalize_variables_conversion_module () |
pure subroutine | s_compute_speed_of_sound (pres, rho, gamma, pi_inf, h, adv, vel_sum, c_c, c) |
program __m_variables_conversion_fpp_f90__ |
|
private |
This procedure conditionally calculates the appropriate pressure.
energy | Energy |
alf | Void Fraction |
dyn_p | Dynamic Pressure |
pi_inf | Liquid Stiffness |
gamma | Specific Heat Ratio |
rho | Density |
qv | fluid reference energy |
pres | Pressure to calculate |
stress | Shear Stress |
mom | Momentum |
|
private |
|
private |
The following procedure handles the conversion between the conservative variables and the primitive variables.
qK_cons_vf | Conservative variables |
qK_prim_vf | Primitive variables |
gm_alphaK_vf | Gradient magnitude of the volume fraction |
ix | Index bounds in first coordinate direction |
iy | Index bounds in second coordinate direction |
iz | Index bounds in third coordinate direction |
|
private |
This subroutine is designed for the gamma/pi_inf model and provided a set of either conservative or primitive variables, transfers the density, specific heat ratio function and the liquid stiffness function from q_vf to rho, gamma and pi_inf.
q_vf | conservative or primitive variables |
i | cell index to transfer mixture variables |
j | cell index to transfer mixture variables |
k | cell index to transfer mixture variables |
rho | density |
gamma | specific heat ratio function |
pi_inf | liquid stiffness |
qv | fluid reference energy |
|
private |
The following procedure handles the conversion between the primitive variables and the conservative variables.
qK_prim_vf | Primitive variables |
qK_cons_vf | Conservative variables |
gm_alphaK_vf | Gradient magnitude of the volume fractions |
ix | Index bounds in the first coordinate direction |
iy | Index bounds in the second coordinate direction |
iz | Index bounds in the third coordinate direction |
|
private |
The following subroutine handles the conversion between the primitive variables and the Eulerian flux variables.
qK_prim_vf | Primitive variables |
FK_vf | Flux variables |
FK_src_vf | Flux source variables |
ix | Index bounds in the first coordinate direction |
iy | Index bounds in the second coordinate direction |
iz | Index bounds in the third coordinate direction |
|
private |
This subroutine is designed for the volume fraction model and provided a set of either conservative or primitive variables, computes the density, the specific heat ratio function and the liquid stiffness function from q_vf and stores the results into rho, gamma and pi_inf.
q_vf | primitive variables |
k | Cell index |
l | Cell index |
r | Cell index |
rho | density |
gamma | specific heat ratio |
pi_inf | liquid stiffness |
qv | fluid reference energy |
|
private |
|
private |
This procedure is used alongside with the gamma/pi_inf model to transfer the density, the specific heat ratio function and liquid stiffness function from the vector of conservative or primitive variables to their scalar counterparts. Specifically designed for when subgrid bubbles_euler must be included.
q_vf | primitive variables |
j | Cell index |
k | Cell index |
l | Cell index |
rho | density |
gamma | specific heat ratio |
pi_inf | liquid stiffness |
qv | fluid reference energy |
|
private |
[in] | alpha_rho_k | Partial densities and volume fractions |
subroutine __m_variables_conversion_fpp_f90__::s_convert_to_mixture_variables | ( | type(scalar_field), dimension(sys_size), intent(in) | q_vf, |
integer, intent(in) | i, | ||
integer, intent(in) | j, | ||
integer, intent(in) | k, | ||
real(wp), intent(out), target | rho, | ||
real(wp), intent(out), target | gamma, | ||
real(wp), intent(out), target | pi_inf, | ||
real(wp), intent(out), target | qv, | ||
real(wp), dimension(2), intent(out), optional | re_k, | ||
real(wp), intent(out), optional | g_k, | ||
real(wp), dimension(num_fluids), intent(in), optional | g ) |
Dispatch to the s_convert_mixture_to_mixture_variables and s_convert_species_to_mixture_variables subroutines. Replaces a procedure pointer.
q_vf | Conservative or primitive variables |
i | First-coordinate cell index |
j | First-coordinate cell index |
k | First-coordinate cell index |
rho | Density |
gamma | Specific heat ratio function |
pi_inf | Liquid stiffness function |
qv | Fluid reference energy |
|
private |
|
private |
|
private |
|
private |
The computation of parameters, the allocation of memory, the association of pointers and/or the execution of any other procedures that are necessary to setup the module.