Go to the documentation of this file.
36 void Foam::incompressibleThreePhaseMixture::calcNu()
43 nu_ =
mu()/(alpha1_*rho1_ + alpha2_*rho2_ + alpha3_*rho3_);
59 "transportProperties",
62 IOobject::MUST_READ_IF_MODIFIED,
75 IOobject::groupName(
"alpha", phase1Name_),
88 IOobject::groupName(
"alpha", phase2Name_),
101 IOobject::groupName(
"alpha", phase3Name_),
123 calculatedFvPatchScalarField::typeName
131 subDict(phase1Name_),
141 subDict(phase2Name_),
151 subDict(phase3Name_),
157 rho1_(
"rho",
dimDensity, nuModel1_->viscosityProperties()),
158 rho2_(
"rho",
dimDensity, nuModel2_->viscosityProperties()),
159 rho3_(
"rho",
dimDensity, nuModel3_->viscosityProperties())
161 alpha3_ == 1.0 - alpha1_ - alpha2_;
171 return tmp<volScalarField>
176 alpha1_*rho1_*nuModel1_->nu()
177 + alpha2_*rho2_*nuModel2_->nu()
178 + alpha3_*rho3_*nuModel3_->nu()
191 return tmp<surfaceScalarField>
211 return tmp<surfaceScalarField>
220 )/(alpha1f*rho1_ + alpha2f*rho2_ + alpha3f*rho3_)
232 nuModel1_().
read(*
this)
233 && nuModel2_().
read(*
this)
234 && nuModel3_().
read(*
this)
237 nuModel1_->viscosityProperties().readEntry(
"rho", rho1_);
238 nuModel2_->viscosityProperties().readEntry(
"rho", rho2_);
239 nuModel3_->viscosityProperties().readEntry(
"rho", rho3_);
incompressibleThreePhaseMixture(const volVectorField &U, const surfaceScalarField &phi)
A class for managing temporary objects.
static constexpr const zero Zero
const dimensionSet dimDensity
tmp< surfaceScalarField > nuf() const
bool read(const char *buf, int32_t &val)
List< word > wordList
A List of words.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Macros for easy insertion into run-time selection tables.
tmp< volScalarField > mu() const
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
tmp< surfaceScalarField > muf() const
constant condensation/saturation model.