43 Foam::XiGModels::instabilityG::instabilityG
45 const dictionary& XiGProperties,
46 const psiuReactionThermo&
thermo,
51 XiGModel(XiGProperties, thermo, turbulence, Su),
52 GIn_(XiGModelCoeffs_.
lookup(
"GIn")),
53 lambdaIn_(XiGModelCoeffs_.
lookup(
"lambdaIn")),
54 XiGModel_(XiGModel::
New(XiGModelCoeffs_, thermo, turbulence, Su))
69 return (GIn_*GIn_/(GIn_ + turbXiG) + turbXiG);
75 const objectRegistry& db =
Su_.
db();
80 return XiGModel_->Db()
81 + rho*
Su_*(Xi - 1.0)*mgb*(0.5*lambdaIn_)/(mgb + 1.0/lambdaIn_);
89 XiGModelCoeffs_.lookup(
"GIn") >> GIn_;
90 XiGModelCoeffs_.lookup(
"lambdaIn") >> lambdaIn_;
virtual tmp< volScalarField > Db() const
Return the flame diffusivity.
rhoReactionThermo & thermo
Macros for easy insertion into run-time selection tables.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
stressControl lookup("compactNormalStress") >> compactNormalStress
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
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("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\"<< endl;autoPtr< compressible::turbulenceModel > turbulence(compressible::turbulenceModel::New(rho, U, phi, thermo))
defineTypeNameAndDebug(combustionModel, 0)
RASModel< EddyDiffusivity< turbulenceModel > > RASModel
virtual bool read(const dictionary &XiGProperties)=0
Update properties from given dictionary.
virtual tmp< volScalarField > G() const
Return the flame-wrinking generation rate.
const volScalarField & Su_
Laminar burning velocity.
A class for managing temporary objects.
const objectRegistry & db() const
Return the local objectRegistry.
virtual bool read(const dictionary &XiGProperties)
Update properties from given dictionary.
virtual ~instabilityG()
Destructor.