...
To import gridded output from Delft3D into FEWS, a grid definition needs to be specified in the FEWS grids.xml file. This grid file can be generated using the Matlab script print_Delft3D_grid.m attached to this WiKi.
6.2 State management
FEWS required to have a cold state file for each Delft3D model in the ColdStates folder (zipped). This cold state file is a Delft3D restart file which needs to be generated by the model developer up-front . This cold state file should contain (outside of FEWS), and needs to describe representative initial conditions.
The below configuration shows an example of the exportStateActivity to export a Delft3D model state from the FEWS generalAdapter.
Code Block |
---|
<exportStateActivity> <moduleInstanceId>DCSM_Historical</moduleInstanceId> <stateExportDir>%ROOT_DIR%/stateInput</stateExportDir> <stateConfigFile>%ROOT_DIR%/stateInput/export_states.xml</stateConfigFile> <stateLocations type="file"> <stateLocation> <readLocation>dcsm98.res</readLocation> <writeLocation>dcsm98.res</writeLocation> </stateLocation> </stateLocations> <stateSelection> <warmState> <stateSearchPeriod unit="hour" start="-48" end="-1"/> </warmState> </stateSelection> </exportStateActivity> |
From the Delft3D-FLOW file this initial state file is subsequently called in the following way:
Code Block |
---|
Commnt=
Restid= #dcsm98.rst#
Commnt=
|
Commnt=
Restid= #dcsm98.rst#
Commnt=
The warmState search period should be sufficiently long to spin-up the model in case of a cold start.State files and names
Attachments |
---|