MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_bubbles_ee Module Reference

Computes ensemble-averaged (Euler–Euler) bubble source terms for radius, velocity, pressure, and mass transfer. More...

Functions/Subroutines

impure subroutine s_initialize_bubbles_ee_module
 Allocates and initializes arrays for the Euler-Euler bubble model.
subroutine s_comp_alpha_from_n (q_cons_vf)
 Computes the bubble volume fraction alpha from the bubble number density.
subroutine s_compute_bubbles_ee_rhs (idir, q_prim_vf, divu_in)
 Compute the right-hand side for Euler-Euler bubble transport.
impure subroutine s_compute_bubble_ee_source (q_cons_vf, q_prim_vf, rhs_vf, divu_in)
 The purpose of this procedure is to compute the source terms that are needed for the bubble modeling.

Variables

real(wp), dimension(:, :, :), allocatable bub_adv_src
real(wp), dimension(:, :, :, :), allocatable bub_r_src
real(wp), dimension(:, :, :, :), allocatable bub_v_src
real(wp), dimension(:, :, :, :), allocatable bub_p_src
real(wp), dimension(:, :, :, :), allocatable bub_m_src
type(scalar_fielddivu
 matrix for div(u)
integer, dimension(:), allocatable rs
integer, dimension(:), allocatable vs
integer, dimension(:), allocatable ms
integer, dimension(:), allocatable ps

Detailed Description

Computes ensemble-averaged (Euler–Euler) bubble source terms for radius, velocity, pressure, and mass transfer.

Function/Subroutine Documentation

◆ s_comp_alpha_from_n()

subroutine m_bubbles_ee::s_comp_alpha_from_n ( type(scalar_field), dimension(sys_size), intent(inout) q_cons_vf)

Computes the bubble volume fraction alpha from the bubble number density.

Parameters
q_cons_vfis the conservative variable

Definition at line 786 of file m_bubbles_EE.fpp.f90.

◆ s_compute_bubble_ee_source()

impure subroutine m_bubbles_ee::s_compute_bubble_ee_source ( type(scalar_field), dimension(sys_size), intent(inout) q_cons_vf,
type(scalar_field), dimension(sys_size), intent(in) q_prim_vf,
type(scalar_field), dimension(sys_size), intent(inout) rhs_vf,
type(scalar_field), intent(in) divu_in )

The purpose of this procedure is to compute the source terms that are needed for the bubble modeling.

Parameters
q_prim_vfPrimitive variables
q_cons_vfConservative variables
rhs_vfRight-hand side variables
[in]divu_inmatrix for div(u)

Definition at line 1038 of file m_bubbles_EE.fpp.f90.

◆ s_compute_bubbles_ee_rhs()

subroutine m_bubbles_ee::s_compute_bubbles_ee_rhs ( integer, intent(in) idir,
type(scalar_field), dimension(sys_size), intent(in) q_prim_vf,
type(scalar_field), intent(inout) divu_in )

Compute the right-hand side for Euler-Euler bubble transport.

Parameters
idirDirection index
q_prim_vfPrimitive variables
[in,out]divu_inmatrix for div(u)

Definition at line 859 of file m_bubbles_EE.fpp.f90.

◆ s_initialize_bubbles_ee_module()

impure subroutine m_bubbles_ee::s_initialize_bubbles_ee_module

Allocates and initializes arrays for the Euler-Euler bubble model.

Definition at line 351 of file m_bubbles_EE.fpp.f90.

Here is the caller graph for this function:

Variable Documentation

◆ bub_adv_src

real(wp), dimension(:, :, :), allocatable m_bubbles_ee::bub_adv_src

Definition at line 308 of file m_bubbles_EE.fpp.f90.

◆ bub_m_src

real(wp), dimension(:, :, :, :), allocatable m_bubbles_ee::bub_m_src

Definition at line 309 of file m_bubbles_EE.fpp.f90.

◆ bub_p_src

real(wp), dimension(:, :, :, :), allocatable m_bubbles_ee::bub_p_src

Definition at line 309 of file m_bubbles_EE.fpp.f90.

◆ bub_r_src

real(wp), dimension(:, :, :, :), allocatable m_bubbles_ee::bub_r_src

Definition at line 309 of file m_bubbles_EE.fpp.f90.

◆ bub_v_src

real(wp), dimension(:, :, :, :), allocatable m_bubbles_ee::bub_v_src

Definition at line 309 of file m_bubbles_EE.fpp.f90.

◆ divu

type(scalar_field) m_bubbles_ee::divu

matrix for div(u)

Definition at line 322 of file m_bubbles_EE.fpp.f90.

◆ ms

integer, dimension(:), allocatable m_bubbles_ee::ms

Definition at line 335 of file m_bubbles_EE.fpp.f90.

◆ ps

integer, dimension(:), allocatable m_bubbles_ee::ps

Definition at line 335 of file m_bubbles_EE.fpp.f90.

◆ rs

integer, dimension(:), allocatable m_bubbles_ee::rs

Definition at line 335 of file m_bubbles_EE.fpp.f90.

◆ vs

integer, dimension(:), allocatable m_bubbles_ee::vs

Definition at line 335 of file m_bubbles_EE.fpp.f90.