rompy.swan.subcomponents.physics.TRANSM#

pydantic model rompy.swan.subcomponents.physics.TRANSM[source]#

Constant transmission coefficient.

TRANSM [trcoef]

Examples

In [81]: from rompy.swan.subcomponents.physics import TRANSM

In [82]: transm = TRANSM()

In [83]: print(transm.render())
TRANSM

In [84]: transm = TRANSM(trcoef=0.5)

In [85]: print(transm.render())
TRANSM trcoef=0.5
Fields:
field model_type: Literal['transm', 'TRANSM'] = 'transm'#

Model type discriminator

field trcoef: float | None = None#

Constant transmission coefficient (ratio of transmitted over incoming significant wave height) (SWAN default: 0.0) (no transmission = complete blockage)

Constraints:
  • ge = 0.0

  • le = 1.0

cmd() str[source]#

Command file string for this subcomponent.