Skip to content

Wave–Current Interaction

Overview

The wave-current module provides engineering calculations for combined wave and prescribed steady-current loading on fixed circular cylindrical members.

All calculations use SI units and support NumPy-compatible array inputs where applicable.

Governing equations

Combined velocity

\[ u = U_c + u_w \]

where \(U_c\) is the signed steady-current velocity and \(u_w\) is the horizontal wave-induced velocity.

For a regular linear wave,

\[ u_w = U_m \cos(kx-\omega t) \]

Local acceleration

For a prescribed steady current,

\[ \frac{\partial U_c}{\partial t}=0 \]

Therefore, within the local-acceleration approximation,

\[ a_x=\frac{\partial u_w}{\partial t} \]

Combined Morison loading

\[ f_D=\frac{1}{2}\rho C_D D (U_c+u_w)|U_c+u_w| \]
\[ f_I=\rho C_M\frac{\pi D^2}{4}a_x \]
\[ f=f_D+f_I \]

All force components are expressed in N/m.

Current-to-wave velocity ratio

\[ R_c=\frac{U_c}{U_m} \]

The wave velocity amplitude must be positive when evaluating this ratio.

Peak absolute drag amplification

For constant drag coefficient and positive wave amplitude,

\[ A_D=(1+|R_c|)^2 \]

This expression describes drag amplification, not total Morison force amplification.

Prescribed power-law current profile

\[ U_c(z)=U_s\left(\frac{z+h}{h}\right)^p \]

where:

  • \(U_s\) is the signed surface current velocity.
  • \(h\) is the water depth.
  • \(z\) is elevation relative to still water level.
  • \(p\) is a positive empirical exponent.

The profile is evaluated within the mean water column.

Parameters and units

Parameter Description Unit
H Wave height m
T Wave period s
h Water depth m
z Vertical elevation m
D Cylinder diameter m
k Wave number 1/m
Uc Current velocity m/s
Um Wave velocity amplitude m/s
rho Fluid density kg/m³
Cd Drag coefficient Dimensionless
Cm Inertia coefficient Dimensionless
fD Drag per unit length N/m
fI Inertia per unit length N/m

Engineering example

from fluidmec.hydrodynamics import morison_force_components

wave_velocity = 2.0
current_velocity = 1.0

drag, inertia, total = morison_force_components(
    velocity=wave_velocity + current_velocity,
    acceleration=0.0,
    diameter=4.0,
    drag_coefficient=1.0,
    inertia_coefficient=2.0,
    density=1025.0,
)

print(drag)
print(inertia)
print(total)

Expected results:

  • Drag: 18450 N/m
  • Inertia: 0 N/m
  • Total: 18450 N/m

Assumptions and limitations

  • Fixed circular cylindrical members.
  • Collinear horizontal wave and current velocities.
  • Linear Airy wave kinematics.
  • Prescribed steady currents.
  • Still-water wave dispersion.
  • Constant specified hydrodynamic coefficients.
  • Local wave acceleration approximation.
  • Mean water column coordinate convention.
  • No wake shielding or structural interaction.
  • No diffraction or wave blocking calculations.
  • No current-induced modification of wave dispersion.
  • No full material-acceleration calculation.

The power-law profile is an empirical approximation, not a turbulent boundary-layer solution.

The module is intended for engineering analysis and preliminary calculations. Application-specific validation is required for design use.

Verification

The test suite includes analytical comparisons, limiting cases, numerical consistency, broadcasting and invalid-input checks.

Small absolute tolerances are used in force comparisons to accommodate numerical dispersion-solver errors near force zero crossings.

API reference

fluidmec.hydrodynamics.wave_current

Hydrodynamic loading under prescribed wave and current conditions.

This module uses linear wave kinematics and steady-current superposition. Current-modified wave dispersion and nonlinear wave-current coupling are not included.

All dimensional inputs and outputs use SI units.

combined_velocity

combined_velocity(wave_velocity: ArrayLike, current_velocity: ArrayLike = 0.0) -> float | np.ndarray

Calculate combined signed wave and current velocity [m/s].

