|
MFC: Simulation
High-fidelity multiphase flow simulation
|
The module contains the subroutines used to perform pressure relaxation for multi-component flows using the 6-equation model. This includes volume fraction correction, Newton-Raphson pressure equilibration, and internal energy correction to maintain thermodynamic consistency. More...
Functions/Subroutines | |
| impure subroutine, public | s_initialize_pressure_relaxation_module |
| Initialize the pressure relaxation module. | |
| impure subroutine, public | s_finalize_pressure_relaxation_module |
| Finalize the pressure relaxation module. | |
| subroutine, public | s_pressure_relaxation_procedure (q_cons_vf) |
| The main pressure relaxation procedure. | |
| subroutine | s_relax_cell_pressure (q_cons_vf, j, k, l) |
| Process pressure relaxation for a single cell. | |
| logical function | s_needs_pressure_relaxation (q_cons_vf, j, k, l) |
| Check if pressure relaxation is needed for this cell. | |
| subroutine | s_correct_volume_fractions (q_cons_vf, j, k, l) |
| Correct volume fractions to physical bounds. | |
| subroutine | s_equilibrate_pressure (q_cons_vf, j, k, l) |
| Main pressure equilibration using Newton-Raphson. | |
| subroutine | s_correct_internal_energies (q_cons_vf, j, k, l) |
| Correct internal energies using equilibrated pressure. | |
Variables | |
| real(wp), dimension(:, :), allocatable | res_pr |
The module contains the subroutines used to perform pressure relaxation for multi-component flows using the 6-equation model. This includes volume fraction correction, Newton-Raphson pressure equilibration, and internal energy correction to maintain thermodynamic consistency.
| subroutine m_pressure_relaxation::s_correct_internal_energies | ( | type(scalar_field), dimension(sys_size), intent(inout) | q_cons_vf, |
| integer, intent(in) | j, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l ) |
Correct internal energies using equilibrated pressure.
| subroutine m_pressure_relaxation::s_correct_volume_fractions | ( | type(scalar_field), dimension(sys_size), intent(inout) | q_cons_vf, |
| integer, intent(in) | j, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l ) |
Correct volume fractions to physical bounds.
| subroutine m_pressure_relaxation::s_equilibrate_pressure | ( | type(scalar_field), dimension(sys_size), intent(inout) | q_cons_vf, |
| integer, intent(in) | j, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l ) |
Main pressure equilibration using Newton-Raphson.
| impure subroutine, public m_pressure_relaxation::s_finalize_pressure_relaxation_module |
Finalize the pressure relaxation module.
| impure subroutine, public m_pressure_relaxation::s_initialize_pressure_relaxation_module |
Initialize the pressure relaxation module.
| logical function m_pressure_relaxation::s_needs_pressure_relaxation | ( | type(scalar_field), dimension(sys_size), intent(in) | q_cons_vf, |
| integer, intent(in) | j, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l ) |
Check if pressure relaxation is needed for this cell.
| subroutine, public m_pressure_relaxation::s_pressure_relaxation_procedure | ( | type(scalar_field), dimension(sys_size), intent(inout) | q_cons_vf | ) |
The main pressure relaxation procedure.
| q_cons_vf | Cell-average conservative variables |
| subroutine m_pressure_relaxation::s_relax_cell_pressure | ( | type(scalar_field), dimension(sys_size), intent(inout) | q_cons_vf, |
| integer, intent(in) | j, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l ) |
Process pressure relaxation for a single cell.
| real(wp), dimension(:, :), allocatable m_pressure_relaxation::res_pr |