$Project name
PROJECT 'Veggy' '{{ case_num }}'
$
$Set water level
SET LEVEL={{WL}}
$
$(1D-mode, flume) or (2D-mode, basin)
MODE DYNanic ONED
COORD CARTesian
$Computational grid: geographic location, size, resolution and orientation
CGRID 0 0 0 {{ xlenc }} 0 {{ mxc }} 0
$
$Multi-layered mode
VERT 1
$
$Reading bathymetry values from file
INPGRID BOTTOM 0 0 0 {{ mxinp }} 0 {{ dxinp }} 0.0
READINP BOTTOM 1 'depth.bot' 1 0 FREE
$

$Initial values for flow variables
INIT ZERO
$
$Hydraulic boundary conditions
BOU SIDE W CCW BTYPE WEAK CON SERIES 'waves.bnd'
BOU SIDE E CCW BTYPE RADIATION 
SPON E 10 
$
$Physics
BREAK 
FRIC MANNING 0.01
VEGETATION {{ vegetation_height }} 0.005 1 0.2
INPGRID NPLANTS 0 0 0 {{ mxinp }} 0 {{ dxinp }} 0.0
READINP NPLANTS 1 'plants.txt' 1 0 FREE
$Numerics
NONHYDrostatic BOX 1. PREConditioner ILU
$
$Output quantities
DISCRET UPW MOM
DISCRET UPW UMOM H NONE
DISCRET UPW WMOM H NONE
DISCRET CORR
$
$Time integration
TIMEI 0.1 0.5
$
QUANTITY XP hexp=10
QUANT RUNUP delrp 0.01
$
CURVE 'line' 0 0 {{ xlenc }} {{ xlenc }} 0
TABLE 'line' HEAD 'output.tab' TSEC XP YP WATL OUTPUT 0 1 SEC
$
TABLE 'NOGRID' HEAD 'run.tab' TSEC RUNUP OUTPUT 0 1 SEC
$
$Starts computation
TEST  1,0
COMPUTE 000000.000 {{ deltc }} SEC {{ tendc }}
STOP
$