.. math:: u = u_w + U_c

Inputs must represent velocity components along the same coordinate direction.

Source code in src/fluidmec/hydrodynamics/wave_current.py
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
def combined_velocity(
    wave_velocity: ArrayLike,
    current_velocity: ArrayLike = 0.0,
) -> float | np.ndarray:
    r"""Calculate combined signed wave and current velocity [m/s].

    .. math::
        u = u_w + U_c

    Inputs must represent velocity components along
    the same coordinate direction.
    """
    uw = as_float_array(wave_velocity, "wave_velocity")
    uc = as_float_array(current_velocity, "current_velocity")

    return format_output(uw + uc)

combined_acceleration

combined_acceleration(wave_acceleration: ArrayLike, current_velocity: ArrayLike = 0.0) -> float | np.ndarray

Return combined local acceleration [m/s^2].

The prescribed current is steady and therefore has zero local time derivative.

Current velocity determines the broadcast shape but does not directly change the local acceleration.

Advective acceleration is not included.

Source code in src/fluidmec/hydrodynamics/wave_current.py
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
def combined_acceleration(
    wave_acceleration: ArrayLike,
    current_velocity: ArrayLike = 0.0,
) -> float | np.ndarray:
    """Return combined local acceleration [m/s^2].

    The prescribed current is steady and therefore has
    zero local time derivative.

    Current velocity determines the broadcast shape but
    does not directly change the local acceleration.

    Advective acceleration is not included.
    """
    aw = as_float_array(
        wave_acceleration, "wave_acceleration"
    )
    uc = as_float_array(
        current_velocity, "current_velocity"
    )

    aw, _ = np.broadcast_arrays(aw, uc)

    return format_output(aw.copy())

current_velocity_ratio

current_velocity_ratio(wave_velocity_amplitude: ArrayLike, current_velocity: ArrayLike) -> float | np.ndarray

Calculate signed current-to-wave velocity ratio.

.. math:: R_c = U_c / U_m

Wave velocity amplitude must be strictly positive.

Source code in src/fluidmec/hydrodynamics/wave_current.py
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
def current_velocity_ratio(
    wave_velocity_amplitude: ArrayLike,
    current_velocity: ArrayLike,
) -> float | np.ndarray:
    r"""Calculate signed current-to-wave velocity ratio.

    .. math::
        R_c = U_c / U_m

    Wave velocity amplitude must be strictly positive.
    """
    um = as_float_array(
        wave_velocity_amplitude,
        "wave_velocity_amplitude",
    )
    uc = as_float_array(
        current_velocity, "current_velocity"
    )

    validate_positive(um, "wave_velocity_amplitude")

    return format_output(uc / um)

velocity_extrema

velocity_extrema(wave_velocity_amplitude: ArrayLike, current_velocity: ArrayLike = 0.0) -> tuple[float | np.ndarray, float | np.ndarray]

Return minimum and maximum signed velocity [m/s].

Assumes a complete sinusoidal wave cycle.

Returns:

Type Description
tuple

Minimum velocity and maximum velocity.

Source code in src/fluidmec/hydrodynamics/wave_current.py
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
def velocity_extrema(
    wave_velocity_amplitude: ArrayLike,
    current_velocity: ArrayLike = 0.0,
) -> tuple[float | np.ndarray, float | np.ndarray]:
    """Return minimum and maximum signed velocity [m/s].

    Assumes a complete sinusoidal wave cycle.

    Returns
    -------
    tuple
        Minimum velocity and maximum velocity.
    """
    um = as_float_array(
        wave_velocity_amplitude,
        "wave_velocity_amplitude",
    )
    uc = as_float_array(
        current_velocity, "current_velocity"
    )

    validate_non_negative(um, "wave_velocity_amplitude")

    return (
        format_output(uc - um),
        format_output(uc + um),
    )

peak_absolute_velocity

peak_absolute_velocity(wave_velocity_amplitude: ArrayLike, current_velocity: ArrayLike = 0.0) -> float | np.ndarray

Calculate maximum absolute velocity over a wave cycle.

