32 const dictionary& propDict,
33 const psiuReactionThermo& thermo,
41 const word modelType(propDict.lookup(
"XiModel"));
43 Info<<
"Selecting flame-wrinkling model " << modelType <<
endl;
45 dictionaryConstructorTable::iterator cstrIter =
46 dictionaryConstructorTablePtr_->find(modelType);
48 if (cstrIter == dictionaryConstructorTablePtr_->end())
51 <<
"Unknown XiModel type " 52 << modelType <<
nl <<
nl 53 <<
"Valid XiModels are : " << endl
54 << dictionaryConstructorTablePtr_->sortedToc()
58 return autoPtr<XiModel>
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.
static autoPtr< XiModel > New(const dictionary &XiProperties, const psiuReactionThermo &thermo, const compressible::RASModel &turbulence, const volScalarField &Su, const volScalarField &rho, const volScalarField &b, const surfaceScalarField &phi)
Return a reference to the selected Xi model.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
psiReactionThermo & thermo
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
RASModel< EddyDiffusivity< turbulenceModel > > RASModel
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
tmp< GeometricField< Type, fvPatchField, volMesh > > Su(const GeometricField< Type, fvPatchField, volMesh > &su, const GeometricField< Type, fvPatchField, volMesh > &vf)