rompy.swan.components.physics.TRIAD_DCTA#

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

Triad interactions with the DCTA method of Booij et al. (2009).

TRIAD DCTA [trfac] [p] COLL|NONC BIPHHASE ELDEBERKY|DEWIT

References

Booij, N., Holthuijsen, L.H. and Bénit, M.P., 2009. A distributed collinear triad approximation in SWAN. In Proceedings Of Coastal Dynamics 2009: Impacts of Human Activities on Dynamic Coastal Processes (With CD-ROM) (pp. 1-10).

Note

This is the default method to compute the triad interactions in SWAN >= 41.45, it is not supported in earlier versions of the model.

Examples

In [180]: from rompy.swan.components.physics import TRIAD_DCTA

In [181]: triad = TRIAD_DCTA()

In [182]: print(triad.render())
TRIAD DCTA COLL

In [183]: triad = TRIAD_DCTA(
   .....:     trfac=4.4,
   .....:     p=1.3,
   .....:     noncolinear=True,
   .....:     biphase={"model_type": "dewit", "lpar": 0.0},
   .....: )
   .....: 

In [184]: print(triad.render())
TRIAD DCTA trfac=4.4 p=1.3 NONC BIPHASE DEWIT lpar=0.0
Fields:
field biphase: ELDEBERKY | DEWIT | None = None#

Defines the parameterization of biphase (self-self interaction) (SWAN default: ELDEBERKY)

field model_type: Literal['dcta', 'DCTA'] = 'dcta'#

Model type discriminator

field noncolinear: bool = False#

If True, the noncolinear triad interactions with the DCTA framework are accounted for

field p: float | None = None#

Shape coefficient to force the high-frequency tail(SWAN default: 4/3)

field trfac: float | None = None#

Scaling factor that controls the intensity of the triad interaction due to DCTA (SWAN default: 4.4)

cmd() str[source]#

Command file string for this component.