51 const phaseModel& phase,
52 const phaseModel& otherPhase
55 phaseInterface(phase, otherPhase),
62 const phaseSystem&
fluid,
72 <<
"Interface " <<
name <<
" is not valid. An interface cannot " 73 <<
"have a side that is not one of its own phases." virtual word name() const
Name.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
virtual word name() const
Name.
phaseInterface(const phaseModel &phase1, const phaseModel &phase2)
Construct from phases.
static word separator()
Return the separator that delimits this interface's name.
const word & name() const
static word separator()
Return the separator that delimits this interface's name.
virtual word name() const
Name.
Macros for easy insertion into run-time selection tables.
static Tuple2< const phaseModel &, const phaseModel & > identifyPhases(const phaseSystem &fluid, const word &name, const wordList &separators)
Return references to the phases associated with a given name, and a.
A class for handling words, derived from string.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
sidedPhaseInterface(const phaseModel &phase, const phaseModel &otherPhase)
Construct from phases.
labelList second(const UList< labelPair > &p)
const phaseSystem & fluid() const
Return the phase system.
bool contains(const phaseModel &phase) const
Return true if this phaseInterface contains the given phase.
virtual ~sidedPhaseInterface()
Destructor.
const phaseModel & otherPhase() const
Phase on the other side of the interface.
const phaseModel & phase() const
Phase on the this side of the interface.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const phaseModel & otherPhase(const phaseModel &phase) const
Return the other phase relative to the given phase.
#define defineTypeNameAndDebugWithName(Type, Name, DebugSwitch)
Define the typeName and debug information, lookup as Name.