|
MFC
Exascale flow solver
|
Phase transition relaxation solvers for liquid-vapor flows with cavitation and boiling. More...
Functions/Subroutines | |
| impure subroutine, public | s_relaxation_solver (q_cons_vf) |
| Dispatch to the correct relaxation solver. Replaces the procedure pointer, which CCE is breaking on. | |
| impure subroutine, public | s_initialize_phasechange_module |
| Initialize the phase change module by setting saturation curve coefficients for pT- or pTg-equilibrium. | |
| subroutine, public | s_infinite_relaxation_k (q_cons_vf) |
| Apply pT- or pTg-equilibrium relaxation with mass depletion based on the incoming state conditions. | |
| subroutine | s_infinite_pt_relaxation_k (j, k, l, mfl, ps, p_infpt, q_cons_vf, rhoe, ts) |
| Apply pT-equilibrium relaxation for N fluids. | |
| subroutine | s_infinite_ptg_relaxation_k (j, k, l, ps, p_infpt, rhoe, q_cons_vf, ts) |
| Apply pTg-equilibrium relaxation for N fluids under pT and 2 fluids under pTg-equilibrium. There is a final common p and T during relaxation. | |
| elemental subroutine | s_tsat (psat, tsat, tsin) |
| Find the saturation temperature for a given saturation pressure using a Newton solver. | |
| impure subroutine, public | s_finalize_relaxation_solver_module |
| Finalize the phase change module. | |
Variables | |
Parameters for the first order transition phase change | |
| integer, parameter | max_iter = 1e8_wp |
| max # of iterations | |
| real(wp), parameter | pcr = 4.94e7_wp |
| Critical pressure of water [Pa]. | |
| real(wp), parameter | tcr = 385.05_wp + 273.15_wp |
| Critical temperature of water [K]. | |
| real(wp), parameter | mixm = 1.0e-8_wp |
| Mixture mass fraction threshold for triggering phase change. | |
| integer, parameter | lp = 1 |
| index for the liquid phase of the reacting fluid | |
| integer, parameter | vp = 2 |
| index for the vapor phase of the reacting fluid | |
Gibbs free energy phase change parameters | |
| real(wp) | a |
| real(wp) | b |
| real(wp) | c |
| real(wp) | d |
Phase transition relaxation solvers for liquid-vapor flows with cavitation and boiling.
| impure subroutine, public m_phase_change::s_finalize_relaxation_solver_module |
Finalize the phase change module.
Definition at line 1179 of file m_phase_change.fpp.f90.
|
private |
Apply pT-equilibrium relaxation for N fluids.
| MFL | flag: 0=gas, 1=liquid, 2=mixture |
Definition at line 657 of file m_phase_change.fpp.f90.
|
private |
Apply pTg-equilibrium relaxation for N fluids under pT and 2 fluids under pTg-equilibrium. There is a final common p and T during relaxation.
Generic loop iterators
Definition at line 808 of file m_phase_change.fpp.f90.
| subroutine, public m_phase_change::s_infinite_relaxation_k | ( | type(scalar_field), dimension(sys_size), intent(inout) | q_cons_vf | ) |
Apply pT- or pTg-equilibrium relaxation with mass depletion based on the incoming state conditions.
Generic loop iterators
Definition at line 403 of file m_phase_change.fpp.f90.
| impure subroutine, public m_phase_change::s_initialize_phasechange_module |
Initialize the phase change module by setting saturation curve coefficients for pT- or pTg-equilibrium.
Definition at line 389 of file m_phase_change.fpp.f90.
| impure subroutine, public m_phase_change::s_relaxation_solver | ( | type(scalar_field), dimension(sys_size), intent(inout) | q_cons_vf | ) |
Dispatch to the correct relaxation solver. Replaces the procedure pointer, which CCE is breaking on.
Definition at line 373 of file m_phase_change.fpp.f90.
|
private |
Find the saturation temperature for a given saturation pressure using a Newton solver.
Definition at line 1094 of file m_phase_change.fpp.f90.
|
private |
Definition at line 355 of file m_phase_change.fpp.f90.
|
private |
Definition at line 355 of file m_phase_change.fpp.f90.
|
private |
Definition at line 355 of file m_phase_change.fpp.f90.
|
private |
Definition at line 355 of file m_phase_change.fpp.f90.
|
private |
index for the liquid phase of the reacting fluid
Definition at line 349 of file m_phase_change.fpp.f90.
|
private |
max # of iterations
Definition at line 345 of file m_phase_change.fpp.f90.
|
private |
Mixture mass fraction threshold for triggering phase change.
Definition at line 348 of file m_phase_change.fpp.f90.
|
private |
Critical pressure of water [Pa].
Definition at line 346 of file m_phase_change.fpp.f90.
|
private |
Critical temperature of water [K].
Definition at line 347 of file m_phase_change.fpp.f90.
|
private |
index for the vapor phase of the reacting fluid
Definition at line 350 of file m_phase_change.fpp.f90.