35 #ifndef compressibleTwoPhases_H
36 #define compressibleTwoPhases_H
Generic GeometricField class.
virtual const volScalarField & rho1() const =0
Return the density of phase 1.
const volScalarField & rho(const bool index) const
Return the density of a given phase.
TypeName("compressibleTwoPhases")
Runtime type information.
virtual const rhoThermo & thermo1() const =0
Return the thermo for phase 1.
virtual ~compressibleTwoPhases()
Destructor.
const rhoThermo & thermo(const bool index) const
Return the density of a given phase.
compressibleTwoPhases()
Default construct.
virtual const volScalarField & rho2() const =0
Return the density of phase 2.
virtual const rhoThermo & thermo2() const =0
Return the thermo for phase 2.
Base-class for fluid thermodynamic properties based on density.
bool index(const word &name) const
Return the index associated with a given phase name.