Go to the documentation of this file.
37 namespace reactionRateFlameAreaModels
52 Foam::reactionRateFlameAreaModels::relaxation::relaxation
61 correlation_(
dict.optionalSubDict(typeName +
"Coeffs").subDict(fuel_)),
62 C_(
dict.optionalSubDict(typeName +
"Coeffs").
get<scalar>(
"C")),
63 alpha_(
dict.optionalSubDict(typeName +
"Coeffs").
get<scalar>(
"alpha"))
91 correlation_.sigmaExt()
116 const volScalarField omegaInf(correlation_.omega0Sigma(sigmaTotal));
122 (tau*omegaInf*(omega0 - omegaInf) +
sqr(omegaMin)*sigmaExt)
123 /(
sqr(omega0 - omegaInf) +
sqr(omegaMin))
151 coeffDict_ =
dict.optionalSubDict(typeName +
"Coeffs");
152 coeffDict_.readEntry(
"C", C_);
153 coeffDict_.readEntry(
"alpha", alpha_);
156 coeffDict_.subDict(fuel_)
Base class for combustion models.
Consumption rate per unit of flame area obtained from a relaxation equation.
A class for handling words, derived from Foam::string.
Info<< "Reading field U\n"<< 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("pos", dimless, 1.0));surfaceScalarField neg(IOobject("neg", runTime.timeName(), mesh), mesh, dimensionedScalar("neg", dimless, -1.0));surfaceScalarField phi("phi", fvc::flux(rhoU));Info<< "Creating turbulence model\n"<< endl;autoPtr< compressible::turbulenceModel > turbulence(compressible::turbulenceModel::New(rho, U, phi, thermo))
A class for managing temporary objects.
const dimensionSet dimVelocity
addToRunTimeSelectionTable(reactionRateFlameArea, relaxation, dictionary)
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
tmp< fvMatrix< Type > > SuSp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
defineTypeNameAndDebug(relaxation, 0)
SolverPerformance< Type > solve(faMatrix< Type > &, Istream &)
virtual bool read(const dictionary &dictProperties)
virtual bool read(const dictionary &dictProperties)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
Abstract class for reaction rate per flame area unit.
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
virtual void correct(const volScalarField &sigma)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
const dimensionedScalar e
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
const dimensionSet & dimensions() const
Generic GeometricField class.
tmp< fvMatrix< Type > > div(const surfaceScalarField &flux, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Abstract base class for turbulence models (RAS, LES and laminar).