35 namespace combustionModels
47 const word& modelType,
50 const word& combustionProperties
60 C_(this->coeffs().template lookup<scalar>(
"C")),
61 oxidantName_(this->coeffs().template lookupOrDefault<
word>(
"oxidant",
"O2"))
80 const label fuelI = this->fuelIndex();
84 if (this->
thermo().containsSpecie(oxidantName_))
100 this->coeffs().lookup(
"C") >> C_ ;
101 this->coeffs().readIfPresent(
"oxidant", oxidantName_);
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
Base class for combustion models.
Simple diffusion-based combustion model based on the principle mixed is burnt. Additional parameter C...
virtual void correct()
Correct combustion rate.
virtual ~diffusion()
Destructor.
diffusion(const word &modelType, const fluidMulticomponentThermo &thermo, const compressibleMomentumTransportModel &turb, const word &combustionProperties)
Construct from components.
virtual bool read()
Update properties.
Base class for single-step combustion models.
virtual bool read()
Update properties from given dictionary.
Base class for single-phase compressible turbulence models.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Base-class for multi-component fluid thermodynamic properties.
A class for handling words, derived from string.
Calculate the gradient of the given field.
defineTypeNameAndDebug(diffusion, 0)
addToRunTimeSelectionTable(combustionModel, diffusion, dictionary)
tmp< VolField< typename outerProduct< vector, Type >::type > > grad(const SurfaceField< Type > &ssf)
dimensionedScalar pos0(const dimensionedScalar &ds)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedScalar pow3(const dimensionedScalar &ds)
const dimensionSet dimLength
const dimensionSet dimTime
dimensioned< scalar > mag(const dimensioned< Type > &)
const dimensionSet dimMass
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
autoPtr< incompressible::momentumTransportModel > turbulence(incompressible::momentumTransportModel::New(U, phi, viscosity))
fluidMulticomponentThermo & thermo