100 #ifndef fv_atmPlantCanopyUSource_H 101 #define fv_atmPlantCanopyUSource_H 117 class atmPlantCanopyUSource
119 public fv::cellSetOption
148 const word& sourceName,
149 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...
atmPlantCanopyUSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Applies sources on velocity (i.e. U) to incorporate effects of plant canopy for atmospheric boundary ...
A class for handling words, derived from Foam::string.
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< vector > &eqn, const label fieldi)
Add explicit contribution to momentum equation.
void operator=(const atmPlantCanopyUSource &)=delete
No copy assignment.
virtual bool read(const dictionary &dict)
Read source dictionary.
TypeName("atmPlantCanopyUSource")
Runtime type information.
Mesh data needed to do the Finite Volume discretisation.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].