47 lookupOrDefault<
Switch>(
"totalInternalEnergy", true)
93 IOobject::groupName(
"Alpha", phase1Name()),
98 calculatedFvPatchScalarField::typeName
104 IOobject::groupName(
"Alpha", phase2Name()),
109 calculatedFvPatchScalarField::typeName
122 calculatedFvPatchScalarField::typeName
137 calculatedFvPatchScalarField::typeName
167 thermo1_->he() = thermo1_->he(p_, T_);
171 thermo2_->he() = thermo2_->he(p_, T_);
181 rho_ = alphaRho1 + alphaRho2;
182 Alpha1_ = alphaRho1/rho_;
183 Alpha2_ = alphaRho2/rho_;
189 return (alpha1()*thermo1_->mu() + alpha2()*thermo2_->mu())/rho_;
200 alpha1().boundaryField()[
patchi]*thermo1_->mu().boundaryField()[
patchi]
201 + alpha2().boundaryField()[
patchi]*thermo2_->mu().boundaryField()[
patchi]
202 )/rho_.boundaryField()[
patchi];
211 alpha1()*thermo1_->psi()/thermo1_->rho()
212 + alpha2()*thermo2_->psi()/thermo2_->rho()
221 totalInternalEnergy_ =
222 lookupOrDefault<Switch>(
"totalInternalEnergy",
true);
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static word groupName(Name name, const word &group)
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Class to represent a mixture of two rhoFluidThermo-based phases.
virtual void correctThermo()
Correct the thermodynamics of each phase.
virtual void correct()
Update mixture properties.
compressibleTwoPhaseVoFMixture(const fvMesh &mesh)
Construct from a mesh.
virtual tmp< volScalarField > nu() const
Kinematic viscosity of mixture [m^2/s].
virtual tmp< volScalarField > psiByRho() const
Return the mixture compressibility/density.
virtual ~compressibleTwoPhaseVoFMixture()
Destructor.
virtual bool read()
Read base phaseProperties dictionary.
const word & name() const
Return const reference to name.
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the top-level database.
virtual bool write(const bool write=true) const
Write using setting from DB.
static autoPtr< rhoFluidThermo > New(const fvMesh &, const word &phaseName=word::null)
Standard selection based on fvMesh.
A class for managing temporary objects.
const word & phase2Name() const
const word & phase1Name() const
Class to represent a VoF mixture.
virtual bool read()=0
Read base phaseProperties dictionary.
const fvMesh & mesh() const
Access the mesh.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimDensity
defineTypeNameAndDebug(combustionModel, 0)