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

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
 

Detailed Description

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.

Function/Subroutine Documentation

◆ s_correct_internal_energies()

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.

Here is the caller graph for this function:

◆ s_correct_volume_fractions()

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.

Here is the caller graph for this function:

◆ s_equilibrate_pressure()

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.

Here is the caller graph for this function:

◆ s_finalize_pressure_relaxation_module()

impure subroutine, public m_pressure_relaxation::s_finalize_pressure_relaxation_module

Finalize the pressure relaxation module.

◆ s_initialize_pressure_relaxation_module()

impure subroutine, public m_pressure_relaxation::s_initialize_pressure_relaxation_module

Initialize the pressure relaxation module.

◆ s_needs_pressure_relaxation()

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ s_pressure_relaxation_procedure()

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.

Parameters
q_cons_vfCell-average conservative variables
Here is the call graph for this function:

◆ s_relax_cell_pressure()

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.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ res_pr

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