FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
Rigid body cable

Rigid body cable.

+ Collaboration diagram for Rigid body cable:
Author
Jørgen Haavind Jensen
Date
21.06.2011 JHJ: Initial version.
Review issues:
0439 — Alpha, Beta and Epsilon gains of RbCable/RBCable, 6DofCable and Ring have no documented meaning

Example configuration excerpt

<Lib
LibName = "marine_elements"
SimObject = "RbCable/RBCable"
Name = "C"
numElements = "7"
Alpha = "1.0"
Beta = "1.0"
Epsilon = "0.0001"
BendingStiffness = "0"
LinearDamping = "0"
/>

Input Ports

Name Width Description
posA 3 Position of end point A.
posB 3 Position of end point B.
velA 3 Velocity of end point A.
velB 3 Velocity of end point B.

Output Ports

Name Width Description
forceA 3 The force the cable puts on end point A. The component along x is zero: the cable moves in the y-z plane (MARE-0010).
forceB 3 The force the cable puts on end point B. The component along x is zero.

Configuration parameters

Name Width Description
numElements 1 Number of internal mass elements.
Alpha 1 Constraint-solver gain (required). The author did not document its meaning (see the code; MARE-0439).
Beta 1 Constraint-solver gain (required). The author did not document its meaning (see the code; MARE-0439).
Epsilon 1 Constraint-solver gain (required). The author did not document its meaning (see the code; MARE-0439).
BendingStiffness 1 Bending stiffness (default: 0). Each pair of neighbouring elements gets opposite forces equal to this value times the difference of their z positions, wrapped at pi; see the code. @addoption{LinearDamping, 1, Linear damping between neighbouring elements, relative to the neighbours and never to the earth (owner ruling 2026-11-04\, MARE-0447): a dashpot with this value [force per velocity] between each two neighbouring elements on the translation and on the angle rate. A motion all elements share is not damped (default: 0). }

Initial conditions

Name Width Description
pos[i] 3 Position of point \(i \in {0\cdots\text{numElements}-1}\).
vel[i] 3 Velocity of point \(i \in {0\cdots\text{numElements}-1}\).

Full example file

<Contents>
<OBJECTS>
<Lib
LibName="environment"
SimObject="Environment"
Name="Environment"
Waves.Model="Component"
Waves.NumWaves="0"
Bathymetry.Depth="500"
Current.Model = "Constant"
Current.Vector = "1,0,0"
/>
<Lib
LibName = "marine_elements"
SimObject = "RbCable/RBCable"
Name = "C"
numElements = "4"
Alpha = "0.9"
Beta = "0.9"
Epsilon = "1e-6"
BendingStiffness = "0"
LinearDamping = "0"
/>
</OBJECTS>
<INTERCONNECTIONS>
<Connection
C.posA = "0,1,0"
C.posB = "0,1,12"
C.velA = "0,0,0"
C.velB = "0,0,0"
/>
</INTERCONNECTIONS>
<INITIALIZATION>
<InitialCondition
C.pos0 = "0,1,0"
C.pos1 = "0,1,1"
C.pos2 = "0,1,2"
C.pos3 = "0,1,3"
C.vel0 = "0,0,0"
C.vel1 = "0,0,0"
C.vel2 = "0,0,0"
C.vel3 = "0,0,0"
/>
</INITIALIZATION>
<SIMULATION>
<Timing TStart="0" TEnd="10"/>
<Integrator Method="RK45_i" NumCores="1" LogStates="0" UseRSSNorm="0">
<StepControl Step="1e-4" StepMax="100" StepMin="1e-6" AbsTol="1e-7" RelTol="1e-7"/>
</Integrator>
<!-- TODO migrate_v3: FileOutput="objects:states" -> configure via <OBSERVERS> section -->
</SIMULATION>
</Contents>