rompy.swan.components.physics.FRICTION_RIPPLES#

pydantic model rompy.swan.components.physics.FRICTION_RIPPLES[source]#

Smith et al. (2011) Ripples friction.

FRICTION RIPPLES [S] [D]

Indicates that the expression of Smith et al. (2011) should be activated. Here friction depends on the formation of bottom ripples and sediment size.

References

Smith, G.A., Babanin, A.V., Riedel, P., Young, I.R., Oliver, S. and Hubbert, G., 2011. Introduction of a new friction routine into the SWAN model that evaluates roughness due to bedform and sediment size changes. Coastal Engineering, 58(4), pp.317-326.

Examples

In [53]: from rompy.swan.components.physics import FRICTION_RIPPLES

In [54]: friction = FRICTION_RIPPLES()

In [55]: print(friction.render())
FRICTION RIPPLES

In [56]: friction = FRICTION_RIPPLES(s=2.65, d=0.0001)

In [57]: print(friction.render())
FRICTION RIPPLES S=2.65 D=0.0001
Fields:
field d: float | None = None#

The sediment diameter (in m) (SWAN default: 0.0001)

field model_type: Literal['ripples', 'RIPPLES'] = 'ripples'#

Model type discriminator

field s: float | None = None#

The specific gravity of the sediment (SWAN default: 2.65)

cmd() str[source]#

Command file string for this component.