|
| | CCable (const std::string &simObjectName, ISimObjectCreator *const creator) |
| | Reads parameters, registers states, input/output ports and shared resources.
|
| |
| void | OdeFcn (const double T, const double *const X, double *const XDot) const |
| | free allocated memory
|
| |
| void | InitialConditionSetup (const double T, const double *const currentIC, double *const updatedIC, ISimObjectCreator *const creator) |
| | Sets initial conditions based on the value of input ports.
|
| |
|
void | FinalSetup (const double T, const double *const X, ISimObjectCreator *const creator) |
| |
|
const double * | ForceA (const double T, const double *const X) |
| | retrieves pointer to environment object
|
| |
|
const double * | ForceB (const double T, const double *const X) |
| | output port. See PortDefs.h. Returns force at point A
|
| |
|
void | computeEndForces (const double T, const double *const X) const |
| | output port. See PortDefs.h. Returns force at point B
|
| |
| void | computeEndpoints (const double T, const StateFrame &frame) const |
| | computes free nodes and both end forces
|
| |
|
bool | HasJacobians () const override |
| | pointer to environment object
|
| |
|
void | OdeJacobian (double T, const double *X, double *J, int nStates) override |
| |
|
int | GetJacobianSparsity (int nStates, int *rowPtr, int *colIdx) override |
| |
|
| void | computeSegmentForces (const double T, const double *X, const double *pA, const double *pB, const double *vA, const double *vB, double *FA, double *FB, double waveBound, double *wetOut=nullptr) const |
| | Computes all forces acting on an element.
|
| |
| double | nodeMass (double wetHalves) const |
| |
| double | waveInertiaCoefficient () const |
| | (1 + Ca) rho A L of a segment, the factor of the wave excitation on the normal particle acceleration (R67).
|
| |
|
double | wetFraction (const double T, const double *pA, const double *pB, double waveBound, double *dWet_dpA=nullptr, double *dWet_dpB=nullptr) const |
| |
| void | computeVirtualPoint (const double *const target, const double *const point, const double *const targetVel, const double *const pointVel, double *virtualPoint, double *virtualPointVel, double residual, double dResidual) const |
| | Computes position and velocity of the virtual point.
|
| |
|
void | testPositiveParam (double value, ISimObjectCreator *creator, std::string valueName) |
| |
|
void | computeElementTension (const double *prev, const double *curr, double *force) |
| | test if a parameter is positive, and reports error if not.
|
| |
| SegmentSample | sampleSegment (const double T, const double *pA, const double *pB, double waveBound, bool withWetDerivatives) const |
| |
|
void | computeSegmentJacobian (const double T, const double *pA, const double *pB, const double *vA, const double *vB, SegmentJacobian &jac, double waveBound) const |
| | Computes the derivatives of all forces computeSegmentForces differentiates: structural and drag.
|
| |
| void | addSegmentHydrodynamicJacobian (const double T, const double *pA, const double *pB, const double *vA, const double *vB, SegmentJacobian &jac, double waveBound) const |
| |
|
|
double | m_cableLength |
| |
|
double | m_cableWeight |
| | total cable length [m]
|
| |
|
double | m_Emodulus |
| | cable weight [kg/m]
|
| |
|
double | m_tensileCrossSectionArea |
| | Young's modulus of load bearing material [Pa].
|
| |
|
double | m_displacementCrossSectionArea |
| | cross section area of load bearing material [m^2]
|
| |
|
double | m_diameter |
| | displaced fluid volume per meter cable [m^2]
|
| |
|
double | m_hydrodynamicDiameter |
| | cable diameter [m]
|
| |
|
double | m_submergedWeight |
| | effective hydrodynamic diameter [m]
|
| |
|
double | m_waterDensity |
| | weight of cable underwater [kg/m]
|
| |
|
double | m_internalDamping |
| | water density, the parameter Rho [kg/m^3]
|
| |
|
int | m_numElements |
| | structural axial damping. [N*s/m]
|
| |
|
double | m_elementMass |
| | number of elements in the cable [#]
|
| |
|
double | m_segmentMass |
| | mass of each free node: its two half-segments, one segment's mass (R96) [kg]
|
| |
|
double | m_segmentSubmergedMass |
| | mass of each segment [kg]
|
| |
|
double | m_segmentLength |
| | submerged weight of each element [kg]
|
| |
|
double | m_segmentStiffness |
| | length of spring between elements [m]
|
| |
|
int * | m_elementPositionIndex |
| | spring stiffness [N/m]
|
| |
|
int * | m_elementVelocityIndex |
| | The relative index of the position state in the state array for each element [#].
|
| |
| int | m_stateBase = 0 |
| | The relative index of the velocity state in the state array for each element [#].
|
| |
|
ISignalPort * | m_PositionA |
| |
|
ISignalPort * | m_PositionB |
| | input port. Position of point A [m]
|
| |
|
ISignalPort * | m_VelocityA |
| | input port. Position of point B [m]
|
| |
|
ISignalPort * | m_VelocityB |
| | input port. Velocity of point A [m/s]
|
| |
|
ISignalPort * | m_retractedLengthPortA |
| | input port. Velocity of point B [m/s]
|
| |
|
ISignalPort * | m_retractedLengthPortB |
| | amount of retracted cable at endpoint A [m]
|
| |
|
ISignalPort * | m_retractedSpeedPortA |
| | amount of retracted cable at endpoint B [m]
|
| |
|
ISignalPort * | m_retractedSpeedPortB |
| | retraction rate at endpoint A [m/s]
|
| |
|
double | m_endForceA [3] |
| | retraction rate at endpoint B [m/s]
|
| |
|
double | m_endForceB [3] |
| | reactive force at endpoint A [N]
|
| |
|
double | m_nodeForceA [3] |
| | reactive force at endpoint A [N]
|
| |
|
double | m_nodeForceB [3] |
| | force on first free node at endpoint A [N]
|
| |
|
double | m_wetEndA = 1.0 |
| | force on first free node at endpoint A [N]
|
| |
|
double | m_wetEndB = 1.0 |
| | wetted fraction of the segment from virtual point A to the first free node
|
| |
|
std::vector< double > | m_nodeWetHalves |
| | wetted fraction of the segment from the last free node to virtual point B
|
| |
|
double | m_retractedLengthA |
| | per node, the summed wetted fractions of its two half-segments
|
| |
|
double | m_retractedLengthB |
| | amount of retracted cable at endpoint A [m]
|
| |
|
int | m_retractedNodesA |
| | amount of retracted cable at endpoint B [m]
|
| |
|
int | m_retractedNodesB |
| | number of nodes currently on winch A
|
| |
|
double | m_virtualPointA [3] |
| | number of nodes currently on winch B
|
| |
|
double | m_virtualPointB [3] |
| | when cable is winched, the closest free node is attracted towards a ghost point "beyond" the actual endpoint [m]
|
| |
|
double | m_virtualPointVelocityA [3] |
| | when cable is winched, the closest free node is attracted towards a ghost point "beyond" the actual endpoint [m]
|
| |
|
double | m_virtualPointVelocityB [3] |
| | when cable is winched, the closest free node is attracted towards a ghost point "beyond" the actual endpoint [m/s]
|
| |
|
double | m_residualA |
| | when cable is winched, the closest free node is attracted towards a ghost point "beyond" the actual endpoint [m/s]
|
| |
|
double | m_residualB |
| | free length of closest free node [m]
|
| |
|
ICommonComputation * | m_computeEndForces |
| | free length of closest free node [m]
|
| |
|
const double * | m_posA |
| | computation node for endpoint reaction forces
|
| |
|
const double * | m_posB |
| | Position of point A [m].
|
| |
|
const double * | m_velA |
| | Position of point B [m].
|
| |
|
const double * | m_velB |
| | Velocity of point A [m].
|
| |
|
environment::EnvironmentProvider * | m_environment |
| | Velocity of point B [m].
|
| |