69 #ifndef actuationDiskSource_H 70 #define actuationDiskSource_H 85 class actuationDiskSource
118 void checkData()
const;
121 template<
class RhoFieldType>
122 void addActuationDiskAxialInertialResistance
127 const RhoFieldType&
rho,
150 const word& modelType,
const labelList & cells() const
Return const access to the cell set.
const fvMesh & mesh() const
Return const access to the mesh database.
scalar Cp() const
Return Cp.
Mesh data needed to do the Finite Volume discretisation.
scalar Cp_
Power coefficient.
const word & name() const
Return const access to the source name.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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.
TypeName("actuationDiskSource")
Runtime type information.
scalar diskArea() const
Disk area.
virtual bool read(const dictionary &dict)
Read dictionary.
vector diskDir_
Disk area normal.
scalar diskArea_
Disk area.
A list of keyword definitions, which are a keyword followed by any number of values (e...
label upstreamCellId_
Upstream cell ID.
scalar V() const
Return const access to the total cell volume.
virtual ~actuationDiskSource()
Destructor.
scalar Ct() const
Return Ct.
Vector< scalar > vector
A scalar version of the templated Vector.
scalar Ct_
Thrust coefficient.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldI)
Source term to momentum equation.
const vector & diskDir() const
Normal disk direction.
point upstreamPoint_
Upstream point sample.