MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_qbmm.fpp.f90 File Reference

Contains module m_qbmm. More...

Go to the source code of this file.

Modules

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

Functions/Subroutines

impure subroutine, public m_qbmm::s_initialize_qbmm_module
 Allocates and initializes moment coefficient arrays for the QBMM module.
subroutine, public m_qbmm::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 m_qbmm::s_coeff_nonpoly (pres, rho, c, coeffs)
 Builds the coefficient array for the non-polytropic bubble model.
subroutine, public m_qbmm::s_coeff (pres, rho, c, coeffs)
 Builds the coefficient array for the polytropic bubble model.
subroutine, public m_qbmm::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.
subroutine s_coeff_selector (pres, rho, c, coeff, polytropic)
 Selects the polytropic or non-polytropic coefficient routine.
subroutine s_chyqmom (momin, wght, abscx, abscy)
 Performs conditional hyperbolic QMOM (CHyQMOM) inversion for bivariate moments.
subroutine s_hyqmom (frho, fup, fmom)
 Performs hyperbolic QMOM (HyQMOM) inversion for univariate moments.
real(wp) function f_quad (abscx, abscy, wght_in, q, r, s)
 Evaluates a weighted quadrature sum over all bubble size bins and nodes.
real(wp) function f_quad2d (abscx, abscy, wght_in, pow)
 Evaluates a weighted 2D quadrature sum over quadrature nodes for a single size bin.

Variables

real(wp), dimension(:, :, :, :, :), allocatable m_qbmm::momrhs
integer m_qbmm::nterms
type(int_bounds_infom_qbmm::is1_qbmm
type(int_bounds_infom_qbmm::is2_qbmm
type(int_bounds_infom_qbmm::is3_qbmm
integer, dimension(:), allocatable m_qbmm::bubrs_qbmm
integer, dimension(:, :), allocatable m_qbmm::bubmoms

Detailed Description

Contains module m_qbmm.

Definition in file m_qbmm.fpp.f90.

Function/Subroutine Documentation

◆ f_quad()

real(wp) function s_mom_inv::f_quad ( real(wp), dimension(nnode, nb), intent(in) abscx,
real(wp), dimension(nnode, nb), intent(in) abscy,
real(wp), dimension(nnode, nb), intent(in) wght_in,
real(wp), intent(in) q,
real(wp), intent(in) r,
real(wp), intent(in) s )
private

Evaluates a weighted quadrature sum over all bubble size bins and nodes.

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

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

◆ f_quad2d()

real(wp) function s_mom_inv::f_quad2d ( real(wp), dimension(nnode), intent(in) abscx,
real(wp), dimension(nnode), intent(in) abscy,
real(wp), dimension(nnode), intent(in) wght_in,
real(wp), dimension(3), intent(in) pow )
private

Evaluates a weighted 2D quadrature sum over quadrature nodes for a single size bin.

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

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

◆ s_chyqmom()

subroutine s_mom_inv::s_chyqmom ( real(wp), dimension(nmom), intent(in) momin,
real(wp), dimension(nnode), intent(inout) wght,
real(wp), dimension(nnode), intent(inout) abscx,
real(wp), dimension(nnode), intent(inout) abscy )
private

Performs conditional hyperbolic QMOM (CHyQMOM) inversion for bivariate moments.

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

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

◆ s_coeff_selector()

subroutine s_mom_inv::s_coeff_selector ( 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) coeff,
logical, intent(in) polytropic )
private

Selects the polytropic or non-polytropic coefficient routine.

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

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

◆ s_hyqmom()

subroutine s_mom_inv::s_hyqmom ( real(wp), dimension(2), intent(inout) frho,
real(wp), dimension(2), intent(inout) fup,
real(wp), dimension(3), intent(in) fmom )
private

Performs hyperbolic QMOM (HyQMOM) inversion for univariate moments.

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

Here is the caller graph for this function: