44#include "viscosityModel.H"
59template<
class ViscousModel>
115 ViscousModel::correct();
117 const auto* fldPtr = mesh_.findObject<
volScalarField>(fieldName_);
121 this->
nu_ *= calcNu(*fldPtr);
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.
const dictionary & viscosityProperties() const
Return the phase transport properties dictionary.
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
virtual ~Arrhenius()=default
Destructor.
Arrhenius(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
virtual void correct()
Correct the laminar viscosity.
TypeName("Arrhenius")
Runtime type information.
A class for handling words, derived from Foam::string.
A namespace for various incompressible viscosityModel implementations.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.