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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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.
const dimensionSet dimLength
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
const dimensionSet dimTime
void pow3(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
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