Go to the documentation of this file.
37 #ifndef multiphaseSystem_H
38 #define multiphaseSystem_H
40 #include "phaseSystem.H"
42 #include "phasePairKey.H"
53 class multiphaseSystem
134 virtual void solve();
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const compressionFluxTable & limitedPhiAlphas() const
Access to compression fluxes for phaes.
virtual ~multiphaseSystem()=default
Destructor.
void calculateSuSp()
Calculate Sp and Su.
void solve()
Solve for the mixture phase-fractions.
UPtrList< phaseModel > phases_
Unallocated phase list.
Incompressible multi-phase mixture with built in solution for the phase fractions with interface comp...
HashTable< scalar, phasePairKey, phasePairKey::hash > scalarTable
const phaseModel & phase(const label i) const
Constant access phase model i.
SuSpTable Su_
Su phase source terms.
scalar maxDiffNo() const
Maximum diffusion number.
dimensionedScalar ddtAlphaMax() const
Access to ddtAlphaMax.
SuSpTable & Sp()
Access Sp.
SuSpTable Sp_
Sp phase source terms.
bool read()
Read base transportProperties dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
compressionFluxTable limitedPhiAlphas_
Compression fluxed for phases.
Mesh data needed to do the Finite Volume discretisation.
const PtrDictionary< phaseModel > & phases() const
Return the phases.
static autoPtr< multiphaseSystem > New(const fvMesh &mesh)
HashTable< volScalarField::Internal > SuSpTable
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
dimensionedScalar ddtAlphaMax_
Maximum volumen rate change.
declareRunTimeSelectionTable(autoPtr, multiphaseSystem, dictionary,(const fvMesh &mesh),(mesh))
scalarTable cAlphas_
Table for compression factors between phases.
SuSpTable & Su()
Access Su.
TypeName("multiphaseSystem")
Runtime type information.
multiphaseSystem(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
HashTable< surfaceScalarField > compressionFluxTable