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));
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()
GeometricField< vector, fvPatchField, volMesh > volVectorField
const volVectorField & U() const
Return const-access to the mixture velocity.
static autoPtr< phaseChangeTwoPhaseMixture > New(const volVectorField &U, const surfaceScalarField &phi)
Return a reference to the selected phaseChange model.
const objectRegistry & db() const noexcept
Return the local objectRegistry.
const Time & time() const noexcept
Return Time associated with the objectRegistry.
const word & constant() const noexcept
Return constant name.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
#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 ...