95 #ifndef fv_atmPlantCanopyTurbSource_H 96 #define fv_atmPlantCanopyTurbSource_H 112 class atmPlantCanopyTurbSource
114 public fv::cellSetOption
146 template<
class AlphaFieldType,
class RhoFieldType>
147 void atmPlantCanopyTurbSourceEpsilon
149 const AlphaFieldType&
alpha,
150 const RhoFieldType&
rho,
156 template<
class AlphaFieldType,
class RhoFieldType>
157 void atmPlantCanopyTurbSourceOmega
159 const AlphaFieldType&
alpha,
160 const RhoFieldType&
rho,
169 TypeName(
"atmPlantCanopyTurbSource");
177 const word& sourceName,
178 const word& modelType,
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void operator=(const atmPlantCanopyTurbSource &)=delete
No copy assignment.
A class for handling words, derived from Foam::string.
TypeName("atmPlantCanopyTurbSource")
Runtime type information.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
virtual void addSup(fvMatrix< scalar > &eqn, const label fieldi)
Add explicit contribution to epsilon or omega equation for incompressible flow computations.
Applies sources on either epsilon or omega to incorporate effects of plant canopy for atmospheric bou...
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Mesh data needed to do the Finite Volume discretisation.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class for managing temporary objects.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
virtual bool read(const dictionary &dict)
Read source dictionary.
atmPlantCanopyTurbSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.