27 #include "surfaceInterpolate.H"
77 calculatedFvPatchScalarField::typeName
90 nuModel1_->lookup(
"rho") >> rho1_;
91 nuModel2_->lookup(
"rho") >> rho2_;
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_);
Macros for easy insertion into run-time selection tables.
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.
An abstract base class for Newtonian viscosity models.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
const dimensionSet dimKinematicViscosity
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
const dimensionSet dimDensity
defineTypeNameAndDebug(combustionModel, 0)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.