119 #ifndef propellerDiskAdjustment_H
120 #define propellerDiskAdjustment_H
169 mutable uniformDimensionedScalarField
n_;
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.
Automatic adjustment option for the propellerDisk momentum source.
scalar nFraction_
Maximum fractional change of rotation speed.
const propellerDisk & propellerDisk_
Reference to the propellerDisk fvModel.
scalar sfc_
Skin friction correction for model-scale ship [N].
autoPtr< functionObjects::forces > forces_
Function object to calculate the resistance force.
propellerDiskAdjustment(const propellerDisk &, const dictionary &dict)
Construct from components.
scalar deltaTStar_
Relaxation time scale for rotation speed adjustment.
scalar n() const
Return the current rotation speed.
vector resistanceDirection_
Resistance force direction.
scalar Tmin_
Minimum thrust for beta [N].
scalar resistanceFraction_
Resistance fraction for multi-propulsor configurations.
uniformDimensionedScalarField n_
Self-propulsion corrected rotational speed [1/s].
void operator=(const propellerDiskAdjustment &)=delete
Disallow default bitwise assignment.
~propellerDiskAdjustment()
Destructor.
scalar startTime_
Start time for rotation speed adjustment.
scalar resistance() const
Return the ship resistance (for self-propulsion correction)
void correctn(const scalar T) const
Correct the rotation speed from the current propulsion force.
Disk momentum source which approximates a propeller based on a given propeller curve.
void T(GeometricField< Type, GeoMesh, PrimitiveField1 > &gf, const GeometricField< Type, GeoMesh, PrimitiveField2 > &gf1)