Go to the documentation of this file.
69 #ifndef actuationDiskSource_H
70 #define actuationDiskSource_H
85 class actuationDiskSource
121 template<
class RhoFieldType>
127 const RhoFieldType&
rho,
150 const word& modelType,
vector diskDir_
Disk area normal.
scalar Ct() const
Return Ct.
scalar Ct_
Thrust coefficient.
A class for handling words, derived from 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.
actuationDiskSource(const actuationDiskSource &)
Disallow default bitwise copy construct.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
scalar diskArea() const
Disk area.
void operator=(const actuationDiskSource &)
Disallow default bitwise assignment.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
virtual ~actuationDiskSource()
Destructor.
Vector< scalar > vector
A scalar version of the templated Vector.
void addActuationDiskAxialInertialResistance(vectorField &Usource, const labelList &cells, const scalarField &V, const RhoFieldType &rho, const vectorField &U) const
Add resistance to the UEqn.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
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....
void checkData() const
Check data.
scalar Cp_
Power coefficient.
TypeName("actuationDiskSource")
Runtime type information.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldI)
Source term to momentum equation.
label upstreamCellId_
Upstream cell ID.
Generic GeometricField class.
const vector & diskDir() const
Normal disk direction.