37 #ifndef multiphaseSystem_H 38 #define multiphaseSystem_H 42 #include "phasePairKey.H" 48 namespace multiphaseInter
135 virtual void solve();
const fvMesh & mesh() const
Return mesh.
UPtrList< phaseModel > phases_
Unallocated phase list.
HashTable< scalar, phasePairKey, phasePairKey::hash > scalarTable
virtual bool read()
Read thermophysical properties dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual ~multiphaseSystem()=default
Destructor.
SuSpTable & Sp()
Access Sp.
HashTable< surfaceScalarField > compressionFluxTable
declareRunTimeSelectionTable(autoPtr, multiphaseSystem, dictionary,(const fvMesh &mesh),(mesh))
SuSpTable & Su()
Access Su.
void solveAlphas()
Solve alphas.
virtual void solve()
Solve for the phase fractions.
multiphaseSystem(const fvMesh &)
Construct from fvMesh.
const phaseModel & phase(const label i) const
Constant access phase model i.
dimensionedScalar ddtAlphaMax() const
Access to ddtAlphaMax.
TypeName("multiphaseSystem")
Runtime type information.
const compressionFluxTable & limitedPhiAlphas() const
Access to compression fluxes for phaes.
dimensionedScalar ddtAlphaMax_
Maximum volumen rate change.
scalarTable cAlphas_
Table for compression factors between phases.
SuSpTable Su_
Su phase source terms.
compressionFluxTable limitedPhiAlphas_
Compression fluxed for phases.
SuSpTable Sp_
Sp phase source terms.
HashTable< volScalarField::Internal > SuSpTable
Mesh data needed to do the Finite Volume discretisation.
scalar maxDiffNo() const
Maximum diffusion number.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
const UPtrList< phaseModel > & phases() const
Return phases.
static autoPtr< multiphaseSystem > New(const fvMesh &mesh)
void calculateSuSp()
Calculate Sp and Su.