Go to the documentation of this file.
48 const word& sourceName,
49 const word& modelType,
55 rhoName_(coeffs_.getOrDefault<
word>(
"rho",
"rho")),
61 coeffs_.getCheckOrDefault<scalar>
65 scalarMinMax::ge(SMALL)
74 mesh.time().timeName(),
82 fieldNames_.resize(1,
"T");
84 fv::option::resetApplied();
86 Log <<
" Applying atmPlantCanopyTSource to: " << fieldNames_[0] <<
endl;
100 eqn -= -qPlant_/Cp0_;
114 eqn -= -
rho*qPlant_/Cp0_;
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for handling words, derived from Foam::string.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
Ostream & endl(Ostream &os)
Add newline and flush stream.
atmPlantCanopyTSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
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.
Mesh data needed to do the Finite Volume discretisation.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
A special matrix type and solver, designed for finite volume solutions of scalar equations....
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
defineTypeNameAndDebug(atmAmbientTurbSource, 0)
virtual void addSup(fvMatrix< scalar > &eqn, const label fieldi)
addToRunTimeSelectionTable(option, atmAmbientTurbSource, dictionary)