33template<
class ViscousModel>
35Foam::viscosityModels::Arrhenius<ViscousModel>::calcNu
37 const volScalarField&
field
46template<
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);
76template<
class ViscousModel>
87 ArrheniusCoeffs_.
readEntry(
"alpha", alpha_);
88 ArrheniusCoeffs_.readEntry(
"Talpha", Talpha_);
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary, otherwise return this dictionary.
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,...
const Type * findObject(const word &name, const bool recursive=false) const
Return const pointer to the object of the given Type.
A class for managing temporary objects.
virtual bool read(const dictionary &viscosityProperties)=0
Read transportProperties dictionary.
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
Arrhenius(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
A class for handling words, derived from Foam::string.
dimensionedScalar exp(const dimensionedScalar &ds)
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.