35 namespace reactionModels
47 const word& modelType,
50 const word& reactionProperties
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 single-phase compressible momentum transport 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.
Base class for reaction models.
Simple diffusion-based reaction model based on the principle mixed is burnt. Additional parameter C i...
diffusion(const word &modelType, const fluidMulticomponentThermo &thermo, const compressibleMomentumTransportModel &turb, const word &reactionProperties)
Construct from components.
virtual void correct()
Correct reaction rate.
virtual ~diffusion()
Destructor.
virtual bool read()
Update properties.
Base class for single-step reaction models.
virtual bool read()
Update properties from given dictionary.
A class for handling words, derived from string.
Calculate the gradient of the given field.
tmp< VolField< typename outerProduct< vector, Type >::type > > grad(const SurfaceField< Type > &ssf)
defineTypeNameAndDebug(diffusion, 0)
addToRunTimeSelectionTable(reactionModel, diffusion, dictionary)
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
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 & dimMass
const dimensionSet & dimLength
const dimensionSet & dimTime
void pow3(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
tmp< DimensionedField< scalar, GeoMesh, Field > > mag(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
autoPtr< incompressible::momentumTransportModel > turbulence(incompressible::momentumTransportModel::New(U, phi, viscosity))
fluidMulticomponentThermo & thermo