42 #ifndef multiphaseMangrovesSource_H 43 #define multiphaseMangrovesSource_H 113 TypeName(
"multiphaseMangrovesSource");
122 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...
scalarList CdZone_
Drag coefficient.
TypeName("multiphaseMangrovesSource")
Runtime type information.
scalarList CmZone_
Inertia coefficient.
A class for handling words, derived from Foam::string.
scalarList NZone_
Number of plants per unit of area.
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.
const word & name() const noexcept
Return const access to the source name.
tmp< volScalarField > dragCoeff(const volVectorField &U) const
Return the drag force coefficient.
labelListList zoneIDs_
Porosity coefficient.
scalarList aZone_
Width of the vegetation element.
virtual bool read(const dictionary &dict)
Read dictionary.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldi)
Add implicit contribution to momentum equation.
Mesh data needed to do the Finite Volume discretisation.
virtual ~multiphaseMangrovesSource()=default
Destructor.
A class for managing temporary objects.
tmp< volScalarField > inertiaCoeff() const
Return the inertia force coefficient.
Base abstract class for handling finite volume options (i.e. fvOption).