45 const dictionary& XiProperties,
46 const psiuReactionThermo&
thermo,
54 XiModel(XiProperties, thermo, turbulence, Su, rho, b, phi),
55 XiShapeCoef(XiModelCoeffs_.
lookup<scalar>(
"XiShapeCoef")),
56 XiEqModel_(XiEqModel::
New(XiProperties, thermo, turbulence, Su)),
57 XiGModel_(XiGModel::
New(XiProperties, thermo, turbulence, Su))
71 return XiGModel_->Db();
84 Xi_ == 1.0 + (1.0 + (2*XiShapeCoef)*(0.5 -
b_))*(XiEqStar - 1.0);
virtual tmp< volScalarField > Db() const
Return the flame diffusivity.
fluidReactionThermo & thermo
const volScalarField & b_
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
volScalarField Xi_
Flame wrinkling field.
Macros for easy insertion into run-time selection tables.
virtual bool read(const dictionary &XiProperties)
Update properties from given dictionary.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
algebraic(const dictionary &XiProperties, const psiuReactionThermo &thermo, const compressible::RASModel &turbulence, const volScalarField &Su, const volScalarField &rho, const volScalarField &b, const surfaceScalarField &phi)
Construct from components.
stressControl lookup("compactNormalStress") >> compactNormalStress
virtual bool read(const dictionary &XiProperties)=0
Update properties from given dictionary.
dictionary XiModelCoeffs_
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))
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
#define R(A, B, C, D, E, F, K, M)
virtual ~algebraic()
Destructor.
const tmp< volScalarField::Internal > & Su
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
RASModel< momentumTransportModel > RASModel
Typedefs for turbulence, RAS and LES models for compressible flow based on the standard laminar trans...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
virtual void correct()
Correct the flame-wrinkling Xi.