45 Foam::XiGModels::KTS::KTS
47 const dictionary& XiGProperties,
48 const psiuReactionThermo&
thermo,
54 GEtaCoef_(XiGModelCoeffs_.
get<scalar>(
"GEtaCoef"))
69 const tmp<volScalarField> tepsilon(turbulence_.epsilon());
74 return (GEtaCoef_/tauEta);
82 XiGModelCoeffs_.readEntry(
"GEtaCoef", GEtaCoef_);
virtual tmp< volScalarField > G() const
Return the flame-wrinkling generation rate.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
dimensionedScalar sqrt(const dimensionedScalar &ds)
virtual ~KTS()
Destructor.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual bool read(const dictionary &XiGProperties)
Update properties from given dictionary.
psiReactionThermo & thermo
constexpr T & get(FixedList< T, N > &list) noexcept
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.
A class for managing temporary objects.
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)