Marine systems simulation
OpenWaterPropeller.h
1#ifndef _COPENWATER_PROPELLER_H_
2#define _COPENWATER_PROPELLER_H_
3
4
5#include <cmath>
6#include <vector>
7
8#include "IPropellerCalculator.h"
9
10namespace Ship{
12 {
13 public:
14 OpenWaterPropeller(double D, double PD);
16
17 double GetKq(double J);
18 double GetKt(double J);
19
20 void SetData(double *J, double* Kt, double* Kq, int num_elements);
21 void SetData(std::vector<double> J, std::vector<double> Kt, std::vector<double> Kq);
22
23 private:
24
25 unsigned int curve_elements;
26
27 std::vector<double> J; // Lift curve rudder angles
28 std::vector<double> Ct; // Lift coefficient
29 std::vector<double> Cq; // Drag coefficient
30
31 double D; // Diameter
32 double PD; // PD ratio
33 };
34}
35
36#endif
Definition: IPropellerCalculator.h:8
Definition: OpenWaterPropeller.h:12
Simple waypoint object.
Definition: CableAttach.h:16