36 const thermoIncompressibleTwoPhaseMixture&
thermo,
44 "phaseChangeProperties",
45 mesh.time().constant(),
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>
errorManipArg< error, int > exit(error &err, const int errNo=1)
IOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
Construct given an IOobject and optional fallback dictionary content.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Ignore writing from objectRegistry::writeObject()
psiReactionThermo & thermo
static autoPtr< temperaturePhaseChangeTwoPhaseMixture > New(const thermoIncompressibleTwoPhaseMixture &mixture, const fvMesh &mesh)
Return a reference to the selected phaseChange model.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
Do not request registration (bool: false)
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...