89 #ifndef propellerDisk_H
90 #define propellerDisk_H
176 virtual scalar
n()
const
182 virtual void correctn(
const scalar
T)
const
197 template<
class AlphaFieldType,
class RhoFieldType>
198 void addActuationDiskAxialInertialResistance
201 const AlphaFieldType&
alpha,
202 const RhoFieldType&
rho,
219 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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
cellZone selection or generation class with caching of zone volume
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.
vector centre_
Propeller disk centre.
word UName_
Name of the velocity field.
virtual void readCoeffs(const dictionary &dict)
Read the model coefficients.
word phaseName_
The name of the phase to which this fvModel applies.
fvCellZone zone_
The cellZone the fvConstraint applies to.
virtual vector normal() const
Return the propeller normal.
vector force() const
Return the current force of the fluid on the propeller.
TypeName("propellerDisk")
Runtime type information.
vector moment_
Current moment of the fluid on the propeller.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
vector normal_
Propeller disk normal direction.
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.
autoPtr< volVectorField::Internal > forcePtr_
virtual ~propellerDisk()
Destructor.
vector moment() const
Return the current moment of the fluid on the propeller.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
autoPtr< Function1< vector2D > > propellerFunction_
Propeller function.
scalar rotationDir_
Rotation direction (obtained from the sign of n_)
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.
vector force_
Current force of the fluid on the propeller.
scalar n_
Rotation speed [1/s].
virtual vector centre() const
Return the propeller centre.
Switch log_
Optional switch to enable logging of integral properties.
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(LagrangianPatchField< Type > &f, const LagrangianPatchField< Type > &f1)