36 const thermoIncompressibleTwoPhaseMixture&
thermo,
44 "phaseChangeProperties",
53 const word modelType(
dict.
get<word>(
"phaseChangeTwoPhaseModel"));
55 Info<<
"Selecting phaseChange model " << modelType <<
endl;
57 auto* ctorPtr = componentsConstructorTable(modelType);
64 "temperaturePhaseChangeTwoPhaseMixture",
66 *componentsConstructorTablePtr_
71 autoPtr<temperaturePhaseChangeTwoPhaseMixture>
IOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
const word & constant() const
Return constant name.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
const Time & time() const
Return the top-level database.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)