91 <<
"Index of phase " <<
name <<
" requested from phases"
const Mesh & mesh() const
Return mesh.
Generic GeometricField class.
static word group(const word &name)
Return group (extension part of name)
Mesh data needed to do the Finite Volume discretisation.
virtual ~twoPhases()
Destructor.
const fvMesh & mesh() const
Access the mesh.
virtual const volScalarField & alpha1() const =0
Return the volume-fraction of phase 1.
twoPhases()
Default construct.
bool index(const word &name) const
Return the index associated with a given phase name.
TypeName("twoPhases")
Runtime type information.
const volScalarField & alpha(const bool index) const
Return the volume-fraction of a given phase.
virtual const volScalarField & alpha2() const =0
Return the volume-fraction of phase 2.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const char *const group
Group name for atomic constants.
errorManipArg< error, int > exit(error &err, const int errNo=1)
word name(const bool)
Return a word representation of a bool.