Marine systems simulation
System::SimpleBuoy Class Reference
+ Inheritance diagram for System::SimpleBuoy:
+ Collaboration diagram for System::SimpleBuoy:

Public Member Functions

 SimpleBuoy (const string &simObjectName, ISimObjectCreator *const creator)
 
virtual void FinalSetup (const double T, const double *const X, ISimObjectCreator *const pCreator)
 
void OdeFcn (const double T, const double *const X, double *const XDot, const bool IsMajorTimeStep)
 
virtual const double * ConnectForce (const double T, const double *const X)
 
virtual const double * WaveElev (const double T, const double *const X)
 

Protected Member Functions

virtual const double * Position (const double dT, const double *const adX)
 Stabilization parameter (dependent on integrator time step), m_Tau <= 0.0: no stabilization.
 
virtual const double * Velocity (const double dT, const double *const adX)
 

Protected Attributes

ISignalPort * m_inPos
 
ISignalPort * m_inForce
 Input port.
 
double m_connectForce [3]
 Input port.
 
double m_waveElev
 Output varialbe.
 
double m_buoyPos [3]
 Output varialbe.
 
double m_connPos [3]
 
double m_connLength
 
double m_rho
 
double m_g
 Water density.
 
double m_c33
 Acceleration of gravity.
 
double m_K3D
 Spring stiffness z-direction.
 
double m_Cd_h
 3D body reduction effect (viscous forces)
 
double m_Cd_v
 Drag coefficient horizontal.
 
double m_radius
 Drag coefficient vertical.
 
double m_heightTotal
 Radius of the buoy.
 
double m_heightCone
 Height (Total included cone) of the bouy.
 
double m_offsetCables
 Bottom cone height of the buoy.
 
double m_cog
 Offset length cable mounting.
 
double m_freeBoard
 Center of gravity relative to base of cylindrical part of buoy.
 
bool m_solODE
 Free board. More...
 
Eigen::Quaternion< double > m_QuatL2G
 
double m_Mass
 
double m_addMass
 The mass of the object.
 
double m_damp
 Added mass used in equation of motion (ODE).
 
int m_IStatePos
 Linear damping used in equation of motion (ODE).
 
int m_IStateVel
 The index of the position state.
 
double m_Tau
 The index of the velocity state.
 
double m_outPos [3]
 
double m_outVel [3]
 
CEnvironmentm_Environment
 Sea environment variables.
 
double m_maxBuoyancy
 Pointer to DeepSeaGravityWaves -> CEnvironment. More...
 
double m_heightDrag
 
double m_rampTime
 
double m_Cm_h
 Froude-Kriloff and diffraction force.
 
double m_Cm_v
 

Member Data Documentation

◆ m_maxBuoyancy

double System::SimpleBuoy::m_maxBuoyancy
protected

Maximum buoyancy

◆ m_solODE

bool System::SimpleBuoy::m_solODE
protected

Solve ODE or not


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