SWAN Boundary for TUFLOWFV
Introduction
This page provides example TUFLOW FV boundary condition syntax for wave boundaries generated using the SWAN GIS Tools.
Pre-requisites
To proceed you require a NetCDF SWAN output that has been converted from SWAN's MAT output format using the Convert SWAN Outputs to NetCDF post processing tool.
Example Boundary Condition
Please see below an example include file for TUFLOW FV that assigns the wave boundary conditions derived from the REGIONAL, TRANSITION, NORTH_MORETON and POINT_LOOK_OUT SWAN models from Tutorial Module 08. For full details on each command please see the latest TUFLOW FV User Manual Waves Chapter.
! Set wave breaking and depth limiting parameters Wave Parameters == 0.5, 0.05 ! Wave Gamma, Wave stress depth limit (m)
! Grids are 'stamped' on top of each other with increasing priority as you move down the file
! REGIONAL Grid Definition File == .\REGIONAL_20180901_20181001.nc Grid Definition Variables == Xp, Yp Grid Definition Label == REGIONAL End Grid BC == WAVE, REGIONAL, .\REGIONAL_20180901_20181001.nc BC Header == time, hsig, tpsmoo, dir, ubot, tmbot, wforce_x, wforce_y BC Scale == 1.,1.,1.,1.414,1.,1.,1. BC Reference Time == 01/01/1970 00:00 BC Time Units == seconds BC Update dt == 900. ! (s) End BC
! TRANSITION Grid Definition File == .\TRANSITION_20180901_20181001.nc Grid Definition Variables == Xp, Yp Grid Definition Label == TRANSITION End Grid BC == WAVE, TRANSITION, .\TRANSITION_20180901_20181001.nc BC Header == time, hsig, tpsmoo, dir, ubot, tmbot, wforce_x, wforce_y BC Scale == 1.,1.,1.,1.414,1.,1.,1. BC Reference Time == 01/01/1970 00:00 BC Time Units == seconds BC Update dt == 900. ! (s) End BC
! NORTH_MORETON Grid Definition File == .\NORTH_MORETON_20180901_20181001.nc Grid Definition Variables == Xp, Yp Grid Definition Label == NORTH_MORETON End Grid BC == WAVE, NORTH_MORETON, .\NORTH_MORETON_20180901_20181001.nc BC Header == time, hsig, tpsmoo, dir, ubot, tmbot, wforce_x, wforce_y BC Scale == 1.,1.,1.,1.414,1.,1.,1. BC Reference Time == 01/01/1970 00:00 BC Time Units == seconds BC Update dt == 900. ! (s) End BC
! POINT_LOOK_OUT Grid Definition File == .\POINT_LOOK_OUT_20180901_20181001.nc Grid Definition Variables == Xp, Yp Grid Definition Label == POINT_LOOK_OUT End Grid BC == WAVE, POINT_LOOK_OUT, .\POINT_LOOK_OUT_20180901_20181001.nc BC Header == time, hsig, tpsmoo, dir, ubot, tmbot, wforce_x, wforce_y BC Scale == 1.,1.,1.,1.414,1.,1.,1. BC Reference Time == 01/01/1970 00:00 BC Time Units == seconds BC Update dt == 900. ! (s) End BC
Conclusion
This page provides an example TUFLOW FV wave input file using the REGIONAL, TRANSITION, NORTH_MORETON and POINT_LOOK_OUT wave model outputs previously developed during Tutorial Module 08. This example can be used to guide you when developing your own TUFLOW FV models with SWAN input data. Please follow this link to the return to the SWAN GIS Tools Tutorial.