36void 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_);
Macros for easy insertion into run-time selection tables.
tmp< surfaceScalarField > muf() const
Return the face-interpolated dynamic laminar viscosity.
tmp< volScalarField > mu() const
Return the dynamic laminar viscosity.
bool read()
Read base transportProperties dictionary.
tmp< surfaceScalarField > nuf() const
Return the face-interpolated dynamic laminar viscosity.
constant condensation/saturation model.
A class for managing temporary objects.
virtual bool read()=0
Read transportProperties dictionary.
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
List< word > wordList
A List of words.
GeometricField< vector, fvPatchField, volMesh > volVectorField
bool read(const char *buf, int32_t &val)
Same as readInt32.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
static constexpr const zero Zero
Global zero (0)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
const dimensionSet dimDensity