Go to the documentation of this file.
70 #ifndef actuationDiskSource_H
71 #define actuationDiskSource_H
86 class actuationDiskSource
119 void checkData()
const;
122 template<
class RhoFieldType>
123 void addActuationDiskAxialInertialResistance
128 const RhoFieldType&
rho,
151 const word& modelType,
vector diskDir_
Disk area normal.
scalar Ct() const
Return Ct.
scalar Ct_
Thrust coefficient.
A class for handling words, derived from Foam::string.
Cell-set options abtract base class. Provides a base set of controls, e.g.:
const word & name() const
Return const access to the source name.
scalar Cp() const
Return Cp.
scalar V() const
Return const access to the total cell volume.
scalar diskArea_
Disk area.
const labelList & cells() const
Return const access to the cell set.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
scalar diskArea() const
Disk area.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual ~actuationDiskSource()=default
Destructor.
Mesh data needed to do the Finite Volume discretisation.
Vector< scalar > vector
A scalar version of the templated Vector.
point upstreamPoint_
Upstream point sample.
const fvMesh & mesh() const
Return const access to the mesh database.
virtual bool read(const dictionary &dict)
Read dictionary.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
virtual void addSup(fvMatrix< vector > &eqn, const label fieldi)
Source term to momentum equation.
scalar Cp_
Power coefficient.
TypeName("actuationDiskSource")
Runtime type information.
label upstreamCellId_
Upstream cell ID.
const vector & diskDir() const
Normal disk direction.