41 #include "FGThruster.h" 42 #include "math/FGTable.h" 48 #define ID_PROPELLER "$Id: FGPropeller.h,v 1.27 2017/02/26 12:09:46 bcoconni Exp $" 198 bool IsVPitch(
void)
const {
return MaxPitch != MinPitch;}
236 double GetRPM(
void)
const {
return RPM; }
242 double GetIxx(
void)
const {
return Ixx; }
324 double Sense, Sense_multiplier;
329 double HelicalTipMach;
339 void Debug(
int from);
~FGPropeller()
Destructor for FGPropeller - deletes the FGTable objects.
void SetAdvance(double advance)
Set the propeller pitch.
double GetEngineRPM(void) const
Calculates the RPMs of the engine based on gear ratio.
double GetRPM(void) const
Retrieves the RPMs of the propeller.
void SetReverseCoef(double c)
Set the propeller reverse pitch.
FGTable * GetCPowerTable(void) const
Retrieves propeller power table.
FGTable * GetCtMachTable(void) const
Retrieves propeller thrust Mach effects factor.
double GetPowerRequired(void)
Retrieves the power required (or "absorbed") by the propeller - i.e.
double GetCtFactor(void) const
Retrieves the coefficient of thrust multiplier.
void SetConstantSpeed(int mode)
Sets propeller into constant speed mode, or manual pitch mode.
bool GetFeather(void) const
Returns true if the propeller is in feathered position.
double GetIxx(void) const
Retrieves the propeller moment of inertia.
FGTable * GetCThrustTable(void) const
Retrieves propeller thrust table.
void SetCpFactor(double cpf)
Sets coefficient of power multiplier.
FGPropeller models a propeller given the tabular data for Ct (thrust) and Cp (power), indexed by the advance ratio "J".
bool IsVPitch(void) const
Returns true of this propeller is variable pitch.
Base class for specific thrusting devices such as propellers, nozzles, etc.
void SetPFactor(double pf)
Sets the P-Factor constant.
double Calculate(double EnginePower)
Calculates and returns the thrust produced by this propeller.
double GetThrustCoefficient(void) const
Retrieves the thrust coefficient.
double GetInducedVelocity(void) const
Get the propeller induced velocity.
double GetReverseCoef(void) const
Retrieves the reverse pitch command.
FGPropeller(FGFDMExec *exec, Element *el, int num=0)
Constructor for FGPropeller.
std::string GetThrusterLabels(int id, const std::string &delimeter)
Generate the labels for the thruster standard CSV output.
void SetEngineRPM(double rpm)
Sets the Revolutions Per Minute for the propeller using the engine gear ratio.
double GetTorque(void) const
Retrieves the Torque in foot-pounds (Don't you love the English system?)
void SetSense(double s)
Sets the rotation sense of the propeller.
std::string GetThrusterValues(int id, const std::string &delimeter)
Generate the values for the thruster standard CSV output.
void SetInducedVelocity(double Vi)
Set the propeller induced velocity.
double GetCpFactor(void) const
Retrieves the coefficient of power multiplier.
This class implements a 3 element column vector.
void SetFeather(bool f)
If true, sets the propeller in feathered position.
double GetHelicalTipMach(void) const
Retrieves the Mach number at the propeller tips.
void SetRPM(double rpm)
Sets the Revolutions Per Minute for the propeller.
int GetConstantSpeed(void) const
Returns a non-zero value if the propeller is constant speed.
double GetDiameter(void) const
Retrieves the propeller diameter.
double GetPitch(void) const
Retrieves the pitch of the propeller in degrees.
void SetCtFactor(double ctf)
Sets coefficient of thrust multiplier.
void SetReverse(bool r)
If true, sets the propeller in reversed position.
FGColumnVector3 GetPFactor(void) const
Retrieves the P-Factor constant.
FGTable * GetCpMachTable(void) const
Retrieves propeller power Mach effects factor.
void ResetToIC(void)
Reset the initial conditions.
Encapsulates the JSBSim simulation executive.
void SetPitch(double pitch)
This commands the pitch of the blade to change to the value supplied.
bool GetReverse(void) const
Returns true if the propeller is in reverse position.