37#ifndef multiphaseSystem_H
38#define multiphaseSystem_H
42#include "phasePairKey.H"
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.
multiphaseInterSystem(const fvMesh &mesh)
Construct from fvMesh.
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 phaseModel & phase(const label i) const
Constant access phase model i.
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.
multiphaseSystem(const fvMesh &)
Construct from fvMesh.
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.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
#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.