Go to the documentation of this file.
42 #ifndef multiphaseSystem_H
43 #define multiphaseSystem_H
47 #include "phaseModel.H"
51 #include "dragModel.H"
79 public Hash<interfacePair>
94 public Hash<interfacePair>
126 friend bool operator==
139 friend bool operator!=
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...
tmp< volScalarField > rho() const
Return the mixture density.
dragModelTable dragModels_
HashTable< dictionary, interfacePair, interfacePair::symmHash > interfaceDictTable
A class for handling words, derived from string.
void solve()
Solve for the mixture phase-fractions.
tmp< surfaceScalarField > nHatf(const volScalarField &alpha1, const volScalarField &alpha2) const
tmp< surfaceScalarField > surfaceTension(const phaseModel &phase) const
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
A class for managing temporary objects.
PtrDictionary< phaseModel > phases_
Dictionary of phases.
Template dictionary class which manages the storage associated with it.
tmp< volScalarField > nearInterface() const
Indicator of the proximity of the interface.
autoPtr< dragCoeffFields > dragCoeffs() const
Return the drag coefficients for all of the interfaces.
const Type & first() const
Return first.
Incompressible multi-phase mixture with built in solution for the phase fractions with interface comp...
interfacePair(const word &alpha1Name, const word &alpha2Name)
HashPtrTable< dragModel, interfacePair, interfacePair::symmHash > dragModelTable
Dimension set for the base types.
void correct()
Dummy correct.
const dimensionedScalar deltaN_
Stabilisation for normalisation of the interface normal.
scalarCoeffSymmTable cAlphas_
interfacePair(const phaseModel &alpha1, const phaseModel &alpha2)
HashPtrTable< volScalarField, interfacePair, interfacePair::symmHash > dragCoeffFields
Hash function class for primitives. All non-primitives used to hash entries on hash tables likely nee...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
virtual ~multiphaseSystem()
Destructor.
scalarCoeffSymmTable sigmas_
tmp< surfaceVectorField > nHatfv(const volScalarField &alpha1, const volScalarField &alpha2) const
label operator()(const interfacePair &key) const
const Type & second() const
Return second.
bool read()
Read base transportProperties dictionary.
HashTable< scalar, interfacePair, interfacePair::symmHash > scalarCoeffSymmTable
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
PtrDictionary< phaseModel > & phases()
Return the phases.
Base-class for all transport models used by the incompressible turbulence models.
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.
void correctContactAngle(const phaseModel &alpha1, const phaseModel &alpha2, surfaceVectorField::GeometricBoundaryField &nHatb) const
const word & name() const
Name function is needed to disambiguate those inherited.
An ordered pair of two objects of type <T> with first() and second() elements.
HashTable< scalar, interfacePair, interfacePair::hash > scalarCoeffTable
const PtrDictionary< phaseModel > & phases() const
Return the phases.
label operator()(const interfacePair &key) const
const dragModelTable & dragModels() const
Return the table of drag models.
tmp< volScalarField > Cvm(const phaseModel &phase) const
Return the virtual-mass coefficient for the given phase.
const surfaceScalarField & phi_
tmp< volScalarField > dragCoeff(const phaseModel &phase, const dragCoeffFields &dragCoeffs) const
Return the sum of the drag coefficients for the given phase.
Generic GeometricField class.
tmp< volScalarField > nu() const
Return the mixture laminar viscosity.
tmp< volVectorField > Svm(const phaseModel &phase) const
Return the virtual-mass source for the given phase.
multiphaseSystem(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
static const scalar convertToRad
Conversion factor for degrees into radians.
tmp< volScalarField > K(const phaseModel &alpha1, const phaseModel &alpha2) const