218 mutable scalar rhoRef_;
233 void createCoordinateSystem();
236 void constructGeometry();
259 const word& modelType,
274 inline scalar
rhoRef()
const;
278 inline scalar
omega()
const;
300 template<
class RhoFieldType>
303 const RhoFieldType&
rho,
307 const bool divideVolume =
true,
308 const bool output =
true
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 void addSup(const volVectorField &U, fvMatrix< vector > &eqn) const
Source term to momentum equation.
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.
rotorDisk(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from components.
scalar rhoRef() const
Return the reference density for incompressible case.
const List< point > & x() const
Return the cell centre positions in local rotor frame.
static const NamedEnum< inletFlowType, 3 > inletFlowTypeNames_
static const NamedEnum< geometryModeType, 2 > geometryModeTypeNames_
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.
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)
virtual ~rotorDisk()
Destructor.
const fvCellSet & set() const
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.