|
IBAMR
IBAMR version 0.19.
|
Class STSMassFluxIntegrator is an abstract class which integrates the density field. More...
#include <ibamr/STSMassFluxIntegrator.h>

Public Member Functions | |
| STSMassFluxIntegrator (std::string object_name, SAMRAI::tbox::Pointer< SAMRAI::tbox::Database > input_db) | |
| Class constructor. More... | |
| virtual | ~STSMassFluxIntegrator ()=default |
| Destructor. More... | |
| virtual void | integrate (double dt)=0 |
| Integrate density and compute the convective operator of the momentum and/or energy. More... | |
\( \frac{\partial \rho}{\partial t} + \nabla \cdot (\rho \mathbf{u}) = S(x,t) \)
and computes the conservative form of the convective operator \( \nabla \cdot (\rho \mathbf{u} \otimes \mathbf{u})\) for the momentum and \( \nabla \cdot (\rho \mathbf{u} Q)\) for the energy equation where \( Q = C_\textrm{p} T\) or \( Q = h\) based on the form of the energy equation.
The core concept behind STSMassFluxIntegrator is to obtain a consistent mass flux $\mathbf{m_\rho} = \rho \mathbf{u}$ for stabilizing high density ratio flows. It also ensures a consistency condition that:
To achieve these conditions, the time integrator scheme of STSMassFluxIntegrator is tightly coupled to how INSVCStaggeredHierarchyIntegrator or PhaseChangeHierarchyIntegrator integrate their respective variables. Note that when flow is incompressible, one does not need to solve mass balance equation. Here, we are solving a redundant mass balance equation through STSMassFluxIntegrator class in order to achieve consistency and stability.
Reference Nangia et. al, A robust incompressible Navier-Stokes solver for high density ratio multiphase flows
Thirumalaisamy and Bhalla, A low Mach enthalpy method to model non-isothermal gas-liquid-solid flows with melting and solidification
| IBAMR::STSMassFluxIntegrator::STSMassFluxIntegrator | ( | std::string | object_name, |
| SAMRAI::tbox::Pointer< SAMRAI::tbox::Database > | input_db | ||
| ) |
|
virtualdefault |
|
privatedelete |
|
privatedelete |
| from | The value to copy to this object. |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in IBAMR::INSVCStaggeredConservativeMassMomentumRKIntegrator, and IBAMR::AdvDiffConservativeMassScalarTransportRKIntegrator.
| void IBAMR::STSMassFluxIntegrator::setDensityPatchDataIndex | ( | int | rho_idx | ) |
| void IBAMR::STSMassFluxIntegrator::setConvectiveDerivativePatchDataIndex | ( | int | N_idx | ) |
| void IBAMR::STSMassFluxIntegrator::setDensityBoundaryConditions | ( | const std::vector< SAMRAI::solv::RobinBcCoefStrategy< NDIM > * > & | rho_sc_bc_coefs | ) |
| int IBAMR::STSMassFluxIntegrator::getUpdatedDensityPatchDataIndex | ( | ) |
| void IBAMR::STSMassFluxIntegrator::setFluidVelocityPatchDataIndices | ( | int | V_old_idx, |
| int | V_current_idx, | ||
| int | V_new_idx | ||
| ) |
| void IBAMR::STSMassFluxIntegrator::setCycleNumber | ( | int | cycle_num | ) |
| void IBAMR::STSMassFluxIntegrator::setSolutionTime | ( | double | solution_time | ) |
| double IBAMR::STSMassFluxIntegrator::getTimeStepSize | ( | ) | const |
| void IBAMR::STSMassFluxIntegrator::setPreviousTimeStepSize | ( | double | dt_prev | ) |
| void IBAMR::STSMassFluxIntegrator::setHierarchyMathOps | ( | SAMRAI::tbox::Pointer< IBTK::HierarchyMathOps > | hier_math_ops | ) |
| SAMRAI::tbox::Pointer<IBTK::HierarchyMathOps> IBAMR::STSMassFluxIntegrator::getHierarchyMathOps | ( | ) | const |
|
privatedelete |
| that | The value to assign to this object. |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.17