.. math:: |u|_{max} = U_m + |U_c|

Returns velocity in m/s.

Source code in src/fluidmec/hydrodynamics/wave_current.py
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
def peak_absolute_velocity(
    wave_velocity_amplitude: ArrayLike,
    current_velocity: ArrayLike = 0.0,
) -> float | np.ndarray:
    r"""Calculate maximum absolute velocity over a wave cycle.

    .. math::
        |u|_{max} = U_m + |U_c|

    Returns velocity in m/s.
    """
    minimum, maximum = velocity_extrema(
        wave_velocity_amplitude=wave_velocity_amplitude,
        current_velocity=current_velocity,
    )

    return format_output(
        np.maximum(
            np.abs(minimum),
            np.abs(maximum),
        )
    )

flow_reversal_regime

flow_reversal_regime(wave_velocity_amplitude: ArrayLike, current_velocity: ArrayLike = 0.0, *, tolerance: float = 1e-12) -> str | np.ndarray

Classify flow direction over a sinusoidal wave cycle.

Parameters:

Name Type Description Default
wave_velocity_amplitude array_like

Non-negative wave velocity amplitude [m/s].

required
current_velocity array_like

Signed steady current velocity [m/s].

0.0
tolerance float

Absolute velocity classification tolerance [m/s].

1e-12

Returns:

Type Description
str or ndarray

no_flow, reversing_flow, touches_zero, unidirectional_positive or unidirectional_negative.

Source code in src/fluidmec/hydrodynamics/wave_current.py
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
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
210
211
212
213
214
215
216
217
218
219
220
221
222
def flow_reversal_regime(
    wave_velocity_amplitude: ArrayLike,
    current_velocity: ArrayLike = 0.0,
    *,
    tolerance: float = 1e-12,
) -> str | np.ndarray:
    """Classify flow direction over a sinusoidal wave cycle.

    Parameters
    ----------
    wave_velocity_amplitude : array_like
        Non-negative wave velocity amplitude [m/s].
    current_velocity : array_like
        Signed steady current velocity [m/s].
    tolerance : float
        Absolute velocity classification tolerance [m/s].

    Returns
    -------
    str or ndarray
        no_flow, reversing_flow, touches_zero,
        unidirectional_positive or unidirectional_negative.
    """
    um = as_float_array(
        wave_velocity_amplitude,
        "wave_velocity_amplitude",
    )
    uc = as_float_array(
        current_velocity, "current_velocity"
    )
    tol = as_float_array(tolerance, "tolerance")

    validate_non_negative(um, "wave_velocity_amplitude")

    if tol.ndim != 0 or float(tol) < 0.0:
        raise ValueError(
            "tolerance must be a non-negative scalar."
        )

    magnitude = np.abs(uc)
    no_flow = (um <= tol) & (magnitude <= tol)

    result = np.where(
        no_flow,
        "no_flow",
        np.where(
            magnitude < um - tol,
            "reversing_flow",
            np.where(
                np.abs(magnitude - um) <= tol,
                "touches_zero",
                np.where(
                    uc > 0.0,
                    "unidirectional_positive",
                    "unidirectional_negative",
                ),
            ),
        ),
    )

    if result.ndim == 0:
        return str(result.item())

    return result

power_law_current_profile

power_law_current_profile(surface_velocity: ArrayLike, z: ArrayLike, depth: ArrayLike, *, exponent: ArrayLike = 1.0 / 7.0) -> float | np.ndarray

Calculate a prescribed power-law current profile [m/s].

.. math:: U_c(z) = U_s ((z+h)/h)^p

Parameters:

Name Type Description Default
surface_velocity array_like

Signed current velocity at still water level [m/s].

required
z array_like

Elevation relative to still water level [m].

required
depth array_like

Positive water depth [m].

required
exponent array_like

Positive empirical profile exponent.

1.0 / 7.0
Notes

Valid only within the mean water column: -depth <= z <= 0.

The profile is empirical and is not a turbulence model.

