27 #include "surfaceInterpolate.H"
77 calculatedFvPatchScalarField::typeName
91 min(
max(alpha1(), scalar(0)), scalar(1))
97 limitedAlpha1*rho1_*nuModel1_->nu()
98 + (scalar(1) - limitedAlpha1)*rho2_*nuModel2_->nu()
134 )/(alpha1f*rho1_ + (scalar(1) - alpha1f)*rho2_)
143 nuModel1_->lookup(
"rho") >> rho1_;
144 nuModel2_->lookup(
"rho") >> rho2_;
157 rho_ = alpha1()*rho1_ + alpha2()*rho2_;
159 nuModel1_->correct();
160 nuModel2_->correct();
165 min(
max(alpha1(), scalar(0)), scalar(1))
169 nu_ =
mu()/(limitedAlpha1*rho1_ + (scalar(1) - limitedAlpha1)*rho2_);
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
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.
tmp< surfaceScalarField > muf() const
Return the face-interpolated dynamic laminar viscosity.
tmp< surfaceScalarField > nuf() const
Return the face-interpolated kinematic laminar viscosity.
virtual void correct()
Correct the mixture density and laminar viscosity.
tmp< volScalarField > mu() const
Return the dynamic laminar viscosity.
incompressibleTwoPhaseVoFMixture(const fvMesh &mesh)
Construct from a mesh.
virtual bool read()
Read base phaseProperties dictionary.
A class for managing temporary objects.
Class to represent a VoF mixture.
virtual bool read()=0
Read base phaseProperties dictionary.
An abstract base class for Newtonian viscosity models.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
const dimensionedScalar mu
Atomic mass unit.
static tmp< SurfaceField< Type > > interpolate(const VolField< Type > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
word name(const bool)
Return a word representation of a bool.
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)