Repository navigation
feat: stochastic VIV band centre (VIV STOCHASTIC, Ulveseter et al. 2017) - #179
Conversation
An optional VIV STOCHASTIC section, rows TypeName sigma c [Nf [seed]], makes the centre cF of a line type's synchronisation band the slowly varying random process of Ulveseter, Thorsen, Saevik & Larsen (2017, Eq. 6 and Fig. 4): F0 = cF + sum_i a sin(p_i + 2 pi f_i theta), theta = integral U/D dt, Nf components (default 100) at the mid-points f_i = (i - 1/2) c cF/Nf of a flat spectrum over (0, c cF], amplitude a = sigma sqrt(2/Nf), so F0 has the mean cF and the standard deviation sigma. Each component advances at its non-dimensional frequency times U/D, as the shedding phase does (U the shedding speed of the phase rate). The start phases are uniform on [0, 2 pi), drawn per node from a minimal-standard stream that the seed, the node and the line select: the nodes are independent, as in the article, a run repeats its realisation and two lines of one type differ. The band half-width dF stays constant. theta is the one new state: one more row of each node's VIV motion statistics, so step recovery, snapshots, rollback and checkpoints (standalone and the OpenFAST mirror) carry it; the phases are rebuilt from the seed. The step advances theta by dt U/D at the mid-point and takes F0 at theta + dt U/(2D), the mid-point rule of the phase (#171). On EI = 0 lines and finite-EI cables, standalone and coupled, with or without in-line VIV; refused on a type without Cl > 0 or with a WAKE OSCILLATOR row. Checks (test_viv_stochastic, test_viv_coupled): - the process with the article's NDP values (cF 0.144, sigma 0.016, c 0.07, 100 components) over theta 0-4e6 has the mean cF to 2e-6, the standard deviation sigma to four digits and an excess kurtosis of -0.18; the phases repeat per seed and node and differ between them; - a sigma 0 row is the deck without it, bit for bit, on both cores; - with sigma 0.02 a run repeats bit for bit, another seed differs, and the taut cable stays locked in (A/D within 1 % of the constant centre's over 50-80 s on both cores); - the coupled checkpoint restart continues bit for bit with theta in both VIV blocks (one more value per node), a rebuild without the VIV state does not, and a rewound step repeats; - refusals: no Cl, a wake-oscillator type, c out of (0, 1], a non-integer Nf, a seed out of range. The EI = 0 model's explicit copy and move routines and its VIV row count (CD_Model_VIV_NMS) carry the new fields. Python reader and builder: the section, its native checks and a round trip. Driver format, theory (Stochastic band centre), capabilities, changelog and the reference (from the article's first page). Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Adds plan item H8: the stochastic synchronisation of Ulveseter, Thorsen, Sævik & Larsen (2017, Eq. 6 and Fig. 4). An optional
VIV STOCHASTICsection turns the centrecFof a line type's synchronisation band into a slowly varying random process:cFand standard deviationsigma.dF.EI = 0lines and finite-EI cables, standalone and coupled, with or without in-line VIV;Cl > 0or with aWAKE OSCILLATORrow.State and numerics
CD_Model_VIV_NMS) now carry the new fields.Checks
New test
viv_stochastic, plus a stochastic case inviv_coupled:sigma 0row against no sectionsigma 0.02Cl; wake-oscillator type;coutside (0, 1]; non-integerNf; seed out of rangeWider checks:
Docs
driver_format.md: the new section.theory.rst: a new "Stochastic band centre" section.capabilities.rst,CHANGELOG.md.references.rst: Ulveseter et al. (2017), checked against the article's first page.