71 "transportProperties",
101 rho1_(
"rho",
dimDensity, nuModel1_->viscosityProperties()),
102 rho2_(
"rho",
dimDensity, nuModel2_->viscosityProperties()),
137 limitedAlpha1*rho1_*nuModel1_->nu()
138 + (scalar(1) - limitedAlpha1)*rho2_*nuModel2_->nu()
147 return mu()().boundaryField()[patchI];
184 )/(alpha1f*rho1_ + (scalar(1) - alpha1f)*rho2_)
197 subDict(phase1Name_ ==
"1" ?
"phase1": phase1Name_)
201 subDict(phase2Name_ ==
"2" ?
"phase2": phase2Name_)
205 nuModel1_->viscosityProperties().readEntry(
"rho", rho1_);
206 nuModel2_->viscosityProperties().readEntry(
"rho", rho2_);
autoPtr< viscosityModel > nuModel1_
tmp< surfaceScalarField > nuf() const
Return the face-interpolated kinematic laminar viscosity.
A two-phase incompressible transportModel.
virtual bool read()
Read object.
incompressibleTwoPhaseMixture(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
const dimensionSet dimViscosity
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
An abstract base class for incompressible viscosityModels.
tmp< surfaceScalarField > muf() const
Return the face-interpolated dynamic laminar viscosity.
Macros for easy insertion into run-time selection tables.
bool read(const char *buf, int32_t &val)
Same as readInt32.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
tmp< volScalarField > mu() const
Return the dynamic laminar viscosity.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
Return tmp field (NO_READ, NO_WRITE) from name, mesh, dimensions and patch type. [Takes current timeN...
defineTypeNameAndDebug(combustionModel, 0)
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.
const dimensionSet dimDensity
Represents 0/1 range or concept. Used for tagged dispatch or clamping.
const dimensionedScalar mu
Atomic mass unit.
A two-phase mixture model.
autoPtr< viscosityModel > nuModel2_
virtual bool read()
Read base transportProperties dictionary.
void calcNu()
Calculate and return the laminar viscosity.
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
Do not request registration (bool: false)
dimensionSet clamp(const dimensionSet &a, const dimensionSet &range)
static constexpr const zero Zero
Global zero (0)