52 IOobject::groupName(
"rho", phase1Name()),
62 IOobject::groupName(
"rho", phase2Name()),
93 calculatedFvPatchScalarField::
typeName
104 rho_ = alpha1()*rho1_ + alpha2()*rho2_;
106 nuModel1_->correct();
107 nuModel2_->correct();
112 min(
max(alpha1(), scalar(0)), scalar(1))
118 limitedAlpha1*rho1_*nuModel1_->nu()
119 + (scalar(1) - limitedAlpha1)*rho2_*nuModel2_->nu()
120 )/(limitedAlpha1*rho1_ + (scalar(1) - limitedAlpha1)*rho2_);
128 if (nuModel1_->read() && nuModel2_->read())
130 nuModel1_->lookup(
"rho") >> rho1_;
131 nuModel2_->lookup(
"rho") >> rho2_;
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Mesh data needed to do the Finite Volume discretisation.
Class to represent a mixture of two constant density phases.
virtual void correct()
Correct the mixture density and laminar viscosity.
incompressibleTwoPhaseVoFMixture(const fvMesh &mesh)
Construct from a mesh.
virtual bool read()
Read base phaseProperties dictionary.
Class to represent a VoF mixture.
virtual bool read()=0
Read base phaseProperties dictionary.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
An abstract base class for Newtonian viscosity models.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
const dimensionSet & dimKinematicViscosity
dimensioned< Type > min(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
const dimensionSet & dimDensity
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
defineTypeNameAndDebug(atmosphericBoundaryLayer, 0)
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)
dimensioned< Type > max(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)