95#ifndef fv_atmPlantCanopyTurbSource_H
96#define fv_atmPlantCanopyTurbSource_H
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,
DimensionedField< vector, volMesh > Internal
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Applies sources on either epsilon or omega to incorporate effects of plant canopy for atmospheric bou...
void operator=(const atmPlantCanopyTurbSource &)=delete
No copy assignment.
atmPlantCanopyTurbSource(const atmPlantCanopyTurbSource &)=delete
No copy construct.
virtual void addSup(fvMatrix< scalar > &eqn, const label fieldi)
Add explicit contribution to epsilon or omega equation for incompressible flow computations.
virtual bool read(const dictionary &dict)
Read source dictionary.
TypeName("atmPlantCanopyTurbSource")
Runtime type information.
atmPlantCanopyTurbSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
Namespace for finite-volume.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.