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))
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 single-phase compressible momentum transport 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.
Base class for reaction models.
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 reactionModel &combModel)
Construct from dictionary, mesh and reaction 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.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
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)
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
tmp< DimensionedField< typename outerProduct< Type, Type >::type, GeoMesh, Field >> sqr(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
const dimensionSet & dimVelocity
tmp< DimensionedField< scalar, GeoMesh, Field > > mag(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
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))