Base Shear and Overturning Moments¶
Overview¶
The moments module calculates applied hydrodynamic forces and moments for fixed offshore structural members.
It extends the distributed loading module using three-dimensional Cartesian moment integration.
Coordinate system¶
- x and y are horizontal coordinates.
- z is positive upwards.
- The still water level is z = 0.
- The seabed is z = -h.
- Moments follow the right-hand rule.
- All physical quantities use SI units.
The moment reference must be supplied explicitly when a seabed reference is required.
Concentrated force moment¶
For a force acting at a global position r,
The Cartesian components are
Here the position components are relative to the moment reference point.
Distributed loading¶
The integrated force is
The integrated moment is
Actual submerged member length is used.
Horizontal and vertical contributions¶
The horizontal-force moment is calculated using
The vertical-force moment is calculated using
Their signed vector sum equals the total moment.
For loading in the x-z plane,
Vertical hydrodynamic forces on inclined members can contribute to global overturning.
Drag and inertia contributions¶
Morison drag and inertia moments are integrated separately.
Global structural resultants¶
Horizontal base shear magnitude:
Overturning moment magnitude:
Vertical-axis torsion:
These quantities describe applied hydrodynamic loading, not structural support reactions.
Reference transfer¶
Moments can be transferred between reference points:
Resultant line of action¶
The closest central-axis position relative to the moment reference is
A residual couple parallel to the resultant force may remain.
The central axis is undefined for zero resultant force.
Engineering example¶
from fluidmec.hydrodynamics import (
wave_current_member_force_moment,
base_shear,
overturning_moment,
)
result = wave_current_member_force_moment(
start=[0, 0, -40],
end=[0, 0, 0],
wave_height=0,
period=8,
depth=40,
time=0,
diameter=4,
current_velocity=2,
reference=[0, 0, -40],
)
print(base_shear(result["total_force"]))
print(overturning_moment(result["total_moment"]))
Expected values:
- Base shear: 328000 N.
- Overturning moment: 6560000 N m.
For a linear current profile, specify current_exponent=1.
The corresponding overturning moment is 3280000 N m.
Numerical verification¶
Verification includes:
- Independent Cartesian cross products.
- Reference-point transfer.
- Horizontal and vertical force decomposition.
- Analytical uniform and power-law current loading.
- Polynomial distributed load integration.
- Independent Airy inertia moment integration.
- Consistency with the distributed loading module.
- Endpoint reversal invariance.
- Numerical convergence.
- Multidimensional time arrays.
Structural load combination¶
Member force and moment vectors must be summed at a common time and about a common reference.
Individual peak magnitudes must not be added and reported as simultaneous global peak loading.
Assumptions and limitations¶
- Fixed straight circular cylindrical members.
- Constant diameter and Morison coefficients.
- Linear Airy wave kinematics.
- Prescribed steady currents.
- Mean submerged geometry.
- No diffraction or wake shielding.
- No instantaneous wetting or drying.
- No structural dynamic response.
- No soil-structure interaction.
- No structural stress or buckling calculations.
- No structural design safety factors.
The illustrative jacket example is a hydrodynamic load calculation, not a structural safety assessment.
Visualisation¶
Run:
python examples/hydrodynamic_moments_example.py
Outputs are saved under outputs/lesson31/.
API reference¶
fluidmec.hydrodynamics.moments
¶
Base shear and overturning moments for offshore members.
All physical quantities use SI units.
Cartesian vectors occupy the final array axis. Moments follow the right-hand rule. Returned loads are applied loads, not support reactions.
moment_of_force
¶
moment_of_force(position: ArrayLike, force: ArrayLike, *, reference: ArrayLike = (0.0, 0.0, 0.0)) -> np.ndarray
Calculate a Cartesian moment in N m.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
position
|
array_like
|
Global force application position in metres. |
required |
force
|
array_like
|
Applied force vector in newtons. |
required |
reference
|
array_like
|
Moment reference point in metres. |
(0.0, 0.0, 0.0)
|
Returns:
| Type | Description |
|---|---|
ndarray
|
Moment vector, following the right-hand rule. |
Source code in src/fluidmec/hydrodynamics/moments.py
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | |
transfer_moment
¶
transfer_moment(moment: ArrayLike, force: ArrayLike, *, old_reference: ArrayLike, new_reference: ArrayLike) -> np.ndarray
Transfer a resultant moment to a new reference.
The resultant force remains unchanged.
Source code in src/fluidmec/hydrodynamics/moments.py
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | |
base_shear
¶
base_shear(force: ArrayLike) -> float | np.ndarray
Return the horizontal resultant force in N.
Source code in src/fluidmec/hydrodynamics/moments.py
139 140 141 142 143 144 145 | |
vertical_resultant
¶
vertical_resultant(force: ArrayLike) -> float | np.ndarray
Return the signed vertical force in N.
Source code in src/fluidmec/hydrodynamics/moments.py
148 149 150 151 152 153 154 | |
overturning_moment
¶
overturning_moment(moment: ArrayLike) -> float | np.ndarray
Return the horizontal moment magnitude in N m.
Source code in src/fluidmec/hydrodynamics/moments.py
157 158 159 160 161 162 163 | |
torsional_moment
¶
torsional_moment(moment: ArrayLike) -> float | np.ndarray
Return the signed moment about the vertical axis.
Source code in src/fluidmec/hydrodynamics/moments.py
166 167 168 169 170 171 172 | |
moment_force_contributions
¶
moment_force_contributions(position: ArrayLike, force: ArrayLike, *, reference: ArrayLike = (0.0, 0.0, 0.0)) -> tuple[np.ndarray, np.ndarray, np.ndarray]
Separate horizontal and vertical force moments.
Returns:
| Type | Description |
|---|---|
tuple of ndarray
|
Horizontal-force moment, vertical-force moment, and total moment, in N m. |
Source code in src/fluidmec/hydrodynamics/moments.py
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 | |
effective_lever_arm
¶
effective_lever_arm(force: ArrayLike, moment: ArrayLike) -> float | np.ndarray
Calculate the perpendicular central-axis distance.
The moment component parallel to the resultant force is excluded.
Zero resultant force has no defined lever arm.
Source code in src/fluidmec/hydrodynamics/moments.py
212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 | |
resultant_line_of_action
¶
resultant_line_of_action(force: ArrayLike, moment: ArrayLike) -> tuple[np.ndarray, np.ndarray]
Determine the resultant central axis.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
force
|
array_like
|
Resultant force in N. |
required |
moment
|
array_like
|
Resultant moment about the reference in N m. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
position |
ndarray
|
Closest point on the central axis relative to the moment reference, in metres. |
residual_couple |
ndarray
|
Moment parallel to the force, in N m. |
Notes
A zero resultant force does not define a central axis. Such inputs raise ValueError.
Source code in src/fluidmec/hydrodynamics/moments.py
236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 | |
integrate_distributed_moment
¶
integrate_distributed_moment(positions: ArrayLike, loads: ArrayLike, weights: ArrayLike, *, reference: ArrayLike = (0.0, 0.0, 0.0)) -> np.ndarray
Integrate sampled moment densities.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
positions
|
array_like
|
Global integration coordinates, shape (n, 3). |
required |
loads
|
array_like
|
Distributed force vectors in N/m, shape (n, ..., 3). |
required |
weights
|
array_like
|
Physical quadrature weights in metres. |
required |
reference
|
array_like
|
Global moment reference point. |
(0.0, 0.0, 0.0)
|
Returns:
| Type | Description |
|---|---|
ndarray
|
Integrated moment in N m, shape (..., 3). |
Source code in src/fluidmec/hydrodynamics/moments.py
290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 | |
integrate_member_force_moment
¶
integrate_member_force_moment(start: ArrayLike, end: ArrayLike, load_function: Callable, *, reference: ArrayLike = (0.0, 0.0, 0.0), points: int = 33, method: str = 'gauss', interval: tuple[float, float] = (0.0, 1.0)) -> tuple[np.ndarray, np.ndarray]
Integrate a callable vector load along a member.
The callable receives coordinates of shape (n, 3) and returns distributed loads of shape (n, ..., 3).
Returns:
| Name | Type | Description |
|---|---|---|
force |
ndarray
|
Integrated force in N. |
moment |
ndarray
|
Integrated moment in N m. |
Source code in src/fluidmec/hydrodynamics/moments.py
342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 | |
wave_current_member_force_moment
¶
wave_current_member_force_moment(start: ArrayLike, end: ArrayLike, *, wave_height: float, period: float, depth: float, time: ArrayLike, diameter: float, reference: ArrayLike = (0.0, 0.0, 0.0), current_velocity: float = 0.0, current_exponent: float | None = None, wave_direction: float = 0.0, current_direction: float = 0.0, drag_coefficient: float = 1.0, inertia_coefficient: float = 2.0, density: float = SEAWATER_DENSITY, gravity: float = ENGINEERING_GRAVITY, phase_offset: float = 0.0, points: int = 33, method: str = 'gauss') -> dict[str, np.ndarray]
Calculate integrated Morison forces and moments.
Uses mean submerged geometry, linear Airy waves, prescribed steady currents and fixed members.
Wave and current directions are in degrees. Phase offset is in radians.
Returns:
| Type | Description |
|---|---|
dict
|
drag_force, inertia_force, total_force in N. drag_moment, inertia_moment, total_moment, horizontal_force_moment and vertical_force_moment in N m. Every array has shape time.shape + (3,). |
Source code in src/fluidmec/hydrodynamics/moments.py
404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 | |
References¶
-
Morison et al. (1950). The Force Exerted by Surface Waves on Piles.
-
Dean and Dalrymple (1991). Water Wave Mechanics for Engineers and Scientists.
-
Sarpkaya (2010). Wave Forces on Offshore Structures.