Skip to content

Commit 357f9eb

Browse files
authored
feat(cable): finite-EI lines with two moving ends, between two floaters or two objects, TURBINES rows turning both end frames (#75)
A finite-EI (cubic-Hermite) line may now have two moving ends: End B on a Coupled/Vessel point (a cable shared by two floaters, a FAST.Farm shared line), standalone, in OpenFAST, FAST.Farm and the C API, and End B on a Rigid6 body point or a rod end on the standalone multibody march (a cable between two objects). Both ends are driven, carry END CONNECTIONS and torsion, and return their loads to their hosts or objects. Base: dev e992e9f (#74); the series is rebased onto it from 6195432 (#71), past #72, #73 and #74. - HFMF boundary: a second driven end at internal node 1 (moving_b), with its own parent frame, end connection and torsion frame (the frames of both ends turn with their parents), its mirror block in the restart state, and a held End B (at rest, target equal to the committed position in either frame) that steps exactly as a Fixed End B. - Standalone: motionFile, vesselMotion/vesselRAO, TURBINES rows and the roll column drive End B as End A; Phi = Pretwist(B) - Pretwist(A) - roll(A) - roll(B), the roll of an end free in torsion twisting nothing. TURBINES decks start each end's Ez/Nx in its turbine's PtfmInit axes and turn both frames with the rows' rotations, as FAST.Farm does. - Aggregate, OpenFAST, FAST.Farm, C API: End B on a moving column of its own (cable_col_b), the turbine map, host orientations at both ends, CableDyn_GetCoupledLayout with the End B blocks; OpenFAST linearisation of such a cable fails closed (the linearisation of torsion from #73 stays for every other line). On the standalone mixed deck the roll columns of both ends twist the line. - Multibody march: End B's attachment, frames and loads (cab_*_b); the monolithic step re-steps a cable between two objects at every outer iteration and couples both objects' junction coordinates through its finite-difference end-to-end stiffness in the one Newton matrix; the static passes balance both objects on the cubic-Hermite end loads, accelerated by Anderson mixing (a stiff EI 1e6 clamped cable between two unequal moored bodies, out of their plane: 8 passes either direction, where the plain passes diverged); the staggered scheme takes pinned ends. A pinned cable with one moving end is coupled at the predictor whichever end that is, and an end on a fixed rod's end is the Fixed end there, so the result does not depend on the line's direction. A partitioned coupling was measured and not taken: on a stiff taut cable (EA 1e8 N) between 200 kg bodies at dtM 0.05 s it needed 9.2 mean outer iterations and 300 step halvings over 100 steps, the joint form 3.9 and none. An End B on a Free/Connect point, a Point3 buoy or a Coupled/Vessel point stays refused there by name. - Validation (native and the Python mirror): END CONNECTIONS and torsion admit those End B points; staticsFriction asLaid is refused on a moving End B. Where it meets the torsion routes of #73/#74 (one restrained end, torsion on Fixed and `Body<N>` rod ends, prescribed motion on the mixed deck): - check_torsion_line is the union of both scopes. Two cases neither solves are refused by name, natively and in deck_file.py: torsion at an End B on a rod end, and a rod End A restrained in torsion with a moving End B. A bending END CONNECTION takes any End B that holds a frame (ROD_END_B_NOTE is gone). - The restrained end decides, not any torsion on the line (line_torsion_at_a/line_torsion_at_b): connected_end, cab_clamp_b, the End B staggered refusal, the static pass tolerance and pinned-end skip, the roll columns, and the torsion turn limit of both bodies (an end free in torsion is not limited). clamp_object_frame takes the Fixed-rod normal of the end it frames; `Rod<N>` connection moments include End B. - Mixed deck: build_aggregate_motion now follows the two-ends moving-set order (End A columns, then End B columns) and cable_two_ends imposes Phi_0 - roll(A) - roll(B). Before, a deck whose End B point came first was refused and otherwise the roll did not twist the line (gate 8 below). - test_cable_between_bodies D: a Fixed-to-rod-end line and its reversal now write one output, since #74 turns a Fixed-to-rod line around as dev turns a Fixed-to-body line. Result changes: - The finite-EI compatibility (Cosserat) deck route is retired. Only three test decks reached it, all refusals or a run-only smoke; on four shared-line decks it failed to converge (three) or reached a static FairTen of -6.1e8 N (one), and the Hermite route runs all four. Decks with a line between two moving points now run on the Hermite route. - A torsion frame at a bending-pinned body or rod End A is refused on bodyScheme staggered (it ran with the frame held still and could spin the body through +-180 deg); the monolithic scheme turns it with the body. - Standalone TURBINES decks: an end on a `Turbine<J>` point takes Ez and Nx in the turbine's axes (turned by PtfmInit) and its frames turn with the TURBINES rows. Decks whose turbines start rotated or whose rows rotate, with end connections or torsion, change: on a clamped line twisted 90 deg between turbines rolling 10 deg in opposite senses the end torque at 1 s is 613.6 N m (788.1 N m before), tensions within 5e-7. No example uses TURBINES rows. Gates: - tests/test_two_moving_ends: a held Coupled End B writes the Fixed End B's files byte for byte (also at a 37 deg chord heading and in the modes); a symmetric cable whose ends move apart stays mirror-symmetric (4e-11 m); a rigid translation keeps the end loads (4e-5 N of 1.6e4 N); End B driven equals the reversed line driven at End A (1e-3 N; turning clamped End B 2e-5 N, 4e-7 N m); equal rolls keep the torque (3e-6 N m), opposite rolls change it by GJ (2 phi)/L (5e-6 N m); restarts bit-identical; FAST.Farm aggregate vs standalone: shared line 7e-3 N of 1.9e4 N, yawed turbines with torsion 7.6e-9, rolling turbines 3.4e-8 in every channel. - tests/test_cable_between_bodies: two mirrored bodies stay mirror images (monolithic clamped and staggered pinned, to the output precision); a body joined to a 1e15 kg body equals the body-to-Fixed line of the established route to 8e-9 (clamped, and twisted 90 deg); two free bodies with no external load keep the total linear momentum to 3e-5 and the energy to 0.2 %; a 90 deg twist returns equal and opposite torques GJ Phi/L (sum below 2e-10 N m); a moored pair starts balanced and stays at rest, its connection moments turning it from the pinned pitch; the stiff unequal pair converges forward and reversed to one equilibrium the still dynamics hold, and with its passes limited fails closed naming the line; either direction of a Fixed-point-to-rod-end cable gives the same output, and an End B on a fixed rod's end is the Fixed End B; a body-to-rod-end cable runs; refusals name their cause (the staggered torsion End A included). - tests/test_mixed_route_torsion gate 8: a line twisted 90 deg between two Coupled points beside a chain, both ends rolled by the roll column: rolled oppositely the twist stays 90 deg exactly (torque GJ Phi/L to 3.4e-6 N m); rolled equally 15 deg it is 90 - 2 roll to 5.0e-7 deg (4.7e-6 N m; the old code 30 deg and 262 N m); End B's point listed first gives the same figures (the old code refused the deck). - tests/test_rod_end_torsion, python/tests/test_deck_native_parity: the End B rod-end refusal and the shared staggered message. - Python validator: mirrors the march's End B refusals, the staggered refusal of a connected or torsional end at either end, and the two new torsion refusals. - C API and Python: host rotations at both end frames, the coupled layout driven through the documented host recipe, the asLaid mirror. Commits: the two-moving-ends commits rebased one by one, the three multibody commits (a finite-EI line between two objects, its review fixes, the Python mirror) as one with the torsion-route integration, then the Intel ifx #5151 continuation fix and the mixed-deck roll fix with gate 8. Two fixes from the checked Debug CI job: - `end_b_at_rest` no longer indexes `pdof_b` when End B is not driven (Fortran does not short-circuit `moving_b .AND. .NOT. end_b_at_rest(...)`; Release read a stray value it then discarded, Debug stopped on it). - A rod numbered as a body is no longer one of the body's attachment points (also in 0.3.0): a `Rod<N>A/B` end point keeps its rod's id where a `Body<N>` point keeps its body's, and the body's point list took both. New gate `body_rod_numbering`: the same deck with the arm rod numbered 1 and 3 now writes identical outputs; before, 200 of 203 rows differed (arm pitch 172 deg, body pitch 1.06 deg, a leg tension 3.0 kN in 1 s). The 25 tests the Debug job failed and the new gate pass on a local checked Debug build. Full ctest (341/341) and pytest (python/tests and tests with the native driver: 2179 passed, 75 skipped) pass; ruff check/format and mypy clean (the three numpy-stub notes dev already has aside), pre-commit clean, docs build with warnings as errors, no symbol both in a PUBLIC list and declared PUBLIC. A/B against the reference driver: 53 of 53 examples byte-identical. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
1 parent e992e9f commit 357f9eb

34 files changed

Lines changed: 5523 additions & 2086 deletions

‎CHANGELOG.md‎

Lines changed: 65 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,40 @@ All notable changes to CableDyn are recorded in this file. The format follows
1010

1111
### Added
1212

13+
- Finite-EI lines with two moving ends on the cubic-Hermite route: a line whose End B is a
14+
`Coupled`/`Vessel` point (a cable shared by two floaters, a FAST.Farm shared line) is driven at
15+
both ends standalone, in OpenFAST, FAST.Farm and the C API (End B on a moving column of its
16+
own), with `END CONNECTIONS` and torsion at both ends (both end frames turn with their
17+
parents) and every Hermite feature. A `Coupled` End B held at rest writes the `Fixed` End B's
18+
files byte for byte; a symmetric cable whose ends move apart stays mirror-symmetric to 4e-11 m;
19+
a rigidly translating line keeps its
20+
end loads to 4e-5 N of 1.6e4 N; driving End B matches the reversed line driven at End A to
21+
1e-3 N, with a turning clamped End B to 2e-5 N and 4e-7 N m; equal rolls of both end frames
22+
keep the torque to 3e-6 N m and opposite rolls change it by `GJ (2 phi)/L` to 5e-6 N m; a
23+
FAST.Farm aggregate driven by prescribed turbine motions reports the standalone deck's end
24+
tensions to 7e-3 N of 1.9e4 N; restarts are bit-identical. The compatibility (Cosserat) route
25+
these decks ran on is retired: on four shared-line decks it failed to converge or reached a
26+
compressive static state (-6.1e8 N), and the Hermite route runs all four.
27+
- A finite-EI line between two objects on the standalone multibody march: End B on a Rigid6
28+
`Body<N>` point or a rod end as well as End A, both ends driven by their objects and their end
29+
forces, connection moments and torques returned to them, with `END CONNECTIONS` and torsion at
30+
both ends (`bodyScheme monolithic`; the staggered scheme takes pinned ends). The monolithic step
31+
re-steps such a cable at every outer iteration and couples the junction coordinates of its two
32+
objects through its finite-difference end-to-end stiffness in one Newton matrix (on a stiff taut
33+
cable between light bodies, dropping that coupling took 9.2 mean outer iterations and 300 step
34+
halvings over 100 steps, against 3.9 and none); a pinned cable with one moving end is coupled at
35+
the predictor whichever end that is, and an end on a fixed rod's end is the `Fixed` end there
36+
(byte for byte). `bodyIC static` balances both objects on the cubic-Hermite cable, its passes
37+
accelerated by Anderson mixing: a stiff (EI 1e6 N m^2) clamped cable between two unequal moored
38+
bodies, out of their plane, converges in 8 passes, written in either direction, to the same
39+
equilibrium. Two identical bodies stay mirror images to the output precision, a body joined to
40+
an immobile body (1e15 kg) moves as on a `Fixed` End B to 8e-9, two free bodies keep the total
41+
linear momentum to 3e-5 and the energy to 0.2 %, a cable twisted 90 deg returns equal and
42+
opposite torques (`GJ Phi/L` at the start, their sum below 2e-10 N m), and a moored pair starts
43+
and stays at rest. An End B on a `Free`/`Connect` point, a `Point3` buoy or a `Coupled`/`Vessel`
44+
point stays refused there by name (this march drives no `Coupled` point), and so are, by name,
45+
torsion at an End B on a rod end and a line restrained in torsion at a rod End A with a moving
46+
End B, which no route of this build solves.
1347
- C API host rotations (ABI 1.3): `CableDyn_InitDeckRotating` initialises a handle whose host
1448
passes each coupled point's rotation (`CableDyn_UpdateRotations`: the global-to-body DCM and
1549
the angular velocity and acceleration) with every update and step, so a line restrained in
@@ -78,7 +112,11 @@ All notable changes to CableDyn are recorded in this file. The format follows
78112
(3 to 11 % in the cases tried) under the coupled Newton tolerance. A straight line rolled
79113
slowly gives `Torq = GJ Phi / L` to 5e-6 N m. A static mixed run (`TMax = 0`) with torsion
80114
takes `False alpha_force_blend`, as the single-line route and the Python reader do.
81-
`vesselRAO` stays refused with the deck waves.
115+
`vesselRAO` stays refused with the deck waves. A line between two moving points there takes the
116+
roll columns of both ends, `Phi = Pretwist(B) − Pretwist(A) − roll(A) − roll(B)`: rolled
117+
oppositely (a rigid roll about its axis) a line twisted 90 deg keeps its twist exactly, and rolled
118+
equally it twists by twice the roll to 5e-7 deg, with `Torq = GJ Phi / L` at both ends to
119+
5e-6 N m.
82120
- OpenFAST linearisation with the line dynamics, as MoorDyn-F's: the continuous states are the
83121
interior-node positions of every `EI = 0` line (MoorDyn's names and order) and the free
84122
degrees of freedom of every finite-EI cable (node positions and tangents), then their
@@ -247,6 +285,21 @@ All notable changes to CableDyn are recorded in this file. The format follows
247285
the fairlead already moved to row 1. A deck whose row 1 is off the deck fairlead changes
248286
`.static.out` only (a 2 cm offset changed the fairlead x by 0.02 m and its tension from 3.5 MN
249287
back to the static 29 kN); the example decks are unchanged.
288+
- Standalone `TURBINES` decks read the `END CONNECTIONS` direction `Ez` and torsion normal `Nx`
289+
of an end on a `Turbine<J>` point in that turbine's axes, turned by its `PtfmInit` rotation at
290+
the static start, as the FAST.Farm aggregate does (they were global). A deck whose turbines
291+
start rotated and whose finite-EI lines carry end connections or torsion changes; on a clamped
292+
line twisted 90 deg between turbines yawed +15 and -8 deg the standalone run now matches the
293+
FAST.Farm aggregate to 8e-9 in every channel. Decks without a `PtfmInit` rotation, or without
294+
end connections and torsion, are unchanged.
295+
- Standalone `TURBINES` motion rows turn the `END CONNECTIONS` and torsion frames of a finite-EI
296+
line end on a `Turbine<J>` point with the row's rotation, angular velocity and acceleration (End A
297+
and End B), as `vesselMotion` and the OpenFAST and FAST.Farm hosts do; they were held at their
298+
start orientation while the end moved. A `TURBINES` deck whose rows rotate the turbines and whose
299+
finite-EI lines carry end connections or torsion changes: a clamped line twisted 90 deg between
300+
turbines that roll 10 deg in opposite senses over 1 s ends at 613.6 N m of torque (788.1 N m
301+
before; the tensions change by under 5e-7) and matches the FAST.Farm aggregate to 3.4e-8 in every channel.
302+
No example deck uses `TURBINES` rows; the examples are unchanged.
250303
- `TMax = 0` checks the static start of any dynamic deck as it stands: a `motionFile` or
251304
`vesselMotion` record may run past `TMax` (its later rows are checked on the `dtM` grid and
252305
not used, so a long record also serves a shorter run), and `RangeStart` is accepted at
@@ -294,6 +347,13 @@ All notable changes to CableDyn are recorded in this file. The format follows
294347

295348
### Fixed
296349

350+
- A rod numbered as a body no longer joins the body's attachment points. A `Rod<N>A/B` end point
351+
keeps its rod's id where a `Body<N>` point keeps its body's, and the body's point list took
352+
every point with its id: a rod end POINT row listed before the body's points became the body's
353+
first point, and the list overran its allocation (also in 0.3.0). A free body on three legs with
354+
a pinned arm rod numbered 1, its tether on an explicit `Rod1B` POINT listed first, now writes
355+
the outputs of the same deck with the arm as rod 3 bit for bit; before, the arm turned 172 deg
356+
in pitch, the body 1.06 deg, and a leg tension moved 3.0 kN in 1 s.
297357
- In OpenFAST, Free Rigid6 bodies and Free, Pinned and CoupledPinned rods started their first
298358
step from zero acceleration: the module restores its state mirror after the output call at
299359
`t = 0`, which marked the objects' accelerations as committed before the start accelerations
@@ -328,6 +388,10 @@ All notable changes to CableDyn are recorded in this file. The format follows
328388
and buoyancy modules had no mass (with `nModes`, the first six frequencies of
329389
`lazy_wave_buoyancy_modules.dat` drop by 13 % to 29 %). The positions and translations of a
330390
line with a heading are written in the deck's axes, not the line's.
391+
- A finite-EI line restrained in torsion whose bending-pinned End A is on a body or a rod is
392+
refused on `bodyScheme staggered`, as a clamped End A is: that scheme passes cable ends as point
393+
forces and held the torsion frame still while the body turned (a body could spin through +-180
394+
deg); `bodyScheme monolithic` turns the frame with the body.
331395
- A deck with a WaterKin elevation history (`WaveKinMod 1`) at `TMax = 0`, a check of the static
332396
start, reduces the record over its own length instead of failing for want of a positive
333397
`TMax`.

‎CMakeLists.txt‎

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1682,6 +1682,17 @@ if(Python3_Interpreter_FOUND)
16821682
TIMEOUT 600
16831683
ENVIRONMENT "${_cabledyn_python_test_environment}")
16841684

