Public Member Functions | |
TypeName ("compressibleTwoPhases") | |
Runtime type information. More... | |
compressibleTwoPhases () | |
Default construct. More... | |
virtual | ~compressibleTwoPhases () |
Destructor. More... | |
virtual const rhoFluidThermo & | thermo1 () const =0 |
Return the thermo for phase 1. More... | |
virtual const rhoFluidThermo & | thermo2 () const =0 |
Return the thermo for phase 2. More... | |
const rhoFluidThermo & | thermo (const bool index) const |
Return the density of a given phase. More... | |
virtual const volScalarField & | rho1 () const =0 |
Return the density of phase 1. More... | |
virtual const volScalarField & | rho2 () const =0 |
Return the density of phase 2. More... | |
const volScalarField & | rho (const bool index) const |
Return the density of a given phase. More... | |
Public Member Functions inherited from twoPhases | |
TypeName ("twoPhases") | |
Runtime type information. More... | |
twoPhases () | |
Default construct. More... | |
virtual | ~twoPhases () |
Destructor. More... | |
const fvMesh & | mesh () const |
Access the mesh. More... | |
bool | index (const word &name) const |
Return the index associated with a given phase name. More... | |
virtual const volScalarField & | alpha1 () const =0 |
Return the volume-fraction of phase 1. More... | |
virtual const volScalarField & | alpha2 () const =0 |
Return the volume-fraction of phase 2. More... | |
const volScalarField & | alpha (const bool index) const |
Return the volume-fraction of a given phase. More... | |
Definition at line 49 of file compressibleTwoPhases.H.
|
inline |
Default construct.
Definition at line 62 of file compressibleTwoPhases.H.
|
inlinevirtual |
Destructor.
Definition at line 67 of file compressibleTwoPhases.H.
TypeName | ( | "compressibleTwoPhases" | ) |
Runtime type information.
|
pure virtual |
Return the thermo for phase 1.
Implemented in phaseInterface, and compressibleTwoPhaseVoFMixture.
Referenced by compressibleTwoPhases::thermo().
|
pure virtual |
Return the thermo for phase 2.
Implemented in phaseInterface, and compressibleTwoPhaseVoFMixture.
Referenced by compressibleTwoPhases::thermo().
|
inline |
Return the density of a given phase.
Definition at line 80 of file compressibleTwoPhases.H.
References twoPhases::index(), compressibleTwoPhases::thermo1(), and compressibleTwoPhases::thermo2().
Referenced by cavitationModel::thermol(), and cavitationModel::thermov().
|
pure virtual |
Return the density of phase 1.
Implemented in phaseInterface, and compressibleTwoPhaseVoFMixture.
Referenced by compressibleTwoPhases::rho().
|
pure virtual |
Return the density of phase 2.
Implemented in phaseInterface, and compressibleTwoPhaseVoFMixture.
Referenced by compressibleTwoPhases::rho().
|
inline |
Return the density of a given phase.
Definition at line 92 of file compressibleTwoPhases.H.
References twoPhases::index(), compressibleTwoPhases::rho1(), and compressibleTwoPhases::rho2().
Referenced by cavitationModel::rhol(), and cavitationModel::rhov().