38 const volVectorField&
U,
39 const surfaceScalarField&
phi
46 "transportProperties",
55 const word modelType(
dict.
get<word>(
"phaseChangeTwoPhaseMixture"));
57 Info<<
"Selecting phaseChange model " << modelType <<
endl;
59 auto* ctorPtr = componentsConstructorTable(modelType);
66 "phaseChangeTwoPhaseMixture",
68 *componentsConstructorTablePtr_
72 return autoPtr<phaseChangeTwoPhaseMixture>(ctorPtr(
U,
phi));
IOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
const Time & time() const
Return Time associated with the objectRegistry.
const objectRegistry & db() const noexcept
Return the local objectRegistry.
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 volVectorField & U() const
Return const-access to the mixture velocity.
#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)