40Foam::consumptionSpeed::consumptionSpeed
44: omega0_(
dict.get<scalar>(
"omega0")),
45 eta_(
dict.get<scalar>(
"eta")),
46 sigmaExt_(
dict.get<scalar>(
"sigmaExt")),
47 omegaMin_(
dict.get<scalar>(
"omegaMin"))
59Foam::scalar Foam::consumptionSpeed::omega0Sigma
67 if (
sigma < sigmaExt_)
92 auto& omega0 = tomega0.ref();
98 iomega0[celli] = omega0Sigma(
sigma[celli], 1.0);
105 forAll(bomega0[patchi], facei)
107 bomega0[patchi][facei] =
110 sigma.boundaryField()[patchi][facei],
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
DimensionedField< scalar, volMesh > Internal
GeometricBoundaryField< scalar, fvPatchField, volMesh > Boundary
@ NO_REGISTER
Do not request registration (bool: false).
void read(const dictionary &dict)
Update properties.
virtual ~consumptionSpeed()
Destructor.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, IOobjectOption::readOption readOpt=IOobjectOption::MUST_READ) const
Find entry and assign to T val. FatalIOError if it is found and the number of tokens is incorrect,...
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedScalar exp(const dimensionedScalar &ds)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static constexpr const zero Zero
Global zero (0).
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
#define forAll(list, i)
Loop across all elements in list.