Go to the documentation of this file.
70 "transportProperties",
100 rho1_(
"rho",
dimDensity, nuModel1_->viscosityProperties()),
101 rho2_(
"rho",
dimDensity, nuModel2_->viscosityProperties()),
111 U_.time().timeName(),
116 calculatedFvPatchScalarField::typeName
130 min(
max(alpha1_, scalar(0)), scalar(1))
138 limitedAlpha1*rho1_*nuModel1_->nu()
139 + (scalar(1) - limitedAlpha1)*rho2_*nuModel2_->nu()
181 )/(alpha1f*rho1_ + (scalar(1) - alpha1f)*rho2_)
195 subDict(phase1Name_ ==
"1" ?
"phase1": phase1Name_)
199 subDict(phase2Name_ ==
"2" ?
"phase2": phase2Name_)
203 nuModel1_->viscosityProperties().lookup(
"rho") >> rho1_;
204 nuModel2_->viscosityProperties().lookup(
"rho") >> rho2_;
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
tmp< volScalarField > mu() const
Return the dynamic laminar viscosity.
A class for managing temporary objects.
const dimensionSet dimDensity
virtual bool read()
Read base transportProperties dictionary.
autoPtr< viscosityModel > nuModel2_
bool read(const char *, int32_t &)
tmp< surfaceScalarField > muf() const
Return the face-interpolated dynamic laminar viscosity.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &vf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
virtual bool read()
Read object.
autoPtr< viscosityModel > nuModel1_
A two-phase mixture model.
const dimensionSet dimViscosity
Macros for easy insertion into run-time selection tables.
static autoPtr< viscosityModel > New(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Return a reference to the selected viscosity model.
Generic dimensioned Type class.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
tmp< surfaceScalarField > nuf() const
Return the face-interpolated kinematic laminar viscosity.
void calcNu()
Calculate and return the laminar viscosity.
incompressibleTwoPhaseMixture(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
Generic GeometricField class.
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)