43 Foam::XiEqModels::Gulder::Gulder
45 const dictionary& XiEqProperties,
46 const psiuReactionThermo&
thermo,
51 XiEqModel(XiEqProperties, thermo, turbulence, Su),
77 up.primitiveFieldRef() += calculateSchelkinEffect(uPrimeCoef_);
91 return (1.0 + XiEqCoef_*
sqrt(up/(
Su_ + SuMin_))*Reta);
99 XiEqModelCoeffs_.lookup(
"XiEqCoef") >> XiEqCoef_;
100 XiEqModelCoeffs_.lookup(
"uPrimeCoef") >> uPrimeCoef_;
101 XiEqModelCoeffs_.lookup(
"subGridSchelkin") >> subGridSchelkin_;
virtual tmp< volScalarField > muu() const =0
Dynamic viscosity of unburnt gas [kg/ms].
const compressible::RASModel & turbulence_
virtual tmp< volScalarField > rhou() const
Unburnt gas density [kg/m^3].
dimensionedScalar sqrt(const dimensionedScalar &ds)
virtual tmp< volScalarField > XiEq() const
Return the flame-wrinking XiEq.
virtual bool read(const dictionary &XiEqProperties)=0
Update properties from given dictionary.
rhoReactionThermo & thermo
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual bool read(const dictionary &XiEqProperties)
Update properties from given dictionary.
stressControl lookup("compactNormalStress") >> compactNormalStress
dimensioned< Type > average(const DimensionedField< Type, GeoMesh > &df)
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if successful.
const volScalarField & Su_
virtual ~Gulder()
Destructor.
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
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensioned< scalar > mag(const dimensioned< Type > &)
const doubleScalar e
Elementary charge.
A class for managing temporary objects.
const psiuReactionThermo & thermo_