Marine systems simulation
Propeller4QWithStrut.h
1#ifndef Propeller4QWithStrut_h__
2#define Propeller4QWithStrut_h__
3
9#include <string>
10#include <Eigen/Eigen>
11#include "Propeller4Q.h"
12
13namespace Ship{
15 public:
16 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
17 Propeller4QWithStrut(const std::string simObjectName, ISimObjectCreator* const creator);
18
19 const double* ForceNED( const double T, const double* const X );
20 const double* ForceCorrectedNED( const double T, const double* const X );
21 const double* ForceBody( const double T, const double* const X );
22 const double* ForceCorrectedBody( const double T, const double* const X );
23
24 const double* StrutAngleOA( const double T, const double* const X );
25 const double* StrutCL( const double T, const double* const X );
26 const double* StrutCD( const double T, const double* const X );
27
28 void StrutCompute( const double T, const double* const X );
29 private:
30
31 double m_strutAngle;
32 double m_strutCl;
33 double m_strutCd;
34
35 Eigen::Vector3d m_ForceStrutNED;
36
37 double m_strutHeight;
38 double m_strutChord;
39
40 ICommonComputation *m_strutCompute;
41
42 // lifting line for a low aspect area foil
43 static int m_data_strut_length;
44 static const double a_strut[];
45 static const double cl_strut[];
46 static const double cd_strut[];
47
48 };
49}
50
51#endif // Propeller4QWithStrut_h__
Definition: Propeller4QWithStrut.h:14
Definition: Propeller4Q.h:79
Simple waypoint object.
Definition: CableAttach.h:16