45 momentumTransportModel_(turbulence),
58 calculatedFvPatchScalarField::typeName
74 Info<<
"Selecting LES delta type " << deltaType <<
endl;
76 dictionaryConstructorTable::iterator cstrIter =
77 dictionaryConstructorTablePtr_->find(deltaType);
79 if (cstrIter == dictionaryConstructorTablePtr_->end())
82 <<
"Unknown LESdelta type " 83 << deltaType <<
nl <<
nl 84 <<
"Valid LESdelta types are :" << endl
85 << dictionaryConstructorTablePtr_->sortedToc()
98 const dictionaryConstructorTable& additionalConstructors
103 Info<<
"Selecting LES delta type " << deltaType <<
endl;
106 dictionaryConstructorTable::const_iterator cstrIter =
107 additionalConstructors.find(deltaType);
109 if (cstrIter != additionalConstructors.end())
115 dictionaryConstructorTable::const_iterator cstrIter =
116 dictionaryConstructorTablePtr_->find(deltaType);
118 if (cstrIter == dictionaryConstructorTablePtr_->end())
121 <<
"Unknown LESdelta type " 122 << deltaType <<
nl <<
nl 123 <<
"Valid LESdelta types are :" << endl
124 << additionalConstructors.sortedToc()
126 << dictionaryConstructorTablePtr_->sortedToc()
static autoPtr< LESdelta > New(const word &name, const momentumTransportModel &turbulence, const dictionary &dict)
Return a reference to the selected LES delta.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Time & time() const
Return the top-level database.
const fvMesh & mesh() const
const dimensionSet dimLength
LESdelta(const word &name, const momentumTransportModel &turbulence)
Construct from name, momentumTransportModel and dictionary.
static word timeName(const scalar, const int precision=curPrecision_)
Return time name of given scalar time.
A class for handling words, derived from string.
Info<< "Reading field U\"<< endl;volVectorField U(IOobject("U", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE), mesh);volScalarField rho(IOobject("rho", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), thermo.rho());volVectorField rhoU(IOobject("rhoU", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *U);volScalarField rhoE(IOobject("rhoE", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), rho *(e+0.5 *magSqr(U)));surfaceScalarField pos(IOobject("pos", runTime.timeName(), mesh), mesh, dimensionedScalar(dimless, 1.0));surfaceScalarField neg(IOobject("neg", runTime.timeName(), mesh), mesh, dimensionedScalar(dimless, -1.0));surfaceScalarField phi("phi", fvc::flux(rhoU));Info<< "Creating turbulence model\"<< endl;autoPtr< compressible::momentumTransportModel > turbulence(compressible::momentumTransportModel::New(rho, U, phi, thermo))
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.
Abstract base class for turbulence models (RAS, LES and laminar).
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.