Source code in src/fluidmec/hydrodynamics/wave_current.py
225
226
227
228
229
230
231
232
233
234
235
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
def power_law_current_profile(
    surface_velocity: ArrayLike,
    z: ArrayLike,
    depth: ArrayLike,
    *,
    exponent: ArrayLike = 1.0 / 7.0,
) -> float | np.ndarray:
    r"""Calculate a prescribed power-law current profile [m/s].

    .. math::
        U_c(z) = U_s ((z+h)/h)^p

    Parameters
    ----------
    surface_velocity : array_like
        Signed current velocity at still water level [m/s].
    z : array_like
        Elevation relative to still water level [m].
    depth : array_like
        Positive water depth [m].
    exponent : array_like
        Positive empirical profile exponent.

    Notes
    -----
    Valid only within the mean water column:
    -depth <= z <= 0.

    The profile is empirical and is not a turbulence model.
    """
    us = as_float_array(
        surface_velocity, "surface_velocity"
    )
    elevation = as_float_array(z, "z")
    h = as_float_array(depth, "depth")
    p = as_float_array(exponent, "exponent")

    validate_positive(h, "depth")
    validate_positive(p, "exponent")

    if np.any((elevation < -h) | (elevation > 0.0)):
        raise ValueError(
            "z must lie within the mean water column "
            "[-depth, 0]."
        )

    relative_height = (elevation + h) / h

    return format_output(
        us * np.power(relative_height, p)
    )

drag_amplification_factor

drag_amplification_factor(wave_velocity_amplitude: ArrayLike, current_velocity: ArrayLike = 0.0) -> float | np.ndarray

Return peak absolute drag amplification.

.. math:: A_D = (1 + |U_c/U_m|)^2

Assumes unchanged density, diameter and positive drag coefficient between the two loading cases.

Wave velocity amplitude must be strictly positive.

Source code in src/fluidmec/hydrodynamics/wave_current.py
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
def drag_amplification_factor(
    wave_velocity_amplitude: ArrayLike,
    current_velocity: ArrayLike = 0.0,
) -> float | np.ndarray:
    r"""Return peak absolute drag amplification.

    .. math::
        A_D = (1 + |U_c/U_m|)^2

    Assumes unchanged density, diameter and positive
    drag coefficient between the two loading cases.

    Wave velocity amplitude must be strictly positive.
    """
    ratio = current_velocity_ratio(
        wave_velocity_amplitude=wave_velocity_amplitude,
        current_velocity=current_velocity,
    )

    return format_output(
        (1.0 + np.abs(ratio)) ** 2
    )

wave_current_drag

wave_current_drag(wave_velocity: ArrayLike, current_velocity: ArrayLike, diameter: ArrayLike, drag_coefficient: ArrayLike = 1.0, density: ArrayLike = SEAWATER_DENSITY) -> float | np.ndarray

Calculate signed combined drag force per length [N/m].

The wave and current velocities are added before applying the nonlinear Morison drag equation.

Source code in src/fluidmec/hydrodynamics/wave_current.py
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
def wave_current_drag(
    wave_velocity: ArrayLike,
    current_velocity: ArrayLike,
    diameter: ArrayLike,
    drag_coefficient: ArrayLike = 1.0,
    density: ArrayLike = SEAWATER_DENSITY,
) -> float | np.ndarray:
    """Calculate signed combined drag force per length [N/m].

    The wave and current velocities are added before
    applying the nonlinear Morison drag equation.
    """
    velocity = combined_velocity(
        wave_velocity=wave_velocity,
        current_velocity=current_velocity,
    )

    return drag_force_per_unit_length(
        velocity=velocity,
        diameter=diameter,
        drag_coefficient=drag_coefficient,
        density=density,
    )

peak_wave_current_drag

peak_wave_current_drag(wave_velocity_amplitude: ArrayLike, current_velocity: ArrayLike, diameter: ArrayLike, drag_coefficient: ArrayLike = 1.0, density: ArrayLike = SEAWATER_DENSITY) -> float | np.ndarray

Calculate peak absolute combined drag [N/m].

Assumes sinusoidal wave velocity, steady current and constant hydrodynamic coefficients.

