Changelog
All notable changes to CableDyn are recorded in this file. The format follows Keep a Changelog and the project uses Semantic Versioning.
Unreleased
Added
Run-time profile of the standalone driver. With the environment variable
CABLEDYN_PROFILE=1, the driver prints at the end of the run how its wall time divides between input parsing, initialisation and statics, and the dynamic march. The march is split into the fluid sampled by the driver, the line, cable and object steps, the checks, the outputs, and the progress report. The profile also gives the committed steps and the time per step, the tension-only line steps and their Newton iterations, and (outside the mixedEI = 0+ finite-EI route) the finite-EI cable steps with their residual, tangent and solve counts and times. Every output file is the same with and without it. See the manual’s command-line page (Run-time profile).Torsion of finite-EI lines in coupled OpenFAST (
CompMooring = 5) and FAST.Farm runs. The End A frame of a line restrained in torsion turns with the platform orientation, the torque moment is returned to the platform,PtfmInittwists the line in the static initialisation, theTorq/Twistchannels are written, and the unwrapped twist is restored on a checkpoint restart. The C API and the standalone deck that mixesEI = 0and finite-EI lines without a body, which move the line ends by translation only, still refuse torsion columns by name, and so does OpenFAST linearisation of a line restrained in torsion. See the manual’s OpenFAST page (Line torsion).
Changed
Faster wave kinematics of directional and multi-train seas (
wavetrainrows, spectralwavesrows,WaveSpreading). Each component’s phase cosine is now computed once for the surface elevation and the kinematics, and its depth profile with one exponential instead of two.examples/chain_two_train_sea.datruns 17 % faster with the release build. The formulas are unchanged. With gfortran the results are bit-identical. With the Intel compiler of the release, which had computed the second cosine through a fused sine/cosine evaluation, they can differ in the last printed digit.Faster monolithic body steps with a finite-EI cable clamped or elastically connected to a body or rod. The cable’s finite-difference columns of the junction Jacobian, each of which re-steps the whole cable, are now kept and reused across steps like the mooring lines’ condensed tangent. They are rebuilt when 20 steps old, after a step that needed more than two outer iterations, when the step size changes, and from the third outer iteration of a step.
examples/buoy_clamped_cable.datruns 66 % faster with the release build, with the same outer iterations per step. The junction converges to the same tolerance, so results differ only within it, and by no more than the tolerance already allowed against a tightly converged run: tensions by about 2e-6 relative and the body position by under 1 µm.The OpenFAST linearisation check (
validation/scripts/openfast_lin_ab.py) now compares CableDyn’s quasi-static mooring stiffness entry by entry with stock MoorDyn’s zero-frequency reductionD - C A^-1 B, and fails above 0.5 %. It writes the.linfiles with the full-precisionOutFmtES24.15E3, lets MoorDyn settle its initial condition, and linearises at t = 0. Its default case is theexamples/openfastIEA-15 UMaine twin. On that case the per-fairlead stiffness agrees to 0.07–0.10 % (0.29 % for the transverse term), and the platform 6 × 6 diagonals agree to 0.10 % or better. The earlier record had called MoorDyn’s reduction unusable; with the 4-digit defaultOutFmtthe same case reproduces that asymmetric reduction, so the check now refuses a reference written below full precision. VALIDATION.md and the OpenFAST page of the manual are updated.The FAST.Farm shared-mooring comparison with stock MoorDyn now covers 600 s of the r-test
MD_Sharedfarm (validation/scripts/fastfarm_shared_ab.py): tension means agree to 0.02 %, extremes to 0.25 %, and platform motions to millimetres. The migration guide now says that on a line with noFixedendFairTenandAnchTenname the opposite ends from MoorDyn’s.
Fixed
The development environment (
environment.yml) excludes OpenBLAS 0.3.34, which caused the access violation in the modal analysis tests listed under Known issues for 0.1.1. On AMD Zen 4 and Zen 5 CPUs that expose AVX-512, OpenBLAS 0.3.34 enlarges the GEMM blocking, and its Zen and Haswell DGEMM kernels then overrun their stack buffer for an inner dimension above 128. This happens in builds without the AVX-512 kernels, such as the conda-forge Windows package, and in any build whenOPENBLAS_CORETYPEforces one of these kernels (OpenMathLib/OpenBLAS#6013 and #6021). The dense reference eigensolve (DSYGV) of the modal tests reached it. On hosted CI runners the fault appeared only on those runners whose AMD CPU exposed AVX-512. The solver itself calls only banded LAPACK routines and a 4 × 4 eigensolve, none of which passes DGEMM an inner dimension above 128, and the released Windows executables use reference LAPACK, so results are unchanged. An existing environment takes the exclusion withconda env update -f environment.yml, followed by a fresh build directory.
0.1.1 - 2026-10-09
Added
Torsion of finite-EI lines in the standalone driver (condensed, quasi-static, uniform torque):
END CONNECTIONScolumnsTorsStiffness NxX NxY NxZ [Pretwist], amotionFileroll column, the torque returned to Rigid6 bodies, channelsTorq<L>N<J>,Twist<L>N<J>andTwist<L>, range-graph columns,DeckModeland channel support in Python, and the exampletorsion_lazy_wave_hangoff_twist.dat. Validated in VALIDATION.md (Torsion). Routes outside its scope, coupled OpenFAST (NLR) runs included, stop with a named error; results without torsion are unchanged.
Changed
Python: NumPy arrays in the public functions carry explicit element types, and the package type-checks under
mypy --stricton Python 3.10 and on current NumPy. Tests that need the native shared library are skipped with a reason when it has not been built.The test suite runs in parallel (
ctest -j) and holds on hosted CI runners: the catenary reference solve converges from a robust start on every platform, and the driver-path tests check the case-insensitive spelling of an output root only on Windows.
Fixed
The standalone driver no longer ends without a word when its process is interrupted or hits a fatal fault. Ctrl+C, Ctrl+Break, closing the console window,
SIGINT,SIGTERMandSIGHUPare reported asCableDyn_driver: stopped by <cause>, and an access violation, a stack overflow or another fatal fault asCableDyn_driver: fatal error: <cause>. Both reports give the simulated time of the last committed step, and the exit status is unchanged. On Windows a fault report also names the module and offset of the fault and, for an access violation, the address read or written. Previously a stack overflow in a Windows GNU build ended the process with no message. Every thread that enters an OpenMP parallel region keeps room to report its own stack overflow, and on Linux and macOS a hardware fault reaches the handler that was there before (the Fortran runtime’s backtrace, or the default action and its core dump) with its original address and context, and a previous handler runs under its own flags and signal mask; a fault signal sent by another process (kill) is passed on as sent. A signal the driver was started with ignored (for example undernohup) stays ignored.Every non-zero exit the driver makes itself now ends stderr with the closing line
CableDyn_driver: ended with exit code <n>. A process ended from outside (taskkill /F, End task,kill -9) runs none of its own code and cannot report anything; the missing closing line now identifies it, sincetaskkill /Fleaves exit code 1, the same code as a refused input. The driver states this at start, after the banner, in anExit status:line.CableDynDriver.run,cabledyn-runandcabledyn-studyreport such a run as ended early, with the time its output reached, instead of relaying the start-up log as the error; with a driver that does not write theExit status:line (0.1.0 and earlier), a failure is reported with the driver’s own text as before. The documentation explains how to recognise each kind of early end and warns thattaskkill /IM CableDyn_driver.exe /Fends every CableDyn run on the computer. A run the Fortran runtime ends with its own error (for example when memory runs out) is reported as ended with a Fortran runtime error, quoting the runtime’s line.The static solve of a taut, neutrally buoyant finite-EI line (mass per length equal to the displaced mass) no longer depends on the sign of the round-off weight: a line whose total weight is below 1e-12 of its axial stiffness is seeded as a straight, uniformly stretched line. Previously the catenary seed could fail to close on some platforms.
Windows builds with gfortran: the
modaltest could stop with a stack overflow on some CPUs, because it kept 1.7 MB of dense matrices on the stack. Large test arrays and the initialisation workspaces of the coupled aggregate and the C API are now allocated on the heap, every executable of such a build reserves a 64 MiB stack, and the newstacktests run the library on a 1 MiB thread stack. Results are unchanged.The static Windows
openfast.execompiles the CableDyn adapter with/heap-arrays:1024, like the CableDyn core, so its run-time-sized arrays no longer use theopenfast.exestack.Builds with gfortran 16 are free of
-Wuninitializedwarnings; the reported values (the bounds of unallocated components) were never read.The EPUB edition of the manual no longer contains the
.nojekyllmarker file.Python:
DeckFilemessages for anEND CONNECTIONSrow name the line, the end and the offending value, and the unit of a main-output channel written with leading zeros in its ids (Ten01N04,Torq03N4) is recognised, as the driver accepts such names.Torsion: an imposed static twist
Pretwist(B) − Pretwist(A)above 1000 turns (for example a value given in the wrong units) now stops with a message naming the line and the value. Before, the static twist ramp could run for millions of stages.Torsion: installing a torsion description on a dynamic cable now invalidates its step snapshot, as a new end connection does, so a later restore cannot rewind to a state taken under the previous loads; a rejected description leaves the cable and its snapshot as they were, and ending a cable module also clears its torsion frame. End connections set after the torsion, and a torsion director that is not the rigid connection direction, are refused by name.
END CONNECTIONSrow errors now name the line, the end and the offending value.
Known issues
An intermittent access violation in the modal analysis tests has been seen on some hosted CI runners with GNU builds that use OpenBLAS 0.3.34. The cause is under investigation. The released Windows driver uses reference LAPACK and is not affected.
0.1.0 - 2026-10-01
First public release. Deck keywords, Python interfaces, and the C ABI are
versioned but may change before 1.0.0. The validation evidence for every item
below is in
VALIDATION.md.
Added
Lines and materials
Geometrically nonlinear tension-only (
EI = 0) elements for chains, wire ropes, and fibre ropes, and cubic-Hermite finite-bending elements for dynamic power cables, with continuous centreline curvature and no rotational degrees of freedom.Linear axial stiffness, Kelvin–Voigt damping, series-Kelvin viscoelasticity, and the Syrope polyester working-curve model with load-history initialisation. A
SYROPE ICline starts in the static equilibrium solved on itsTmax0working curve;Tmean0is accepted for MoorDyn compatibility but does not enter the state.Discrete attachments on finite-EI cables (
ATTACHMENTS): buoyancy modules and clumps (mass, displaced volume, normal and axial drag, added mass) at single arc lengths orfirst:pitch:lastseries, loaded by currents and waves in statics and dynamics, standalone and coupled.EQUIVALENT BUOYANCYremains the smeared alternative.Topology: fixed, coupled, free, and connected points; clump weights; rigid bodies and rods; finite-stiffness, clamped (
Rigid), or moment-free cable-end connections; line failure; and active unstretched-length control for tension-only lines.
Statics
Newton solution with catenary seeding, load continuation, mesh sequencing, adaptive meshing, section-interface preservation, and flat or gridded seabed contact. The initial condition of every run is the static equilibrium, solved directly.
Tension-only lines are seeded from the exact elastic catenary with frictionless-seabed complementarity, by one initialiser shared by the static and dynamic routes. Slack, taut, vertical, and finely meshed lines, soft or sloped seabeds, and anchors resting on the seabed are covered; compressed branches are rejected.
Finite-EI cables are solved from the exact
EI = 0catenary by continuation inEI, with energy-minimising stages and a physical-branch audit (no self-contact, stable tangent);cable_statics(defaultcontinuation) selects whether the continuation or the mesh-sequenced route runs first. A mesh that cannot resolve the equilibrium curvature is refined, graded toward rotationally restrained ends, and reported, and a mesh finer thansqrt(EI/EA)is named before the solve; a solve that stalls on such a mesh stops within seconds. A line too long for its span to hang as a catenary (over a flat or uniformly sloped seabed) is solved in the equilibrium its bending stiffness holds, reached by walking the anchor back into place from where the catenary exists. Over a flat seabed in still water, when that walk fails or reaches a state that loops through itself, the bow behind the fairlead is traced instead: the anchor starts beyond the fairlead, the grounded run is folded back to its side once it reaches it, and the anchor is walked into place. When neither is reached the solve stops naming the geometry. Withtensile_safety Truethe static refinement of a compression stops, naming it, once the compression is the reaction of a held end or a refined polish cannot follow it, and a walked bow compressed beyond a tenth of its peak tension is rejected before any refinement.The frictionless contact of a finite-EI line with a sloped structured seabed acts along the surface normal, as for tension-only lines, in statics and dynamics: the tension of a grounded run changes along the slope by the weight component.
A steady current (uniform or a depth profile) enters the static equilibrium, including the out-of-plane offset. A finite-EI line whose grounded run the current drives into compression is solved out of its plane; a current that leaves a line no tension-only equilibrium stops the solve with the compression named; in the plane of the line that diagnosis is not repeated on a refined mesh or at a looser tolerance, and the drag of the current is evaluated in parallel. A cable laid on the seabed with friction reaches its equilibrium in any current direction. A very strong current on a frictionless seabed can fold the line back past its anchor (a hairpin); that stable equilibrium is kept and a note names it. In a current along the plane of the line the equilibrium is selected on the deck mesh coarsened to the bending length, so a refined
NumSegsreaches the same equilibrium, and a planar equilibrium that is unstable out of its plane gives way to the stable 3D one.Free
Rigid6bodies, free rods, andFree/Connectpoints start at their static equilibrium (bodyIC, defaultstatic;deck bodyICkeeps the deck pose). The solve converges from poor deck poses and never returns an unstable equilibrium.A failed initialisation names the line or object, the seeds and solver stages tried, and the reason.
Dynamics
Implicit generalised-α integration with consistent structural, hydrodynamic, contact, and prescribed-motion terms, and internal step subdivision that never commits a partial state.
Finite-EI cables blend the internal forces of the two step ends (
alpha_force_blend, defaultTrue);False alpha_force_blendselects the configuration blend of the journal article.Rigid6 bodies,
Point3buoys, free and pinned rods, andFree/Connectpoints step monolithically with their lines (bodyScheme, defaultmonolithic): one implicit step with a Newton iteration on the object and point accelerations, each line returning its end reaction and condensed end stiffness. Bodies and rods are integrated at second order without numerical dissipation. By default (accuracy bodySubstep) the step is sub-divided to the phase accuracy of the stiffest body-mooring mode;none bodySubsteptakesdtMas given.staggered bodySchemekeeps the staggered predictor-corrector for one release; decks with amotionFileor aFAILUREsection, and the OpenFAST and C-API coupled routes, use it.A finite-EI cable end on a Rigid6 body point or a rod end can be clamped or carry a rotational spring; the connection turns with the object and returns its moment to it, in statics and dynamics.
Line modal analysis (
nModes): natural frequencies and mode shapes of every line about its static equilibrium, forEI = 0and cubic-Hermite lines, written to<root>.modes.out, by a banded solver that computes only the requested modes.The finite-EI tensile audit (
tensile_safety) judges the element-mean axial force averaged over three elements, the force that enters equilibrium, in the dynamic step and in the static contract alike, instead of the pointwise resultant, whose oscillation grows with the element length. A coarse mesh whose tensions and curvatures are converged is no longer read as compressed or refined for it (the Gulf of Mexico 80 m lazy wave under heave passes at 48 elements), and a genuine compression is still rejected on every mesh.A plausibility guard (
maxStrain, default0.5) stops a run whoseEI = 0lines reach a non-finite state or an element strain beyond the bound.After its first steps, a coupled step makes no heap allocation.
Environment
Buoyancy, Morison drag, added mass, Froude–Krylov loading, axial hydrodynamic loading, wetting, and current profiles. Finite-EI buoyancy at the free surface follows the partial immersion of the circular section.
Waves: Airy; random-phase
jonswapseas (WaveSeed); ISSC/Pierson–Moskowitz, Torsethaugen, and Ochi–Hubble spectra; cos-2s directional spreading (WaveSpreading,WaveDirections); up to 16 superposed wave trains (wavetrain); Dean stream-function waves (stream,StreamOrder); and a half-cosine wave ramp (rampTime).MoorDyn-C water kinematics:
WaveKin 3(wave_elevation.txt),WaveKin 7(wave_frequencies.txt), andCurrents 1(current_profile.txt). The other MoorDyn-C modes fail closed by name.Seabed contact on flat and sloped bathymetry (along the surface normal) with the same law in statics and dynamics, and stick-slip seabed friction on
EI = 0and finite-EI lines, isotropic (frictionMu) or anisotropic (frictionMuAxial,frictionMuLateral); rods and bodies use a velocity-regularised law. The friction state is committed with the step, the snapshots, and the OpenFAST checkpoint.
Bodies, rods, and points
Rigid6 bodies with weight at the centre of gravity, buoyancy at the centre of buoyancy, the full rigid-body mass matrix, and hydrostatic restoring (
C44/C55) about the body’s own axes. MoorDyn v2 14-columnBODIESrows are read. Buoyancy, drag, fluid inertia, and added mass follow the submerged fraction of an equivalent sphere (bodyWetting sphere, default);bodyWetting moordynandbodyHydro moordynreproduce MoorDyn’s always-wet body.Rigid rods (MoorDyn
ROD TYPES/RODS) with loads integrated overNumSegssegments, exact wet cross-sections at any tilt, and MoorDyn’s end added mass, end drag, and end fluid inertia, plus the axial Froude–Krylov force on the end caps.ROD TYPEScolumns 6–7 are MoorDyn’sCdEnd CaEnd; the axial side coefficientsCdAx CaAxare optional columns 8–9.rodHydro moordynreproduces MoorDyn’s surface-piercing rod moment.Rod topologies: rods fixed to a body (
Body<N>), pinned rods (Pinned), rods pinned to a body (Body<N>Pinned), zero-length rods, the MoorDynRODSattachment aliases andR<N>A/R<N>Bline attachments, and decks of bodies and rods without lines. One standalone march covers any mix of bodies, rods, points,EI = 0lines, and finite-EI cables.External loads (MoorDyn-F
EXTERNAL LOADS): constant force and linear or quadratic translational damping on Rigid6 bodies, in the global or body frame.A
FAILURErow may detach a line from a free Rigid6 body (standalone), for accidental-limit-state runs; the detached end moves as a free point.Standalone farm decks: a
TURBINESsection runs FAST.FarmTurbine<J>decks in the standalone driver, with per-turbine motion records in themotionFile.
Prescribed motion
motionFilerecords for coupled points, bodies, and rods.6-DOF vessel motion (
vesselMotion, aboutvesselRef): position and roll, pitch, and yaw in the OrcaFlexRz·Ry·Rxconvention or a unit quaternion, with velocities and accelerations. EveryCoupled/Vesselpoint moves rigidly with the vessel, and a finite orRigidend connection turns with it.RAO-driven vessel motion (
vesselRAO): a displacement RAO table in the OrcaFlex convention, driven by the deck’s linear sea (regular, spectral, spread, wave-train, or WaterKin) with the same component phases and ramp as the line kinematics.
Outputs
FairTen/AnchTenand the end-nodeTen<L>N<J>channels report the line-end force, as MoorDyn and OrcaFlex do: the end element’s force with axial damping and bending shear, plus the end node’s share of weight, seabed contact, and drag, without the end node’s inertia. At rest it is the static end reaction on every route. Finite-EI node tensions are segment tensions, as onEI = 0lines;.elements.outkeeps the pointwise extrema.Body, rod, and point channels with MoorDyn-F names (
Body<N>…,Rod<N>…,Point<P>Fx/Fy/Fz/FH), standalone and in OpenFAST.Range graphs (
LINESOutputsflagr): the minimum, maximum, and mean of effective tension, curvature, bend moment, declination, and seabed clearance at every node, in<root>.Line<L>.range.out;RangeStartleaves out a start-up transient.Touchdown channels
TDP<L>s,TDP<L>x/y/z,TDP<L>Lay, andTDP<L>Excfor a line grounded at one end, on every route including OpenFAST.
Standalone driver
CableDyn_driverwith documented input, output, exit-code, and convergence behaviour. Inputs are range-checked on every row, and errors name the deck line. Every number in a deck row, an option, or an auxiliary file must be finite and not subnormal, input magnitudes are bounded where larger ones would overflow the solver (listed in the deck format reference), and line attachments are unquoted point ids or rod ends read whole. Non-fatal notes flag an axial start-up shock from a prescribed motion, a slack line below its anchor on a deck without a seabed, an over-softkBot, time steps or meshes too coarse for a finite-EI line, and a static layout folded back past its anchor.The initialisation report, standalone and coupled to OpenFAST, prints the fairlead end-force vector with its own inclination and the line tangent angles on a separate
line tangentrow; the two angles differ by the end node’s share of the distributed load and, on a finite-EI line, the end shear.Arguments and file names are read as Unicode. The Windows release executables run with UTF-8 as their code page, so decks, outputs, and working folders may be named in any script whatever the system locale. The driver opens exactly the named file or refuses it with a reason (over-long paths and reserved device names, and, in a GNU source build, names the ANSI code page cannot spell). It never overwrites an input file and locks its output root.
OpenFAST module
CompMooring = 5: mixed mooring and power-cable systems, SeaState kinematics, an independent CableDyn time step (the largest multiple of the glueDTnot exceeding it), correction iterations, initial platform offset (PtfmInit), checkpoint/restart, quasi-static linearisation, active line control, and FAST.Farm shared moorings.Coupled/Vesselbodies and rods follow the platform as 6-DOF nodes of the coupling mesh and return the force and moment of their lines, hydrostatics, SeaState Morison loads, contact, external loads, and inertia. Coupled rods sample SeaState along their segments. Free Rigid6 bodies and rods share the deck with them and start at their static equilibrium with the platform atPtfmInit.Discrete cable attachments run on the coupled route with the host’s SeaState kinematics.
Linearisation fails closed on a deck with Rigid6 bodies or rods.
The coupled initialisation report and
<root>.CD.static.outgive the static equilibrium, solved before the SeaState kinematics act. The requestedOUTPUTSprinted at initialisation, the first<root>.CD.outrow and the first OpenFAST output row give the t = 0 values, which include the SeaState load at t = 0 on the line end nodes; the console labels each state.
C interface
Opaque model handles, checked lifecycle calls, fluid-kinematics exchange, motion input, load output, and C ABI version 1. Initialisation is thread-safe, and steps on distinct handles run concurrently.
CableDyn_Closereleases the calling thread’s OpenMP worker pool. OpenBLAS uses one thread per calling thread by default (CABLEDYN_BLAS_THREADS); a Windows GNU build that cannot load OpenBLAS fails with a message naming the library and each location tried.ABI 1 minor extension 1 (
CableDyn_GetAbiMinor) adds object queries:CableDyn_NObjects,CableDyn_GetObjectInfo,CableDyn_GetLineValues,CableDyn_GetPointState,CableDyn_GetBodyState,CableDyn_GetRodState, andCableDyn_EvalChannel, which read through the evaluator behind the output channels.CableDyn_InitDeckruns decks with finite-EI lines,Point3buoys, freeRigid6bodies, and free, fixed, or pinned rods on the coupled aggregate (still water).
Python package (cabledyn)
Native coupling through the C interface and standalone execution (
cabledyn-run), with atomic result replacement onoverwrite=True.Deck validation and loss-aware editing (
cabledyn-deck), parameter grids, and batch studies (cabledyn-study) with provenance manifests.DeckModel: an object model to build and edit decks, with reference-safe rename and remove, validated throughDeckFile.Readers for CableDyn, OpenFAST (text and binary), and MoorDyn outputs, including the output files of coupled runs. A channel that an OpenFAST OutList repeats is kept, the repeats renamed
<name>_2,<name>_3, … with a warning.Post-processing (
cabledyn-post): run comparison, resampling and zero-phase filtering, spectra and coherence, rainflow counting and damage-equivalent ranges, block and up-crossing extremes with Gumbel and Weibull fits, and line geometry.Fatigue and design checks for moorings and dynamic power cables: S-N and T-N curves with the published DNV-RP-C203, DNV-OS-E301, and API RP 2SK constants, Palmgren-Miner damage with an optional Goodman correction, damage along the arc, lifetime damage over the sea states of a batch study, MBR bend checks, and tension checks against MBL.
Range graphs, touchdown histories, results at a time as arc-length profiles, seabed and line-to-line clearance, and per-channel and per-line summary tables.
In-process object views (
CableDyn.lines,points,bodies,rods) andchannel()for any output channel.Snapshots: time-indexed geometry of every object with the seabed and free surface, recorded in-process or collected from driver output files, stored as.npz, and played byanimate()in Matplotlib.
Examples, validation, and distribution
Examples: catenary, taut, and semi-taut moorings; synthetic ropes; connected objects; bodies and rods; regular and irregular forcing; vessel motion; the IEA 15 MW VolturnUS-S platform; and the 80, 200, and 800 m reference lazy-wave power cables. The 80 m cable under prescribed heave runs on 64 elements, within 0.5 % of a 1024-element solution in fairlead tension and peak curvature, in under a second.
Validation record: analytical tests, comparisons with MoorDyn and OrcaFlex, the Holcombe lazy-wave and Bergdahl dynamic-chain experiments, coupled OpenFAST tests, refinement studies, performance measurements, and the reproduction of the journal article (validation/PAPER_REPRODUCTION.md). OrcaFlex comparisons are kept as the summary values the tests check; the scripts that regenerate the full OrcaFlex output for licence holders are included.
Acknowledgements of MoorDyn, OpenFAST, and OrcaFlex in the README and the manual.
Statically linked Windows executables (
CableDyn_driver.exe,openfast.exe) built with Intel IFX against the reference LAPACK/BLAS; Python wheel and source distribution; SHA-256 checksums; a Sphinx user manual; and cross-platform continuous integration.
Fixed
Corrections made during the pre-release review.
EXTERNAL LOADSreads the MoorDyn-F column orderID Object Fext Blin Bquad CSys. Rows withCSysin the third column are still read, and several rows on one object add up. IDs run 1, 2, 3, … in row order. A row on aPoint3body stops with an error (external loads apply to Rigid6 bodies only).On the coupled OpenFAST route, a deck
wavesoption stops with an error, because the host’s SeaState supplies the waves. A deckcurrentis kept as a steady current only on a single-turbine, pureEI = 0deck without Rigid6 bodies or rods whose SeaState carries no waves or current; otherwise it stops with an error.DeckFile(caller_driven=True)in the Python package applies the parts of this rule that the deck alone decides.The
EI = 0element tension behind theTenchannels, range graphs and line tension files includes the axial Kelvin–Voigt (BA) share, as the end forces already did.On sloped bathymetry,
EI = 0seabed damping and the friction capacity act along the floor normal, as on the finite-EI path; a level floor is unchanged.The static drag continuation follows its path in one consistent metric near a limit point.
A coupled step that fails after the body and rod update returns bodies and rods, as well as lines, to the start of the step.
CableDyn_Stepreportsconverged = stalled = falseandn_iter = 0for any step that does not commit, on every route.CableDyn_EvalChannelaccepts a buffer length with an embeddedNUL.Checkpoint restart and linearisation rebuild from a temporary deck copy written beside the
MooringFileand removed after use, so the files the deck names (bathymetry, WaterKin, Syrope tables) resolve as in the original run. The OpenFAST module says at initialisation that it provides no VTK visualisation meshes.A very large
WaveComponents×WaveDirectionsrequest is rejected instead of overflowing the component count.OPTION nModeson a deck that mixesEI = 0and finite-EI lines stops with a named error; that route writes no modal files.MoorDyn friction keywords (
mu_kT,mu_kA,mc,cv,FricDamp,StatDynFricScale),CoupledPinned/VesselPinnedrods,N0line-node channels and numbers with a sign inside the mantissa fail with a named error. A relativeWaveKinFileis resolved against the deck folder first, as in MoorDyn-F, then the WaterKin file’s folder.Python:
tension_checktakesstrength_factor(default 0.95, exported asDNV_OS_E301_STRENGTH_FACTOR); ananalysisorconsequence_classargument that does not belong to the chosen standard is rejected.Python:
RangeGraph.line_idmay beNone, andSeabedClearancehas aline_id;PowerSpectrum.windowis stored in canonical form ("hann","boxcar"); MoorDyn-FNode<J>ax/ay/azchannels are read.Python:
generate_deck_casesandDeckModel.save(rebase=True)copy the MoorDyn-C kinematics files (wave_elevation.txt,wave_frequencies.txt,current_profile.txt) next to the new decks, andcases.jsonrecords them undercompanion_files.Python:
DeckFilerejects the decks the solver rejects: theWaveKin 3/7andCurrents 1rules, thenModesrules, output-channel andFAILURErules, a non-positivedtWave, a JONSWAPgammaout of range, and an attachment beyond the line length.Documentation: every command in the manual, the examples and the validation records creates its output folder first; the source-build driver name (
cabledyn) and the release name (CableDyn_driver.exe) are both given; the validation record quotes the values of the shipped example decks and states which tension (end element orFairTenend force) each comparison uses.