Repository navigation
CableDyn 0.5.0 is a wave-kinematics release for coupled OpenFAST runs.
- Waves with no grid over the lines. The lines can take SeaState's waves from its own wave components evaluated at the line nodes (
OPTIONS SEASTATE_SPECTRAL WaterKin). A sea at any heading, long- or short-crested, then needs no grid over the lines. The route is validated against converged SeaState grids. - The grid route stops when it can't carry the lines. It used to warn once and run on.
- The grid is sampled at the sample time. It no longer takes the kinematics one CableDyn step behind the nodes.
- Provenance records. Every run writes a record of its wave route and of what the wave-grid guard found.
- Cheaper coupled runs. Runs of a cable with the nodal twist take about a fifth less CPU time, with unchanged results.
- Syrope ropes start from more states.
Some outputs change, and some runs that ran before now stop. The table below lists them by route; the Upgrading section has the sizes.
What changes, and where
| Output | Standalone driver | C API and Python | OpenFAST and FAST.Farm |
|---|---|---|---|
Runs whose line nodes in the water lie outside the SeaState grid, or whose grid has NX = 2 or NY = 2 across a sea that varies along that axis |
— | — | stop at the start or at the first CableDyn step that finds it (OPTIONS waveGridCheck warn restores the warning) |
| Wave and current kinematics on the SeaState grid route (sampled where the nodes are at the sample time) | — | — | change at the level of the former one-step lag (fairlead-tension std within 0.001 % on the r-test chain mooring) |
| Syrope ropes loaded along their OWC (exact recovery) | change (1.4e-4 on the composite examples) | change | change |
| Syrope starts that failed (weight-sagged or lightly loaded ropes) | now start | same | same |
| Coupled runs with the nodal twist; output channels | — | — | bit-identical, about a fifth less CPU time |
Of the 66 shipped decks, 64 give byte-identical outputs to 0.4.3. The two Syrope composite examples are the exceptions; their tensions change by at most 1.4e-4 of a column's largest value.
Added
OPTIONS SEASTATE_SPECTRAL WaterKin(OpenFAST): the lines evaluate SeaState's first-order wave components at the line nodes. Each node evaluates them once per wave step at its position advanced to the middle of the step, and interpolates in time by cubic Hermite polynomials with the exact derivatives.- Every SeaState stretching mode is reproduced, and a
CurrMod = 1current is taken at each node's depth. OPTIONS waveKinTol(default1e-6) drops, per node, the components whose variances stay within that fraction at every depth the node reaches. The dropped variances are written to<root>.CD.wavekin.out.- Second-order kinematics,
WaveMod = 6,WvCrntMod1 or 2,CurrMod = 2and aWaveTimeShiftstop with a named message. - Validation: against λ/10 SeaState grids, each confirmed by its halving to 0.000 %, on two coupled IEA-15 MW cases (3600 s at 0°, 1200 s at 30°). The worst tension std differs by 0.30 % and curvature std by 0.51 %, within criteria of 1 % (std), 2 % (DEL) and 3 % (p99).
- Every SeaState stretching mode is reproduced, and a
- Provenance records: every OpenFAST, FAST.Farm and standalone run writes
<RootName>.CD.provenance.json(schemacabledyn.provenance/1). It holds the host, the wave route, a fingerprint of the sea, the SeaState grid, and per line the wave-grid guard's findings and the dropped variances. A restarted run writes the same record. integration/openfast/cabledyn_preflight.pychecks an OpenFAST case before it runs: grid coverage of the lines and hull, coarse axes, the amplitude kept at the shortest wavelength that matters, SeaState's memory and start-up peak, and whetherSEASTATE_SPECTRALtakes the case.cabledyn_logscan.pysummarises the guard's findings over many runs.
Changed
-
Wave-grid guard: a coupled run whose lines take SeaState's grid kinematics now stops in two cases:
- a line node in the water lies outside the grid, where SeaState gives it the kinematics of the grid boundary;
- the grid has
NX = 2orNY = 2across a sea that varies along that axis.
The message gives the time and, per line, the nodes outside.
OPTIONS waveGridCheck warnturns both checks back into warnings. -
Grid sampled at the sample time: the grid route samples at each node's position advanced to the end of the CableDyn step. It sampled at the step's start, a phase error of k·v·dtM. The guard and the provenance record check the positions sampled.
-
Cheaper coupled runs:
- CableDyn evaluates its output channels only at the steps OpenFAST writes.
- The nodal-twist residual skips an unused Hessian.
- Each output call reuses the twist of every element its fairlead transfer does not move.
On an operating IEA-15 MW deck with three chains and a 237-element lazy-wave cable (DT = 0.0125 s), the CPU time falls by 18 %. Every
.out,.CD.out,.linand restart is bit-identical.
Fixed
- Syrope OWC recovery: a rope at its running maximum had a band of slow strains over which its recovered tension did not change, so rounding chose the rest point. The recovery is now the exact inverse of the OWC.
- Syrope starts: a single-section line whose weight sags it taut now starts from the curve's alpha. A rope whose rest tension is a small part of its past one now settles; the static start accelerates its secants from the thirtieth iteration on.
Upgrading
-
OpenFAST cases whose SeaState grid covers only the platform (as the r-test
MD_Sharedtutorial file does) now stop at the start when the lines sample the grid. You can:- enlarge the grid over the lines;
- switch to
SEASTATE_SPECTRAL, after which the grid can shrink to the hull; - or set
waveGridCheck warnto keep the 0.4.3 behaviour.
cabledyn_preflight.pysays which applies before a run. -
Grid-route results move by the former one-step lag: within 0.001 % in fairlead-tension and cable std on the r-test chain mooring and on a lazy-wave cable at dtM 0.0125 s. On short windows of an operating, controlled turbine the trajectory amplifies any such change: 200 s stds moved by up to 1.4 %, below the 4 % between the single-precision release
openfast.exeand a double-precision build. -
Syrope ropes loaded along their OWC change by about the former interpolation error (1.4e-4 on the composite examples).
-
The L5 wall-clock records in
VALIDATION.mdare those of 0.4.2. They were not re-measured.
Assets
| Asset | Contents | SHA-256 |
|---|---|---|
CableDyn_driver.exe |
Standalone solver for Windows x64 with AVX2 (static, no runtime DLLs) | 4dfb4f963807d4f99cfddd404d0de28d587b58d77932a271aa74a3ee56fefa07 |
openfast.exe |
OpenFAST v5.0.0 with CableDyn as CompMooring = 5, Windows x64 with AVX2 |
2032cf7927d8d3c66d04f262be909f7feb542e2b1321c97adefb6aab1f10e876 |
cabledyn-0.5.0-py3-none-any.whl |
Python package | 24fa4e652846bafe763dba0a9920c557791d55b246369baf94bd53aa0c395f52 |
cabledyn-0.5.0.tar.gz |
Python source distribution | f34825dce6314ba65f6981a979b862cdad238f81e0d3a3f7d6cec63e4b6fc1cf |
SHA256SUMS.txt |
Checksums of the four files above |
The platform wheels with the native library and driver are on PyPI. The v0.5.0 tag is annotated, not signed.
CableDyn builds on OpenFAST (NLR, formerly NREL) and reads MoorDyn-format decks thanks to the open format of MoorDyn (Hall et al.). We thank both communities.
The build and test record is in validation/RELEASE_0_5_0.md; the full list of changes is in CHANGELOG.md.