6 // A generic propeller model. See the TeX documentation for
7 // implementation details, this is too hairy to explain in code
12 // Initializes a propeller with the specified "cruise" numbers
13 // for airspeed, RPM, power and air density, and two "takeoff"
14 // numbers for RPM and power (with air speed and density being
15 // zero and sea level). RPM values are in radians per second, of
17 Propeller(float radius, float v, float omega, float rho, float power,
18 float omega0, float power0);
20 void calc(float density, float v, float omega,
21 float* thrustOut, float* torqueOut);
24 float _r; // characteristic radius
25 float _J0; // zero-thrust advance ratio
26 float _lambdaS; // "propeller stall" normalized advance ratio
27 float _F0; // thrust coefficient
28 float _etaC; // Peak efficiency
29 float _lambdaPeak; // constant, ~0.759835;
30 float _beta; // constant, ~1.48058;
31 float _takeoffCoef; // correction to get the zero-speed torque right
35 #endif // _PROPELLER_HPP