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>
100 delta.correctBoundaryConditions();
107 template<
class ReactionThermo,
class ThermoType>
112 this->coeffs().readEntry(
"Cd", Cd_);
static const word & zeroGradientType() noexcept
The type name for zeroGradient patch fields.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
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
Ignore writing from objectRegistry::writeObject()
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...
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.
Defines the attributes of an object for which implicit objectRegistry management is supported...
virtual tmp< volScalarField > timeScale()
Calculate time scale.
static constexpr const zero Zero
Global zero (0)