Marine systems simulation
propeller_4q.h
1#pragma once
2
3
4#include <math.h>
5#include <propeller_reader.h>
6#include <propeller_table_2d.h>
7
9{
10public:
11 propeller_4q(double _Z, double _EAR, double _D);
12 ~propeller_4q(void);
13
14 double GetThrust();
15 double GetTorque();
16
17 void SetN( double _n);
18 void SetVa( double _va );
19
20 void SetPitch( double _pitch );
21 void Read( char * datapath=NULL );
22
23 double GetVinf();
24 double GetRinf();
25
26 double GetVx( double _x );
27 double GetRx( double _x );
28private:
29 double m_rho;
30
31 double m_T;
32 double m_Q;
33
34 double m_n;
35 double m_Va;
36 double m_pitch;
37 double m_pitch_range[2];
38
39 double m_J;
40 double m_B;
41 double m_cth;
42 double m_ni;
43
44 double m_Z;
45 double m_EAR;
46 double m_D;
47
48 propeller_table_2d m_tq_table;
49
50 void UpdateThrustTorque();
51
52};
Definition: propeller_4q.h:9
Definition: propeller_table_2d.h:15