Go to the documentation of this file.
41 #include "phaseModel.H"
42 #include "phasePair.H"
43 #include "orderedPhasePair.H"
60 template <
class modelType>
class BlendedInterfacialModel;
61 class surfaceTensionModel;
62 class aspectRatioModel;
210 template<
class modelType>
223 template<
class modelType>
226 const word& modelName,
236 template<
class modelType>
239 const word& modelName,
249 template<
class modelType>
252 const word& modelName,
326 template <
class modelType>
330 template <
class modelType>
338 virtual void solve();
phaseModelList phaseModels_
Phase models.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
HashTable< autoPtr< phasePair >, phasePairKey, phasePairKey::hash > phasePairTable
A class for handling words, derived from string.
fv::options fvOptions_
Optional FV-options.
IOMRFZoneList MRF_
Optional MRF zones.
surfaceTensionModelTable surfaceTensionModels_
Surface tension models.
A class for managing temporary objects.
virtual void correctKinematics()
Correct the kinematics.
HashPtrTable< fvScalarMatrix, word, string::hash > heatTransferTable
tmp< surfaceScalarField > calcPhi(const phaseModelList &phaseModels) const
Calculate and return the mixture flux.
phaseSystem(const fvMesh &mesh)
Construct from fvMesh.
virtual bool read()
Read base phaseProperties dictionary.
void createSubModels(const dictTable &modelDicts, HashTable< autoPtr< modelType >, phasePairKey, phasePairKey::hash > &models)
Generate pairs and sub-model tables.
blendingMethodTable blendingMethods_
Blending methods.
Forward declarations of fvMatrix specializations.
const fvMesh & mesh_
Reference to the mesh.
static const word propertiesName
Default name of the phase properties dictionary.
tmp< volScalarField > rho() const
Return the mixture density.
HashTable< autoPtr< aspectRatioModel >, phasePairKey, phasePairKey::hash > aspectRatioModelTable
HashTable< dictionary, phasePairKey, phasePairKey::hash > dictTable
HashPtrTable< fvScalarMatrix, word, string::hash > massTransferTable
virtual void correct()
Correct the fluid properties other than the thermo and turbulence.
virtual void solve()
Solve for the phase fractions.
fvMatrix< vector > fvVectorMatrix
fvMatrix< scalar > fvScalarMatrix
surfaceScalarField phi_
Total volumetric flux.
virtual void correctEnergyTransport()
Correct the energy transport e.g. alphat.
void generatePairsAndSubModels(const word &modelName, HashTable< autoPtr< modelType >, phasePairKey, phasePairKey::hash > &models)
Generate pairs and sub-model tables.
virtual ~phaseSystem()
Destructor.
HashTable< autoPtr< blendingMethod >, word, word::hash > blendingMethodTable
GeometricField< scalar, fvPatchField, volMesh > volScalarField
fv::options & fvOptions() const
Optional FV-options.
const phaseModelList & phases() const
Constant access the phase models.
const volScalarField & dpdt() const
Constant access the rate of change of the pressure.
HashTable< autoPtr< surfaceTensionModel >, phasePairKey, phasePairKey::hash > surfaceTensionModelTable
virtual void correctTurbulence()
Correct the turbulence.
tmp< volScalarField > E(const phasePairKey &key) const
Return the aspect-ratio.
Mesh data needed to do the Finite Volume discretisation.
HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > KdTable
const fvMesh & mesh() const
Constant access the mesh.
An STL-conforming hash table.
const phasePairTable & phasePairs() const
Constant access the phase pairs.
TypeName("phaseSystem")
Runtime type information.
tmp< volScalarField > sigma(const phasePairKey &key) const
Return the surface tension coefficient.
volScalarField dpdt_
Rate of change of pressure.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Hashing function class, shared by all the derived classes.
aspectRatioModelTable aspectRatioModels_
Aspect ratio models.
const modelType & lookupSubModel(const phasePair &key) const
Access a sub model between a phase pair.
A HashTable specialization for hashing pointers.
HashPtrTable< fvVectorMatrix, word, string::hash > momentumTransferTable
tmp< volVectorField > U() const
Return the mixture velocity.
virtual void correctThermo()
Correct the thermodynamics.
PtrListDictionary< phaseModel > phaseModelList
HashPtrTable< volScalarField, phasePairKey, phasePairKey::hash > VmTable
List of MRF zones with IO functionality. MRF zones are specified by a list of dictionary entries,...
phasePairTable phasePairs_
Phase pairs.
Class to represent a system of phases and model interfacial transfers between them.
Generic GeometricField class.
void generatePairs(const dictTable &modelDicts)
Generate pairs.
const surfaceScalarField & phi() const
Constant access the mixture flux.
const IOMRFZoneList & MRF() const
Return MRF zones.