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