This is the drag peak, not the total Morison force peak.

Source code in src/fluidmec/hydrodynamics/wave_current.py
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
def peak_wave_current_drag(
    wave_velocity_amplitude: ArrayLike,
    current_velocity: ArrayLike,
    diameter: ArrayLike,
    drag_coefficient: ArrayLike = 1.0,
    density: ArrayLike = SEAWATER_DENSITY,
) -> float | np.ndarray:
    """Calculate peak absolute combined drag [N/m].

    Assumes sinusoidal wave velocity, steady current and
    constant hydrodynamic coefficients.

    This is the drag peak, not the total Morison force peak.
    """
    peak_velocity = peak_absolute_velocity(
        wave_velocity_amplitude=wave_velocity_amplitude,
        current_velocity=current_velocity,
    )

    return drag_force_per_unit_length(
        velocity=peak_velocity,
        diameter=diameter,
        drag_coefficient=drag_coefficient,
        density=density,
    )

wave_current_force_components

wave_current_force_components(wave_velocity: ArrayLike, wave_acceleration: ArrayLike, current_velocity: ArrayLike, diameter: ArrayLike, drag_coefficient: ArrayLike = 1.0, inertia_coefficient: ArrayLike = 2.0, density: ArrayLike = SEAWATER_DENSITY) -> tuple[float | np.ndarray, float | np.ndarray, float | np.ndarray]

Calculate combined wave-current Morison forces.

Returns:

Type Description
tuple

Signed drag, inertia and total force per unit length [N/m].

Notes

Uses local wave acceleration and prescribed steady current. Does not include advective acceleration.

Source code in src/fluidmec/hydrodynamics/wave_current.py
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
def wave_current_force_components(
    wave_velocity: ArrayLike,
    wave_acceleration: ArrayLike,
    current_velocity: ArrayLike,
    diameter: ArrayLike,
    drag_coefficient: ArrayLike = 1.0,
    inertia_coefficient: ArrayLike = 2.0,
    density: ArrayLike = SEAWATER_DENSITY,
) -> tuple[
    float | np.ndarray,
    float | np.ndarray,
    float | np.ndarray,
]:
    """Calculate combined wave-current Morison forces.

    Returns
    -------
    tuple
        Signed drag, inertia and total force per unit
        length [N/m].

    Notes
    -----
    Uses local wave acceleration and prescribed steady
    current. Does not include advective acceleration.
    """
    velocity = combined_velocity(
        wave_velocity=wave_velocity,
        current_velocity=current_velocity,
    )

    acceleration = combined_acceleration(
        wave_acceleration=wave_acceleration,
        current_velocity=current_velocity,
    )

    return morison_force_components(
        velocity=velocity,
        acceleration=acceleration,
        diameter=diameter,
        drag_coefficient=drag_coefficient,
        inertia_coefficient=inertia_coefficient,
        density=density,
    )

wave_current_force_from_period

wave_current_force_from_period(wave_height: ArrayLike, period: ArrayLike, depth: ArrayLike, x: ArrayLike, z: ArrayLike, time: ArrayLike, current_velocity: ArrayLike, diameter: ArrayLike, drag_coefficient: ArrayLike = 1.0, inertia_coefficient: ArrayLike = 2.0, density: ArrayLike = SEAWATER_DENSITY, gravity: ArrayLike = ENGINEERING_GRAVITY, *, phase_offset: ArrayLike = 0.0, method: str = 'newton', tolerance: float = 1e-10, max_iterations: int = 100) -> tuple[float | np.ndarray, float | np.ndarray, float | np.ndarray]

Calculate wave-current loading from wave parameters.

Parameters:

Name Type Description Default
wave_height array_like

Regular wave height [m].

required
period array_like

Wave period [s].

required
depth array_like

Water depth [m].

required
x array_like

Horizontal position [m].

required
z array_like

Elevation relative to still water level [m].

required
time array_like

Time [s].

required
current_velocity array_like

Prescribed signed current velocity [m/s].

required
diameter array_like

