Marine systems simulation
Ship::ViscousShip Class Reference
+ Inheritance diagram for Ship::ViscousShip:
+ Collaboration diagram for Ship::ViscousShip:

Public Types

enum  EFileType { FILE_TYPE_VERES , FILE_TYPE_WAMIT }
 

Public Member Functions

void SetupFromFile (std::string fname, EFileType type, HullData *H)
 
void SetHullData (HullData *HD)
 
void SetTheoryFormulation (int theory)
 
void SetPhiAmplitudeHorizon (double horizon)
 
void GetViscousAddedMass (double u, double v, double r, Eigen::Matrix3d &Mat)
 
double GetViscousSurge (double u, double v, double r)
 
double GetViscousSway (double u, double v, double r)
 
double GetViscousYaw (double u, double v, double r)
 
double GetViscousRoll (double phiDot, double u=0)
 
double EddieDamping (double phiDot, double u=0)
 
double BilgeKeelDamping (double phiDot, double u=0)
 
double FricitonDamping (double phiDot, double u=0)
 
double LiftDamping (double phiDot, double u=0)
 
double SkegDamping (double phiDot, double u=0)
 
double SkegLiftDamping (double phiDot, double u)
 
void AddToRollTimeHistory (const double T, double RollAngle, const bool bIsMajorTimeStep)
 
void MakeBildgeKeel (double m_BilgeKeelStartPosition, double m_BilgeKeelEndPosition, double m_BilgeKeelHeight)
 
void MakeSkeg ()
 
void SetHorizontalDampingBlend (double blendSpeed, double blendFraction=0.5)
 
void SetDpDampingX (double Xu, double Xv, double Xr)
 
void SetDpDampingY (double Yu, double Yv, double Yr)
 
void SetDpDampingN (double Nu, double Nv, double Nr)
 
double ManeuverReferenceSpeed () const
 
void ManeuverReferenceSpeed (double val)
 

Protected Member Functions

double deltaWingKP (double A_ratio)
 
double deltaWingKV (double A_ratio)
 
double deltaWingCL (double alfa, double Kp, double Kv)
 
void ReadMainDimensionsVeres (std::string fname)
 
void ReadMainDimensionsWamit (std::string fname)
 

Protected Attributes

double m_maneuverReferenceSpeed
 
double m_viscousDampingBlender
 
double Yv_man
 
double Yr_man
 
double Yrd_man
 
double Yvd_man
 
double Nv_man
 
double Nr_man
 
double Nrd_man
 
double Nvd_man
 
double Xrr_man
 
double Xud_man
 
double Xvr_man
 
double Xvv_man
 
double Xvvvv_man
 
double Xu_dp
 
double Yu_dp
 
double Nu_dp
 
double Xv_dp
 
double Yv_dp
 
double Nv_dp
 
double Xr_dp
 
double Yr_dp
 
double Nr_dp
 
int m_bilgeKeelStartSection
 
int m_bilgeKeelEndSection
 
double m_startSectionFractionBK
 
double m_endSectionFractionBK
 
int rollDampingTheory
 
int m_withSkeg
 
int SkegStartSection
 
int SkegEndSection
 
int * SkegStartPoints
 
int * SkegEndPoints
 
HullDatamyHullData
 
double surfaceOfHull
 
double kinematicViscosity
 
double * SectionalNormalBilgeKeelForce
 
double * SectionalPressureOnHullFromBilgeKeels
 
double * SectionalEddieForce
 
double * bilgeKeelHeight
 
double * Ds
 
double * Bs
 
double * H0
 
double * SigmaS
 
double * A1
 
double * A3
 
double * Ms
 
double Lpp
 
double B
 
double T
 
double Cb
 
double VCG
 
double Lo
 
double Lr
 
double Kn
 
double * SectionLength
 
std::deque< double > phi_history
 
std::deque< double > time_history
 
double phiAmplitude
 
double phiAmplitudeTime
 
double m_rf
 
double OG
 
double phiAmplitudeHorizon
 
int numberOfStations
 
bool m_skegLift
 
bool m_hullLift
 

The documentation for this class was generated from the following file: