29#include "viscosityModel.H"
42Foam::singlePhaseTransportModel::singlePhaseTransportModel
52 "transportProperties",
74 return viscosityModelPtr_->nu();
81 return viscosityModelPtr_->nu(patchi);
87 viscosityModelPtr_->correct();
95 return viscosityModelPtr_->read(*
this);
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOdictionary(const IOobject &io, const dictionary *fallback=nullptr)
Construct given an IOobject and optional fallback dictionary content.
@ NO_WRITE
Ignore writing from objectRegistry::writeObject().
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const Time & time() const noexcept
Return Time associated with the objectRegistry.
const objectRegistry & db() const noexcept
Return the local objectRegistry.
virtual bool read()
Read object.
A simple single-phase transport model based on viscosityModel.
virtual ~singlePhaseTransportModel()
Destructor.
virtual void correct()
Correct the laminar viscosity.
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
virtual bool read()
Read transportProperties dictionary.
A class for managing temporary objects.
An abstract base class for incompressible viscosityModels.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Different types of constants.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField