35 namespace reactionRateFlameAreaModels
60 consumptionSpeed_(coeffDict.subDict(fuel_)),
61 C_(coeffDict.lookup<scalar>(
"C")),
62 alpha_(coeffDict.lookup<scalar>(
"alpha"))
83 consumptionSpeed_.omega0()
90 consumptionSpeed_.sigmaExt()
108 combModel_.turbulence();
116 const volScalarField omegaInf(consumptionSpeed_.omega0Sigma(sigmaTotal));
124 (
tau*omegaInf*(omega0 - omegaInf) +
sqr(omegaMin)*sigmaExt)
125 /(
sqr(omega0 - omegaInf) +
sqr(omegaMin))
153 const dictionary& coeffDict =
dict.optionalSubDict(typeName +
"Coeffs");
154 coeffDict.
lookup(
"C") >> C_;
155 coeffDict.
lookup(
"alpha") >> alpha_;
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
virtual Istream & read(token &)
Return next token from stream.
Base class for combustion models.
Base class for single-phase compressible turbulence models.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Dimension set for the base types.
const dimensionSet & dimensions() const
Return const reference to dimensions.
Mesh data needed to do the Finite Volume discretisation.
Consumption rate per unit of flame area obtained from a relaxation equation.
virtual void correct(const volScalarField &sigma)
Correct omega.
virtual bool read(const dictionary &dict)
Update properties from given dictionary.
relaxation(const word modelType, const dictionary &dict, const dictionary &coeffDict, const fvMesh &mesh, const combustionModel &combModel)
Construct from dictionary, mesh and combustion model.
Abstract class for reaction rate per flame area unit.
virtual bool read(const dictionary &dictProperties)
Update from dictionary.
A class for managing temporary objects.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const VolField< Type > &vf, const word &name)
tmp< fvMatrix< Type > > SuSp(const volScalarField::Internal &, const VolField< Type > &)
tmp< fvMatrix< Type > > ddt(const VolField< Type > &vf)
addToRunTimeSelectionTable(reactionRateFlameArea, relaxation, dictionary)
defineTypeNameAndDebug(relaxation, 0)
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
void sqr(LagrangianPatchField< typename outerProduct< Type, Type >::type > &f, const LagrangianPatchField< Type > &f1)
const dimensionSet dimVelocity
SolverPerformance< Type > solve(fvMatrix< Type > &, const word &)
Solve returning the solution statistics given convergence tolerance.
autoPtr< incompressible::momentumTransportModel > turbulence(incompressible::momentumTransportModel::New(U, phi, viscosity))