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

Public Member Functions

 RingCoRiBoForces (CoRiBoDynamics::ConstraintSolver *solver, CEnvironment *environment, double timeConstant, const vector< CoRiBoDynamics::RigidElement * > &elements, System::SimpleFloatingCollar::forceCoefficients *coefficients)
 
void ComputeConstraints (const double T, const double *const X)
 
- Public Member Functions inherited from CoRiBoDynamics::ConstraintSet
 ConstraintSet (ConstraintSolver *solver)
 
virtual void ComputeConstraints (const double T, const double *const X)=0
 

Protected Attributes

vector< CoRiBoDynamics::RigidElement * > m_elements
 
double m_timeConstant
 
CEnvironmentm_environment
 
double m_numTubes
 
double m_elemMass
 Number of tubes

 
double * m_Ca
 Mass for an element in the ring structure.
 
double * m_Cb
 Added mass coefficient array for Mass matrix and diffraction force. 1.0 is equal to mass of displaced water equal to 0.5*rhowater*pi*elemeradius^2*elemlength.
 
double m_elemVolume
 Potential wave damping coefficient array for Mass matrix and diffraction force. 1.0 is equal to mass of displaced water equal to 0.5*rhowater*pi*elemeradius^2*elemlength.
 
double m_elemArea
 Volume for an element in the ring structure.
 
double m_elemProjArea
 Area of each element (ommitting circular end patches)
 
double m_elemCrossSectArea
 Projected area of element (2*elementRadius*elementLength)
 
double m_elemRadius
 Cross sectional area of each element in the ring structure (pi*radius^2)
 
double m_elemLength
 Diameter for an element in the ring structure.
 
double m_Cd_n
 Length of each element in the floating collar.
 
double m_Cd_t
 Normal drag coefficient for an element in the ring structure.
 
double m_rhoWater
 Tangential drag coeffocient.
 
double m_g
 Water density.
 
int m_numBridles
 Acceleration of gravity. Not usually something you want to meddle with.
 
int * m_BridleElemIndex
 Number of bridles connected to floating collar.
 
double * m_BridleForces
 Pointer to array holding element index of bridle connection points.
 
int m_numNetConnectors
 Pointer to array holding forces from bridles on the elements.
 
int * m_NetElemIndex
 Number of net connections to floating collar.
 
double * m_NetForces
 Pointer to array holding element index of net connection points.
 
int m_numChains
 Pointer to array holding forces from the net on the elements.
 
int * m_ChainElemIndex
 Number of Chains connected to floating collar.
 
double * m_ChainForces
 Pointer to array holding element index of Chain connection points.
 
double m_heaveRAO
 Pointer to array holding forces from Chains on the elements.
 
int m_NumConPoint
 Contact.
 
int * m_ContactElemIndex
 
double * m_ContactElemForce
 
double * m_BridlePos
 Contact.
 
double * m_NetPos
 
double * m_ChainPos
 
double * m_ContactPos
 

Additional Inherited Members

- Protected Member Functions inherited from CoRiBoDynamics::ConstraintSet
const std::vector< RigidElement * > & ElementVector ()
 
void addConstraintResultantForce (int element, const vec6 &Force)
 
const vec3 Acceleration (int element)
 
const vec3 AngularAcceleration (int element)
 
const vec6 SecondDerivatives (int element)
 
void addMatrix (int i, int j, const mat6 &M)
 

Member Function Documentation

◆ ComputeConstraints()

void System::RingCoRiBoForces::ComputeConstraints ( const double  T,
const double *const  X 
)
virtual

Computes and returns the constraint system matrix for the current states (T and X). Adds constraint forces.

Implements CoRiBoDynamics::ConstraintSet.


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