Go to the documentation of this file.
48 const word& sourceName,
49 const word& modelType,
54 fv::cellSetOption(sourceName, modelType,
dict,
mesh),
55 artNutName_(
dict.getOrDefault<
word>(
"nut",
"artNut")),
70 if (!(artNut_.headerOk()))
73 <<
"Unable to find artificial turbulent viscosity field." <<
nl
74 <<
"atmNutSource requires an artificial nut field."
87 <<
"Unable to find a turbulence model."
93 const tmp<volScalarField>& tnut = turbPtr->nut();
102 <<
"Unable to find nut field." <<
nl
103 <<
"atmNutSource requires nut field."
117 Log << this->
name() <<
": correcting " << field.name() <<
endl;
121 field.correctBoundaryConditions();
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const word & name() const noexcept
A class for handling words, derived from Foam::string.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
void resize(const label len)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
A class for managing temporary objects.
static constexpr const zero Zero
static const word propertiesName
bool isTmp() const noexcept
Ostream & endl(Ostream &os)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
Abstract base class for turbulence models (RAS, LES and laminar).
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
errorManip< error > abort(error &err)
atmNutSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
#define FatalErrorInFunction
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const Type * findObject(const word &name, const bool recursive=false) const
word name(const expressions::valueTypeCode typeCode)
defineTypeNameAndDebug(atmAmbientTurbSource, 0)
addToRunTimeSelectionTable(option, atmAmbientTurbSource, dictionary)
Generic GeometricField class.
virtual void correct(volScalarField &field)