31 namespace combustionModels
36 template<
class ReactionThermo,
class ThermoType>
40 const word& modelType,
43 const word& combustionProperties
53 Cd_(this->coeffs().getScalar(
"Cd"))
59 template<
class ReactionThermo,
class ThermoType>
68 template<
class ReactionThermo,
class ThermoType>
72 return (
max(this->rtTurb(), this->rtDiff()));
76 template<
class ReactionThermo,
class ThermoType>
88 auto&
delta = tdelta.ref();
91 delta.correctBoundaryConditions();
98 template<
class ReactionThermo,
class ThermoType>
103 this->coeffs().readEntry(
"Cd", Cd_);
static const word & zeroGradientType() noexcept
The type name for zeroGradient patch fields.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
compressible::turbulenceModel & turb
virtual bool read()
Update properties.
A class for handling words, derived from Foam::string.
dimensionedScalar cbrt(const dimensionedScalar &ds)
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
Return tmp field (NO_READ, NO_WRITE) from name, mesh, dimensions and patch type. [Takes current timeN...
Abstract base class for turbulence models (RAS, LES and laminar).
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))
Standard Eddy Dissipation Model based on the assumption that the reaction rates are controlled by the...
tmp< volScalarField > rtDiff() const
Return the reciprocal of the diffusion time scale.
Eddy dissipation model based on the principle of mixed is burnt.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A class for managing temporary objects.
virtual ~eddyDissipationDiffusionModel()
Destructor.
virtual tmp< volScalarField > timeScale()
Calculate time scale.
Do not request registration (bool: false)
static constexpr const zero Zero
Global zero (0)