100 #ifndef rotorDiskSource_H
101 #define rotorDiskSource_H
222 mutable scalar rhoRef_;
237 void createCoordinateSystem();
240 void constructGeometry();
251 const bool writeNow =
false
268 const word& modelType,
283 inline scalar
rhoRef()
const;
287 inline scalar
omega()
const;
309 template<
class RhoFieldType>
312 const RhoFieldType&
rho,
316 const bool divideVolume =
true,
317 const bool output =
true
327 const word& fieldName
335 const word& fieldName
Generic GeometricField class.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Blade model class calculates: Linear interpolated blade twist and chord based on radial position Inte...
Cylindrical coordinate system.
A list of keyword definitions, which are a keyword followed by any number of values (e....
General run-time selected cell set selection class for fvMesh.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Finite volume model abstract base class.
virtual void correct()
Correct the fvModel.
const fvMesh & mesh() const
Return const access to the mesh database.
const word & name() const
Return const access to the source name.
Cell based momentum source which approximates the mean effects of rotor forces on a cylindrical regio...
virtual bool movePoints()
Update for mesh motion.
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.
void calculate(const RhoFieldType &rho, const vectorField &U, const scalarField &thetag, vectorField &force, const bool divideVolume=true, const bool output=true) const
Calculate forces.
scalar rhoRef() const
Return the reference density for incompressible case.
static const NamedEnum< inletFlowType, 3 > inletFlowTypeNames_
rotorDiskSource(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from components.
const List< point > & x() const
Return the cell centre positions in local rotor frame.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual void addSup(fvMatrix< vector > &eqn, const word &fieldName) const
Source term to momentum equation.
scalar omega() const
Return the rotational speed [rad/s].
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
TypeName("rotorDisk")
Runtime type information.
const coordinateSystems::cylindrical & coordSys() const
Return the rotor co-ordinate system (r, theta, z)
const fvCellSet & set() const
virtual ~rotorDiskSource()
Destructor.
static const NamedEnum< geometryModeType, 2 > geometryModeTypeNames_
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A class for managing temporary objects.
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.