42 : omega0_(dict.
lookup<scalar>(
"omega0")),
43 eta_(dict.
lookup<scalar>(
"eta")),
44 sigmaExt_(dict.
lookup<scalar>(
"sigmaExt")),
45 omegaMin_(dict.
lookup<scalar>(
"omegaMin"))
57 Foam::scalar Foam::consumptionSpeed::omega0Sigma
65 if (sigma < sigmaExt_)
69 a*omega0_*(1.0 -
exp(eta_*
max(sigma, 0.0))),
103 iomega0[celli] = omega0Sigma(sigma[celli], 1.0);
127 dict.
lookup(
"omega0") >> omega0_ ;
128 dict.
lookup(
"eta") >> eta_ ;
129 dict.
lookup(
"sigmaExt") >> sigmaExt_;
130 dict.
lookup(
"omegaMin") >> omegaMin_;
#define forAll(list, i)
Loop across all elements in list.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
const Boundary & boundaryField() const
Return const-reference to the boundary field.
T & ref() const
Return non-const reference or generate a fatal error.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
void read(const dictionary &dict)
Update properties.
consumptionSpeed(const dictionary &dict)
Construct from dictionary.
Dimension set for the base types.
dimensionedScalar exp(const dimensionedScalar &ds)
const Mesh & mesh() const
Return mesh.
defineTypeNameAndDebug(combustionModel, 0)
virtual ~consumptionSpeed()
Destructor.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class for managing temporary objects.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.