35 displacedPhaseInterface,
51 const phaseModel& phase1,
52 const phaseModel& phase2,
53 const phaseModel& displacing
56 phaseInterface(phase1, phase2),
57 displacing_(displacing)
63 const phaseSystem&
fluid,
73 <<
"Interface " <<
name <<
" is not valid. An interface cannot " 94 + displacing().name();
virtual word name() const
Name.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static word separator()
Return the separator that delimits this interface's name.
phaseInterface(const phaseModel &phase1, const phaseModel &phase2)
Construct from phases.
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.
displacedPhaseInterface(const phaseModel &phase1, const phaseModel &phase2, const phaseModel &displacing)
Construct from phases.
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)
const phaseModel & displacing() const
Displacing phase.
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 word name() const
Name.
virtual ~displacedPhaseInterface()
Destructor.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
#define defineTypeNameAndDebugWithName(Type, Name, DebugSwitch)
Define the typeName and debug information, lookup as Name.