$Project name
PROJECT 'NAME' '{{ 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 5
$
$Reading bathymetry values from file
INPGRID BOTTOM 0 0 0 {{ mxinp }} 0 {{ dxinp }} 0.0
READINP BOTTOM 1 'depth.bot' 1 0 FREE
$
$Reading friction values from file
INPGRID FRICTION 0 0 0 {{ mxinp }} 0 {{ dxinp }} 0.0
READINP FRICTION 1 'friction.txt' 1 0 FREE
$
FRIC MANNING
$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 {{ Cr }}
$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
$