38 #ifndef compressibleTwoPhaseMixture_H 39 #define compressibleTwoPhaseMixture_H 64 Switch totalInternalEnergy_;
91 TypeName(
"compressibleTwoPhaseMixture");
114 return totalInternalEnergy_;
156 return thermo1_->rho();
162 return thermo2_->rho();
bool totalInternalEnergy() const
Return true to solve for total internal energy.
virtual tmp< volScalarField > nu() const
Kinematic viscosity of mixture [m^2/s].
volScalarField & p()
Return pressure [Pa].
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none/any.
virtual void correctThermo()
Correct the thermodynamics of each phase.
virtual void correct()
Update mixture properties.
Contains the interface properties.
const volScalarField & rho2() const
Return the density of phase 2.
compressibleTwoPhaseMixture(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
virtual ~compressibleTwoPhaseMixture()
Destructor.
TypeName("compressibleTwoPhaseMixture")
Runtime type information.
const volScalarField & rho() const
Return mixture density [kg/m^3].
volScalarField & T()
Return mixture temperature [K].
virtual bool read()
Read base phaseProperties dictionary.
const rhoThermo & thermo2() const
Return the thermo for phase 2.
Abstract base class for all fluid physical properties.
const volScalarField & rho1() const
Return the density of phase 1.
Base-class for fluid thermodynamic properties based on density.
A two-phase mixture model.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Thermophysical properties class for a mixture of two rhoThermo including interfaceProperties for VoF ...
A class for managing temporary objects.
const rhoThermo & thermo1() const
Return the thermo for phase 1.