150 return turbulence_.muEff();
dictionary XiEqModelCoeffs_
Dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
tmp< volScalarField > calculateSchelkinEffect(const scalar) const
Return the sub-grid Schelkin effect.
declareRunTimeSelectionTable(autoPtr, XiEqModel, dictionary,(const dictionary &XiEqProperties, const psiuReactionThermo &thermo, const compressible::RASModel &turbulence, const volScalarField &Su),(XiEqProperties, thermo, turbulence, Su))
virtual bool read(const dictionary &XiEqProperties)=0
Update properties from given dictionary.
rhoReactionThermo & thermo
virtual ~XiEqModel()
Destructor.
Base-class for all XiEq models used by the b-XiEq combustion model. The available models are : basicX...
TypeName("XiEqModel")
Runtime type information.
virtual tmp< volScalarField > XiEq() const
Return the flame-wrinking XiEq.
const psiuReactionThermo & thermo_
Thermo.
Foam::psiuReactionThermo.
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))
RASModel< EddyDiffusivity< turbulenceModel > > RASModel
const volScalarField & Su_
Laminar burning velocity.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.
static autoPtr< XiEqModel > New(const dictionary &XiEqProperties, const psiuReactionThermo &thermo, const compressible::RASModel &turbulence, const volScalarField &Su)
Return a reference to the selected XiEq model.
void writeFields() const
Write fields.
const compressible::RASModel & turbulence_
Turbulence.