rompy.swan.components.physics.GEN3#
- pydantic model rompy.swan.components.physics.GEN3[source]#
Third generation source terms GEN3.
GEN3 JANSSEN|KOMEN|->WESTHUYSEN|ST6 AGROW [a]
With this command the user indicates that SWAN should run in third-generation mode for wind input, quadruplet interactions and whitecapping.
Examples
In [70]: from rompy.swan.components.physics import GEN3 In [71]: gen = GEN3( ....: source_terms=dict( ....: model_type="westhuysen", ....: wind_drag="wu", ....: agrow=True, ....: ), ....: ) ....: In [72]: print(gen.render()) GEN3 WESTHUYSEN DRAG WU AGROW In [73]: from rompy.swan.subcomponents.physics import ST6C1 In [74]: gen = GEN3(source_terms=ST6C1()) In [75]: print(gen.render()) GEN3 ST6 a1sds=4.7e-07 a2sds=6.6e-06 p1sds=4.0 p2sds=4.0 UP HWANG VECTAU U10PROXY windscaling=28.0 AGROW
- Fields:
- field model_type: Literal['gen3', 'GEN3'] = 'gen3'#
Model type discriminator