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

Quadrature-based moment methods (QBMM) for polydisperse bubble moment inversion and transport. More...

Functions/Subroutines

impure subroutine, public s_initialize_qbmm_module
 Allocates and initializes moment coefficient arrays for the QBMM module.
subroutine, public s_compute_qbmm_rhs (idir, q_cons_vf, q_prim_vf, rhs_vf, flux_n_vf, pb, rhs_pb)
 Computes the QBMM right-hand side source terms for bubble moment transport equations.
subroutine s_coeff_nonpoly (pres, rho, c, coeffs)
 Builds the coefficient array for the non-polytropic bubble model.
subroutine, public s_coeff (pres, rho, c, coeffs)
 Builds the coefficient array for the polytropic bubble model.
subroutine, public s_mom_inv (q_cons_vf, q_prim_vf, momsp, moms3d, pb, rhs_pb, mv, rhs_mv, ix, iy, iz)
 Performs moment inversion to recover quadrature weights and abscissas and evaluates bubble source terms.

Variables

real(wp), dimension(:, :, :, :, :), allocatable momrhs
integer nterms
type(int_bounds_infois1_qbmm
type(int_bounds_infois2_qbmm
type(int_bounds_infois3_qbmm
integer, dimension(:), allocatable bubrs_qbmm
integer, dimension(:, :), allocatable bubmoms

Detailed Description

Quadrature-based moment methods (QBMM) for polydisperse bubble moment inversion and transport.

Function/Subroutine Documentation

◆ s_coeff()

subroutine, public m_qbmm::s_coeff ( real(wp), intent(in) pres,
real(wp), intent(in) rho,
real(wp), intent(in) c,
real(wp), dimension(nterms, 0:2, 0:2), intent(out) coeffs )

Builds the coefficient array for the polytropic bubble model.

Definition at line 1248 of file m_qbmm.fpp.f90.

Here is the caller graph for this function:

◆ s_coeff_nonpoly()

subroutine m_qbmm::s_coeff_nonpoly ( real(wp), intent(in) pres,
real(wp), intent(in) rho,
real(wp), intent(in) c,
real(wp), dimension(nterms, 0:2, 0:2), intent(out) coeffs )

Builds the coefficient array for the non-polytropic bubble model.

Definition at line 1137 of file m_qbmm.fpp.f90.

Here is the caller graph for this function:

◆ s_compute_qbmm_rhs()

subroutine, public m_qbmm::s_compute_qbmm_rhs ( integer, intent(in) idir,
type(scalar_field), dimension(sys_size), intent(in) 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), dimension(sys_size), intent(in) flux_n_vf,
real(stp), dimension(idwbuff(1)%beg:, idwbuff(2)%beg:, idwbuff(3)%beg:, 1:, 1:), intent(inout) pb,
real(wp), dimension(idwbuff(1)%beg:, idwbuff(2)%beg:, idwbuff(3)%beg:, 1:, 1:), intent(inout) rhs_pb )

Computes the QBMM right-hand side source terms for bubble moment transport equations.

Definition at line 896 of file m_qbmm.fpp.f90.

◆ s_initialize_qbmm_module()

impure subroutine, public m_qbmm::s_initialize_qbmm_module

Allocates and initializes moment coefficient arrays for the QBMM module.

Definition at line 381 of file m_qbmm.fpp.f90.

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

◆ s_mom_inv()

subroutine, public m_qbmm::s_mom_inv ( type(scalar_field), dimension(:), intent(inout) q_cons_vf,
type(scalar_field), dimension(:), intent(inout) q_prim_vf,
type(scalar_field), dimension(:), intent(inout) momsp,
type(scalar_field), dimension(0:, 0:, :), intent(inout) moms3d,
real(stp), dimension(idwbuff(1)%beg:, idwbuff(2)%beg:, idwbuff(3)%beg:, 1:, 1:), intent(inout) pb,
real(wp), dimension(idwbuff(1)%beg:, idwbuff(2)%beg:, idwbuff(3)%beg:, 1:, 1:), intent(inout) rhs_pb,
real(stp), dimension(idwbuff(1)%beg:, idwbuff(2)%beg:, idwbuff(3)%beg:, 1:, 1:), intent(inout) mv,
real(wp), dimension(idwbuff(1)%beg:, idwbuff(2)%beg:, idwbuff(3)%beg:, 1:, 1:), intent(inout) rhs_mv,
type(int_bounds_info), intent(in) ix,
type(int_bounds_info), intent(in) iy,
type(int_bounds_info), intent(in) iz )

Performs moment inversion to recover quadrature weights and abscissas and evaluates bubble source terms.

Definition at line 1349 of file m_qbmm.fpp.f90.

Here is the call graph for this function:

Variable Documentation

◆ bubmoms

integer, dimension(:, :), allocatable m_qbmm::bubmoms

Definition at line 365 of file m_qbmm.fpp.f90.

◆ bubrs_qbmm

integer, dimension(:), allocatable m_qbmm::bubrs_qbmm

Definition at line 364 of file m_qbmm.fpp.f90.

◆ is1_qbmm

type(int_bounds_info) m_qbmm::is1_qbmm

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

◆ is2_qbmm

type(int_bounds_info) m_qbmm::is2_qbmm

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

◆ is3_qbmm

type(int_bounds_info) m_qbmm::is3_qbmm

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

◆ momrhs

real(wp), dimension(:, :, :, :, :), allocatable m_qbmm::momrhs

Definition at line 323 of file m_qbmm.fpp.f90.

◆ nterms

integer m_qbmm::nterms

Definition at line 337 of file m_qbmm.fpp.f90.