88 #ifndef propellerDisk_H
89 #define propellerDisk_H
155 virtual scalar
n()
const
161 virtual void correctn(
const scalar
T)
const
182 template<
class AlphaFieldType,
class RhoFieldType>
183 void addActuationDiskAxialInertialResistance
186 const AlphaFieldType&
alpha,
187 const RhoFieldType&
rho,
204 const word& modelType,
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
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.
const fvMesh & mesh() const
Return const access to the mesh database.
const word & name() const
Return const access to the source name.
Disk momentum source which approximates a propeller based on a given propeller curve.
virtual scalar n() const
Return the rotation speed.
scalar dProp_
Propeller diameter.
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.
word UName_
Name of the velocity field.
word phaseName_
The name of the phase to which this fvModel applies.
TypeName("propellerDisk")
Runtime type information.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
scalar dHub_
Hub diameter.
virtual bool read(const dictionary &dict)
Read dictionary.
void operator=(const propellerDisk &)=delete
Disallow default bitwise assignment.
scalar diskThickness(const vector ¢re) const
Computes the thickness of the disk in streamwise direction.
virtual ~propellerDisk()
Destructor.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
autoPtr< Function1< vector2D > > propellerFunction_
Propeller function.
vector diskNormal_
Disk normal direction.
scalar rotationDir_
Rotation direction (obtained from the sign of n_)
fvCellSet set_
The set of cells the fvConstraint applies to.
virtual void correctn(const scalar T) const
No rotation speed correction.
scalar J(const vectorField &U, const vector &nHat) const
Return the normalised flow-rate through the disk.
propellerDisk(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from components.
autoPtr< functionObjects::logFile > logFile_
Optional log file.
scalar n_
Rotation speed [1/s].
Switch log_
Optional switch to enable logging of integral properties.
vector diskCentre() const
Computes the disk centre.
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 handling words, derived from string.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)