Go to the documentation of this file.
42 #ifndef multiphaseMixture_H
43 #define multiphaseMixture_H
76 public Hash<interfacePair>
108 friend bool operator==
121 friend bool operator!=
const surfaceScalarField & rhoPhi() const
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
static const scalar convertToRad
Conversion factor for degrees into radians.
A class for handling words, derived from string.
HashTable< scalar, interfacePair, interfacePair::hash > sigmaTable
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
A class for managing temporary objects.
tmp< volScalarField > K(const phase &alpha1, const phase &alpha2) const
Template dictionary class which manages the storage associated with it.
multiphaseMixture(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
void correct()
Correct the mixture properties.
Incompressible multi-phase mixture with built in solution for the phase fractions with interface comp...
const Type & first() const
Return first.
tmp< volScalarField > nu() const
Return the kinematic laminar viscosity.
Dimension set for the base types.
const surfaceScalarField & phi_
const volVectorField & U() const
Return the velocity.
const surfaceScalarField & phi() const
Return the volumetric flux.
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].
tmp< surfaceScalarField > nuf() const
Return the face-interpolated dynamic laminar viscosity.
tmp< surfaceVectorField > nHatfv(const volScalarField &alpha1, const volScalarField &alpha2) const
const dimensionedScalar deltaN_
Stabilisation for normalisation of the interface normal.
tmp< surfaceScalarField > surfaceTensionForce() const
const Type & second() const
Return second.
bool read()
Read base transportProperties dictionary.
const volVectorField & U_
const PtrDictionary< phase > & phases() const
Return the phases.
void solve()
Solve for the mixture phase-fractions.
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
virtual ~multiphaseMixture()
Destructor.
tmp< volScalarField > rho() const
Return the mixture density.
Base-class for all transport models used by the incompressible turbulence models.
Hashing function class, shared by all the derived classes.
tmp< volScalarField > mu() const
Return the dynamic laminar viscosity.
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.
void solveAlphas(const scalar cAlpha)
tmp< volScalarField > nearInterface() const
Indicator of the proximity of the interface.
Generic GeometricField class.
tmp< surfaceScalarField > nHatf(const volScalarField &alpha1, const volScalarField &alpha2) const
void correctContactAngle(const phase &alpha1, const phase &alpha2, surfaceVectorField::GeometricBoundaryField &nHatb) const
interfacePair(const word &alpha1Name, const word &alpha2Name)
interfacePair(const phase &alpha1, const phase &alpha2)
label operator()(const interfacePair &key) const
surfaceScalarField rhoPhi_
PtrDictionary< phase > phases_
Dictionary of phases.
tmp< surfaceScalarField > muf() const
Return the face-interpolated dynamic laminar viscosity.