47 lookupOrDefault<
Switch>(
"totalInternalEnergy", true)
102 calculatedFvPatchScalarField::typeName
115 calculatedFvPatchScalarField::typeName
130 calculatedFvPatchScalarField::typeName
160 thermo1_->he() = thermo1_->he(p_, T_);
164 thermo2_->he() = thermo2_->he(p_, T_);
174 rho_ = alpha1()*thermo1_->rho() + alpha2()*thermo2_->rho();
175 nu_ = (alpha1()*thermo1_->mu() + alpha2()*thermo2_->mu())/rho_;
184 alpha1()*thermo1_->psi()/thermo1_->rho()
185 + alpha2()*thermo2_->psi()/thermo2_->rho()
194 totalInternalEnergy_ =
195 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 > 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.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
const dimensionSet dimKinematicViscosity
const dimensionSet dimDensity
defineTypeNameAndDebug(combustionModel, 0)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.