32 const dictionary& PDRProperties,
39 const word modelType(PDRProperties.lookup(
"PDRDragModel"));
41 Info<<
"Selecting flame-wrinkling model " << modelType <<
endl;
43 dictionaryConstructorTable::iterator cstrIter =
44 dictionaryConstructorTablePtr_->find(modelType);
46 if (cstrIter == dictionaryConstructorTablePtr_->end())
49 <<
"Unknown PDRDragModel type " 50 << modelType <<
nl <<
nl 51 <<
"Valid PDRDragModels are : " << endl
52 << dictionaryConstructorTablePtr_->sortedToc()
56 return autoPtr<PDRDragModel>
autoPtr< compressible::turbulenceModel > turbulence
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
RASModel< EddyDiffusivity< turbulenceModel > > RASModel
static autoPtr< PDRDragModel > New(const dictionary &PDRProperties, const compressible::RASModel &turbulence, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi)
Return a reference to the selected Xi model.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField