Go to the documentation of this file.
33 template<
class ViscousModel>
40 return exp(-alpha_*(
field - Talpha_));
46 template<
class ViscousModel>
55 ViscousModel(
name, viscosityProperties,
U,
phi),
58 viscosityProperties.optionalSubDict(typeName +
"Coeffs")
62 fieldName_(ArrheniusCoeffs_.getOrDefault<
word>(
"field",
"T")),
69 this->nu_ *= calcNu(*fldPtr);
76 template<
class ViscousModel>
87 ArrheniusCoeffs_.
readEntry(
"alpha", alpha_);
88 ArrheniusCoeffs_.readEntry(
"Talpha", Talpha_);
Arrhenius(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
dimensionedScalar exp(const dimensionedScalar &ds)
virtual bool read(const dictionary &viscosityProperties)=0
Arrhenius type of dependency on a given scalar field name. Most likely temperature....
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
GeometricField< scalar, fvPatchField, volMesh > volScalarField
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool read(const dictionary &viscosityProperties)
const Type * findObject(const word &name, const bool recursive=false) const
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
word name(const expressions::valueTypeCode typeCode)
Generic GeometricField class.