FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
Propeller4QWithStrut.h
1#ifndef Propeller4QWithStrut_h__
2#define Propeller4QWithStrut_h__
3
36#include <string>
37#include <Eigen/Eigen>
38#include "Propeller4Q.h"
39
40namespace Ship{
42 public:
43 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
44 Propeller4QWithStrut(const std::string simObjectName, ISimObjectCreator* const creator);
45
47 const double* Force2NED( const double T, const double* const X );
48 const double* ForceCorrected2NED( const double T, const double* const X );
49 const double* Force2Body( const double T, const double* const X );
50 const double* ForceCorrected2Body( const double T, const double* const X );
51
52 const double* StrutAngleOA( const double T, const double* const X );
53 const double* StrutCL( const double T, const double* const X );
54 const double* StrutCD( const double T, const double* const X );
55
56 void StrutCompute( const double T, const double* const X ) const;
57 private:
58
59 mutable double m_strutAngle;
60 mutable double m_strutCl;
61 mutable double m_strutCd;
62
63 mutable Eigen::Vector3d m_ForceStrutNED;
64 mutable Eigen::Vector3d m_Force2NED;
65 mutable Eigen::Vector3d m_ForceCorrected2NED;
66 mutable Eigen::Vector3d m_Force2Body;
67 mutable Eigen::Vector3d m_ForceCorrected2Body;
68
69 double m_strutHeight;
70 double m_strutChord;
71
72 ICommonComputation *m_strutCompute;
73
74 // lifting line for a low aspect area foil
75 static int m_data_strut_length;
76 static const double a_strut[];
77 static const double cl_strut[];
78 static const double cd_strut[];
79
80 };
81}
82
83#endif // Propeller4QWithStrut_h__
Definition Propeller4QWithStrut.h:41
const double * Force2NED(const double T, const double *const X)
The propeller force plus the strut force. The propeller-only members and ports of Propeller4Q are not...
Definition Propeller4Q.h:110
Simple waypoint object.
Definition CableAttach.h:58