37#ifndef multiphaseSystem_H
38#define multiphaseSystem_H
42#include "phasePairKey.H"
48namespace multiphaseInter
135 virtual void solve();
A HashTable similar to std::unordered_map.
A list of pointers to objects of type <T>, without allocation/deallocation management of the pointers...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
const fvMesh & mesh() const
Return mesh.
declareRunTimeSelectionTable(autoPtr, multiphaseSystem, dictionary,(const fvMesh &mesh),(mesh))
dimensionedScalar ddtAlphaMax() const
Access to ddtAlphaMax.
SuSpTable & Su()
Access Su.
compressionFluxTable limitedPhiAlphas_
Compression fluxed for phases.
static autoPtr< multiphaseSystem > New(const fvMesh &mesh)
const UPtrList< phaseModel > & phases() const
Return phases.
UPtrList< phaseModel > phases_
Unallocated phase list.
scalarTable cAlphas_
Table for compression factors between phases.
const compressionFluxTable & limitedPhiAlphas() const
Access to compression fluxes for phaes.
HashTable< surfaceScalarField > compressionFluxTable
SuSpTable & Sp()
Access Sp.
HashTable< volScalarField::Internal > SuSpTable
void calculateSuSp()
Calculate Sp and Su.
dimensionedScalar ddtAlphaMax_
Maximum volumen rate change.
SuSpTable Sp_
Sp phase source terms.
HashTable< scalar, phasePairKey, phasePairKey::hash > scalarTable
scalar maxDiffNo() const
Maximum diffusion number.
SuSpTable Su_
Su phase source terms.
virtual ~multiphaseSystem()=default
Destructor.
virtual void solve()
Solve for the phase fractions.
TypeName("multiphaseSystem")
Runtime type information.
virtual bool read()
Read thermophysical properties dictionary.
void solveAlphas()
Solve alphas.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.