Go to the documentation of this file.
45 "transportProperties",
54 const word modelType(
dict.get<word>(
"phaseChangeTwoPhaseMixture"));
56 Info<<
"Selecting phaseChange model " << modelType <<
endl;
58 auto cstrIter = componentsConstructorTablePtr_->cfind(modelType);
60 if (!cstrIter.found())
65 "phaseChangeTwoPhaseMixture",
67 *componentsConstructorTablePtr_
71 return autoPtr<phaseChangeTwoPhaseMixture>(cstrIter()(
U,
phi));
IOdictionary(const IOobject &)
Construct given an IOobject.
IOobject(const IOobject &)=default
Copy construct.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (uses stdout - output is on the master only)
errorManipArg< error, int > exit(error &err, const int errNo=1)
GeometricField< vector, fvPatchField, volMesh > volVectorField
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
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.