rompy.swan.subcomponents.boundary.DEFAULT#
- pydantic model rompy.swan.subcomponents.boundary.DEFAULT[source]#
Default initial conditions.
DEFAULT
The initial spectra are computed from the local wind velocities, using the deep-water growth curve of Kahma and Calkoen (1992), cut off at values of significant wave height and peak frequency from Pierson and Moskowitz (1964). The average (over the model area) spatial step size is used as fetch with local wind. The shape of the spectrum is default JONSWAP with a cos2-directional distribution (options are available: see command BOUND SHAPE).
Examples
In [247]: from rompy.swan.subcomponents.boundary import DEFAULT In [248]: init = DEFAULT() In [249]: print(init.render()) DEFAULT
Show JSON schema
{ "title": "DEFAULT", "description": "Default initial conditions.\n\n.. code-block:: text\n\n DEFAULT\n\nThe initial spectra are computed from the local wind velocities, using the\ndeep-water growth curve of Kahma and Calkoen (1992), cut off at values of\nsignificant wave height and peak frequency from Pierson and Moskowitz (1964).\nThe average (over the model area) spatial step size is used as fetch with local\nwind. The shape of the spectrum is default JONSWAP with a cos2-directional\ndistribution (options are available: see command BOUND SHAPE).\n\nExamples\n--------\n\n.. ipython:: python\n :okwarning:\n\n from rompy.swan.subcomponents.boundary import DEFAULT\n init = DEFAULT()\n print(init.render())", "type": "object", "properties": { "model_type": { "default": "default", "description": "Model type discriminator", "enum": [ "default", "DEFAULT" ], "title": "Model Type", "type": "string" } }, "additionalProperties": false }
- field model_type: Literal['default', 'DEFAULT'] = 'default'#
Model type discriminator