MFC: Simulation
High-fidelity multiphase flow simulation
Loading...
Searching...
No Matches
m_pressure_relaxation.fpp.f90 File Reference

Modules

module  m_pressure_relaxation
 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.
 

Functions/Subroutines

impure subroutine, public m_pressure_relaxation::s_initialize_pressure_relaxation_module
 Initialize the pressure relaxation module.
 
impure subroutine, public m_pressure_relaxation::s_finalize_pressure_relaxation_module
 Finalize the pressure relaxation module.
 
subroutine, public m_pressure_relaxation::s_pressure_relaxation_procedure (q_cons_vf)
 The main pressure relaxation procedure.
 
subroutine m_pressure_relaxation::s_relax_cell_pressure (q_cons_vf, j, k, l)
 Process pressure relaxation for a single cell.
 
logical function m_pressure_relaxation::s_needs_pressure_relaxation (q_cons_vf, j, k, l)
 Check if pressure relaxation is needed for this cell.
 
subroutine m_pressure_relaxation::s_correct_volume_fractions (q_cons_vf, j, k, l)
 Correct volume fractions to physical bounds.
 
subroutine m_pressure_relaxation::s_equilibrate_pressure (q_cons_vf, j, k, l)
 Main pressure equilibration using Newton-Raphson.
 
subroutine m_pressure_relaxation::s_correct_internal_energies (q_cons_vf, j, k, l)
 Correct internal energies using equilibrated pressure.
 

Variables

real(wp), dimension(:, :), allocatable m_pressure_relaxation::res_pr