1685+
# A rod numbered as a body is not one of the body's points: a Rod1B end POINT listed before
1686+
# the Body1 points gives the run of the same deck with the rod renumbered, bit for bit.
1687+
add_test(NAME body_rod_numbering
1688+
COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/tests/test_body_rod_numbering.py
1689+
--exe $<TARGET_FILE:cabledyn>
1690+
--output ${CMAKE_BINARY_DIR}/body_rod_numbering)
1691+
set_tests_properties(body_rod_numbering PROPERTIES
1692+
LABELS "python;driver;integration;dynamic"
1693+
TIMEOUT 600
1694+
ENVIRONMENT "${_cabledyn_python_test_environment}")
1695+
16851696
# Anchor uplift channels (AnchFz/AnchFH, TDP<L>Grd): the analytic laid and suspended elastic
16861697
# catenaries, the Point<P>F identity on every standalone route, and a surge that lifts the
16871698
# anchor of a catenary (needs numpy).
@@ -2182,6 +2193,16 @@ add_test(NAME parity_integration
21822193
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/parity_integration)
21832194
set_tests_properties(parity_integration PROPERTIES LABELS "fortran;driver;integration;dynamic;openfast")
21842195

2196+
add_executable(test_two_moving_ends tests/test_two_moving_ends.f90)
2197+
target_link_libraries(test_two_moving_ends PRIVATE cabledyn_core)
2198+
add_test(NAME two_moving_ends COMMAND test_two_moving_ends)
2199+
set_tests_properties(two_moving_ends PROPERTIES LABELS "fortran;driver;integration;dynamic;openfast")
2200+
2201+
add_executable(test_cable_between_bodies tests/test_cable_between_bodies.f90)
2202+
target_link_libraries(test_cable_between_bodies PRIVATE cabledyn_core)
2203+
add_test(NAME cable_between_bodies COMMAND test_cable_between_bodies)
2204+
set_tests_properties(cable_between_bodies PROPERTIES LABELS "fortran;driver;integration;dynamic;static")
2205+
21852206
add_executable(test_section_curvature tests/test_section_curvature.f90)
21862207
target_link_libraries(test_section_curvature PRIVATE cabledyn_core)
21872208
add_test(NAME section_curvature COMMAND test_section_curvature)
@@ -2696,12 +2717,13 @@ cabledyn_msg_test(quiet_catenary ../../examples/chain_catenary_r3_100m.dat 0 ""
26962717
cabledyn_msg_test(shared_line msg_shared_line.dat 1
26972718
"LINE 1 End B .NodeB, POINT 2, coupled. must be a Fixed .anchor. point;Workaround for this EI=0 line: split it into two lines that meet at a Connect point"
26982719
"cannot be split")
2699-
# A finite-EI shared line cannot be split at a Connect point: that advice is not given.
2720+
# A finite-EI line between two Coupled points has both ends driven: neither the End B refusal nor
2721+
# the Connect-point split advice is given; as a static deck it asks for dtM and TMax.
27002722
cabledyn_msg_test(shared_line_finite_ei msg_shared_line_finite_ei.dat 1
2701-
"finite-EI LINE 1 End B .NodeB, POINT 2, coupled. must be a Fixed .anchor. point;A finite-EI line cannot be split at a Connect point either;anchor it on a Fixed point"
2702-
"Workaround")
2723+
"finite-EI section .EI>0. requires a dynamic deck with dtM and TMax"
2724+
"Workaround;must be a Fixed")
27032725
cabledyn_msg_test(pliant_connect_end_b msg_pliant_connect_end_b.dat 1
2704-
"finite-EI LINE 1 in a mixed-topology deck needs a Fixed End B;End B is POINT 2 .connect.;Anchor the cable on a Fixed point"
2726+
"finite-EI LINE 1 in a mixed-topology deck: End B is POINT 2 .connect.;is not supported on the multibody march;End the cable on a Fixed point"
27052727
"")
27062728
cabledyn_msg_test(mixed_current msg_mixed_current.dat 1
27072729
"the deck current OPTION is not supported for a standalone mixed EI=0/finite-EI deck;runs the mooring in STILL WATER;couple the deck to OpenFAST .CompMooring = 5. with SeaState"
@@ -2908,7 +2930,8 @@ if(CMAKE_Fortran_COMPILER_ID STREQUAL "GNU")
29082930
test_control_torsion
29092931
test_endconn_spring
29102932
test_torsion_coupling
2911-
test_torsion_one_end)
2933+
test_torsion_one_end
2934+
test_two_moving_ends)
29122935
target_compile_options(${_cabledyn_exact_real_test} PRIVATE -Wno-compare-reals)
29132936
endforeach()
29142937
target_compile_options(test_openfast_aggregate PRIVATE

‎doc/api_reference.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ follow `CD_[Action]_[Object]`.
7777

7878
## Secondary Cosserat path
7979

80-
The rotation-DOF Cosserat rod path (CTest label `cosserat`) backs the finite-EI compatibility
81-
route for lines with two moving ends.
80+
The rotation-DOF Cosserat rod path (CTest label `cosserat`) is a separate, verified library path;
81+
no deck route runs on it (a finite-EI line with two moving ends runs on the cubic-Hermite route).
8282

8383
```{list-table}
8484
:header-rows: 1
@@ -95,7 +95,7 @@ route for lines with two moving ends.
9595
* - `CableDyn_CosseratDynamic`, `CableDyn_CosseratEMC`
9696
- generalised-α dynamics and an energy-conserving integrator option
9797
* - `CableDyn_FiniteEIModel`, `CableDyn_FiniteEIStatic`
98-
- the finite-EI compatibility-route model and grounded static equilibrium
98+
- the Cosserat-path line model and its grounded static equilibrium
9999
```
100100

101101
## Hydrodynamics and contact

‎doc/capabilities.rst‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,12 @@ Line and constitutive capability
6262
* - Finite-EI bending cable
6363
- Supported
6464
- production cubic-Hermite static/dynamic path for suspended and flat/structured
65-
seabed-contact cables in standalone and OpenFAST-coupled use; the uncommon
66-
two-moving-end standalone topology uses a separate compatibility solver
65+
seabed-contact cables in standalone and OpenFAST-coupled use; a line between two moving
66+
points (End B on a ``Coupled``/``Vessel`` point: a cable shared by two floaters, a
67+
FAST.Farm shared line) has both ends driven, standalone, in OpenFAST, FAST.Farm and the C
68+
API, with end connections and torsion at both ends; on the standalone multibody march
69+
a line between two objects (both ends on Rigid6 bodies or rod ends) is driven by both
70+
objects, coupled in its monolithic step and balanced in its static solve
6771
* - Mixed ``EI = 0`` + finite-EI deck
6872
- Supported with route limits
6973
- a mixed deck of lines between held or coupled points only (no bodies, rods, or
@@ -116,14 +120,12 @@ Line and constitutive capability
116120
* - Discrete attachments (``ATTACHMENTS``: buoyancy modules, clumps)
117121
- Supported
118122
- lumped at nodes of a finite-EI cable, standalone and coupled, also on a line restrained in
119-
torsion (they add no polar inertia to its twist); rejected on the two-moving-end
120-
compatibility solver
123+
torsion (they add no polar inertia to its twist)
121124
* - Bend stiffeners (``STIFFENERS``)
122125
- Supported with limits
123126
- tapered linear-elastic sleeve over a finite-EI line end, adding bending stiffness, mass,
124127
buoyancy and drag per element, standalone and coupled; nonlinear (moment–curvature)
125-
materials and bend restrictors are not provided; rejected on the two-moving-end
126-
compatibility solver
128+
materials and bend restrictors are not provided
127129
* - Modal analysis (``nModes``)
128130
- Standalone only
129131
- natural frequencies and mode shapes of each line about its static equilibrium (all
@@ -135,7 +137,7 @@ Line and constitutive capability
135137
- MoorDyn v2's synchronisation model on ``EI = 0`` lines and, as a distributed lift, on
136138
finite-EI cables of the Hermite and multibody marches (:ref:`theory-viv`), with the
137139
host's fluid field on the coupled routes and its state in the checkpoint; in-line VIV is
138-
not provided; a finite-EI line with two moving ends refuses ``Cl > 0`` by name
140+
not provided
139141

140142
Loads and environment
141143
---------------------

‎doc/capi.rst‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,9 @@ initialised.
414414
One ``x, y, z`` block for every host-driven point and nothing else: first the
415415
``Coupled``/``Vessel`` points attached to an ``EI = 0`` line, in ``POINTS`` table order,
416416
then the fairlead (End A, which must be ``Coupled``/``Vessel``) of each finite-EI line, in
417-
``LINES`` table order. ``Fixed`` anchors, ``Free``/``Connect`` points, bodies and rods have
418-
no block.
417+
``LINES`` table order, then the End B of each finite-EI line whose End B is also
418+
``Coupled``/``Vessel`` (a line between two moving points, driven at both ends), in ``LINES``
419+
table order. ``Fixed`` anchors, ``Free``/``Connect`` points, bodies and rods have no block.
419420

420421
``CableDyn_InitLine``
421422
``n_fixed`` entries. Entry ``k`` is the DOF ``fixed_dofs[k]``, in the order the caller
@@ -1990,7 +1991,9 @@ allocatable data does. There is no serialisation of the state to a caller buffer
19901991

19911992
The host drives the ``CD_C_POINT_COUPLED`` blocks. On the point route the blocks are the
19921993
line-bound points of every type in ``POINTS`` order; on the aggregate route they are the
1993-
``Coupled``/``Vessel`` points only (`Coupled DOF layout`_). A handle initialised from raw arrays
1994+
``Coupled``/``Vessel`` points only (`Coupled DOF layout`_), and a finite-EI line between two
1995+
``Coupled`` points has one block per end, its End B block after the fairleads of all
1996+
finite-EI lines, so that point id appears once per line end it carries. A handle initialised from raw arrays
19941997
has no deck points, and the call returns ``CD_C_BAD_INPUT``: its coupled vector is the caller's
19951998
own ``fixed_dofs`` list. A wrong ``n_block`` returns ``CD_C_BAD_INPUT``.
19961999

0 commit comments

Comments
 (0)