Repository navigation
Commit 7d89bd2
committed
perf(multibody): full Newton for cables in the monolithic step
With OPTIONS modified_newton True every finite-EI cable reused its tangent
within a step. A cable in the monolithic step of the multibody march is
restored and stepped again from the same start at every coupling iteration,
and there the reuse cost more than it saved: mixed_body_rods_points.dat ran
in 7.0 s with the option against 5.8 s without (5.7-6.3 s with the cables
alone kept on full Newton). Such a cable now keeps full Newton; the other
solvers of the deck keep the option. The deck runs in 5.6 s with it.
The documented trade-off of the option is measured again on the examples
(one thread): 4-20 % faster on finite-EI cables, free-hanging or with a
touchdown; 12 % slower on an EI = 0 cable laid on a frictional seabed in a
current (a 600 s march), within a few per cent elsewhere on EI = 0 systems.
The former "about 1.5 times slower on finite-EI lines on the seabed" no
longer holds: the touchdown decks run 4-12 % faster with it.
Results without the option are unchanged.
Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>1 parent 0b8eee3 commit 7d89bd2
3 files changed
Lines changed: 22 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
362 | 366 | | |
363 | 367 | | |
364 | 368 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22586 | 22586 | | |
22587 | 22587 | | |
22588 | 22588 | | |
| 22589 | + | |
| 22590 | + | |
| 22591 | + | |
| 22592 | + | |
| 22593 | + | |
| 22594 | + | |
| 22595 | + | |
| 22596 | + | |
22589 | 22597 | | |
22590 | 22598 | | |
22591 | 22599 | | |
| |||
0 commit comments