Cylinder diameter [m].

required
drag_coefficient array_like

Morison drag coefficient.

1.0
inertia_coefficient array_like

Morison inertia coefficient.

2.0
density array_like

Fluid density [kg/m^3].

SEAWATER_DENSITY
gravity array_like

Gravitational acceleration [m/s^2].

ENGINEERING_GRAVITY
phase_offset array_like

Wave phase offset [rad].

0.0

Returns:

Type Description
tuple

Drag, inertia and total force per length [N/m].

Notes

Wave number is calculated using still-water dispersion. Current-induced changes to wave propagation are neglected.

Source code in src/fluidmec/hydrodynamics/wave_current.py
400
401
402
403
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
def wave_current_force_from_period(
    wave_height: ArrayLike,
    period: ArrayLike,
    depth: ArrayLike,
    x: ArrayLike,
    z: ArrayLike,
    time: ArrayLike,
    current_velocity: ArrayLike,
    diameter: ArrayLike,
    drag_coefficient: ArrayLike = 1.0,
    inertia_coefficient: ArrayLike = 2.0,
    density: ArrayLike = SEAWATER_DENSITY,
    gravity: ArrayLike = ENGINEERING_GRAVITY,
    *,
    phase_offset: ArrayLike = 0.0,
    method: str = "newton",
    tolerance: float = 1e-10,
    max_iterations: int = 100,
) -> tuple[
    float | np.ndarray,
    float | np.ndarray,
    float | np.ndarray,
]:
    """Calculate wave-current loading from wave parameters.

    Parameters
    ----------
    wave_height : array_like
        Regular wave height [m].
    period : array_like
        Wave period [s].
    depth : array_like
        Water depth [m].
    x : array_like
        Horizontal position [m].
    z : array_like
        Elevation relative to still water level [m].
    time : array_like
        Time [s].
    current_velocity : array_like
        Prescribed signed current velocity [m/s].
    diameter : array_like
        Cylinder diameter [m].
    drag_coefficient : array_like
        Morison drag coefficient.
    inertia_coefficient : array_like
        Morison inertia coefficient.
    density : array_like
        Fluid density [kg/m^3].
    gravity : array_like
        Gravitational acceleration [m/s^2].
    phase_offset : array_like
        Wave phase offset [rad].

    Returns
    -------
    tuple
        Drag, inertia and total force per length [N/m].

    Notes
    -----
    Wave number is calculated using still-water dispersion.
    Current-induced changes to wave propagation are neglected.
    """
    height = as_float_array(
        wave_height, "wave_height"
    )

    validate_non_negative(height, "wave_height")

    amplitude = height / 2.0

    k = solve_wave_number(
        period=period,
        depth=depth,
        gravity=gravity,
        method=method,
        tolerance=tolerance,
        max_iterations=max_iterations,
    )

    velocity = horizontal_particle_velocity(
        amplitude=amplitude,
        x=x,
        z=z,
        time=time,
        wave_number=k,
        depth=depth,
        gravity=gravity,
        phase_offset=phase_offset,
    )

    acceleration = horizontal_particle_acceleration(
        amplitude=amplitude,
        x=x,
        z=z,
        time=time,
        wave_number=k,
        depth=depth,
        gravity=gravity,
        phase_offset=phase_offset,
    )

    return wave_current_force_components(
        wave_velocity=velocity,
        wave_acceleration=acceleration,
        current_velocity=current_velocity,
        diameter=diameter,
        drag_coefficient=drag_coefficient,
        inertia_coefficient=inertia_coefficient,
        density=density,
    )

Visualisation

Run the engineering dashboard example:

python examples/wave_current_example.py

The generated dashboard is saved in outputs/lesson28/.

References

  1. Morison, J. R., O'Brien, M. P., Johnson, J. W., and Schaaf, S. A. (1950). The Force Exerted by Surface Waves on Piles.

  2. Dean, R. G., and Dalrymple, R. A. (1991). Water Wave Mechanics for Engineers and Scientists.

  3. Sarpkaya, T. (2010). Wave Forces on Offshore Structures.