Go to the documentation of this file.
68 else if (rhoName_ !=
"none")
75 <<
"Neither rhoName nor rho are specified."
86 const word& sourceName,
87 const word& modelType,
93 UName_(coeffs_.getOrDefault<
word>(
"U",
"U")),
94 rhoName_(coeffs_.getOrDefault<
word>(
"rho",
"none")),
104 const auto* thermoPtr =
130 Foam::fv::viscousDissipation::devRhoReff()
const
134 const auto* turbPtr =
142 return tmp<volSymmTensorField>(
rho()*turbPtr->devRhoReff());
148 const auto* turbPtr =
156 return tmp<volSymmTensorField>(turbPtr->devRhoReff());
161 <<
" The turbulence model is not found in the database."
178 const word gradUName(
"grad(" + UName_ +
')');
185 mesh_.time().timeName(),
195 const auto* gradUPtr = mesh_.findObject<GradFieldType>(gradUName);
199 tgradU.ref() = *gradUPtr;
Defines the attributes of an object for which implicit objectRegistry management is supported,...
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
A class for handling words, derived from Foam::string.
void resize(const label len)
A class for managing temporary objects.
static constexpr const zero Zero
const dimensionSet dimDensity
static const word dictName
typeOfRank< typename pTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank) >::type type
static word timeName(const scalar t, const int precision=precision_)
static const word propertiesName
Abstract base-class for fluid and solid thermodynamic properties.
const Type & value() const
A special matrix type and solver, designed for finite volume solutions of scalar equations.
tmp< volScalarField > trho
viscousDissipation(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
Base abstract class for handling finite volume options (i.e. fvOption).
ThermalDiffusivity< CompressibleTurbulenceModel< fluidThermo > > turbulenceModel
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
const Type & lookupObject(const word &name, const bool recursive=false) const
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.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
const Type * findObject(const word &name, const bool recursive=false) const
Internal & ref(const bool updateAccessTime=true)
virtual void addSup(const volScalarField &rho, fvMatrix< scalar > &eqn, const label fieldi)
static tmp< T > New(Args &&... args)
const dimensionedScalar & D
A special matrix type and solver, designed for finite volume solutions of scalar equations....
const Time & time() const
Templated abstract base class for single-phase incompressible turbulence models.
defineTypeNameAndDebug(atmAmbientTurbSource, 0)
addToRunTimeSelectionTable(option, atmAmbientTurbSource, dictionary)
IncompressibleTurbulenceModel< transportModel > turbulenceModel
Generic GeometricField class.