\documentclass{article}

\usepackage{fullpage}

\title{Logbook of investigation on the influence of the incident wave angle on dune erosion using XBeach}

\author{Kees den Heijer}

\begin{document}

\maketitle

\section{XBlog}


\subsection{run00/angle250/XBlog.txt}

\begin{verbatim}
--- None
+++ run00/angle250/XBlog.txt	Mon Nov 14 18:49:37 2011
@@ -1,0 +1,244 @@
+  **********************************************************
+                     Welcome to XBeach
+ 
+              revision 2231
+              date Thu Nov  3 13:59:25 CET 2011
+   URL: URL: https://svn.oss.deltares.nl/repos/xbeach/trunk
+  **********************************************************
+ 
+  Simulation started: YYYYMMDD    hh:mm:ss     time zone (UTC)
+                      20111107  15:26:54     +0100
+ 
+   running in: /home/heijer/sources/dune_erosion_wave_angle/simulations/00000000/xbeach/run00/angle250
+  General Input Module
+  Reading input parameters:
+  --------------------------------
+  Physical processes:
+  XBeach reading from params.txt
+  swave                   = 1 (no record found, default value used)
+  lwave                   = 1 (no record found, default value used)
+  flow                    = 1 (no record found, default value used)
+  sedtrans                = 1 (no record found, default value used)
+  morphology              = 1 (no record found, default value used)
+  avalanching             = 1 (no record found, default value used)
+  nonh                    = 0 (no record found, default value used)
+  gwflow                  = 0 (no record found, default value used)
+  q3d                     = 0 (no record found, default value used)
+  --------------------------------
+  Grid parameters:
+  gridform                = xbeach (no record found, default value used)
+  xori                    = -2930.6250
+  yori                    = 5.9554
+  alfa                    = .0000
+  nx                      = 234
+  ny                      = 201
+  posdwn                  = -1.0000
+  depfile                 = bed.dep
+  vardx                   = 1
+  dx                      = -1.0000 (no record found, default value used)
+  dy                      = -1.0000 (no record found, default value used)
+  xfile                   = x.grd
+  yfile                   = y.grd
+  thetamin                = 205.0000 Warning: value > recommended value of 180.0000
+  thetamax                = 295.0000 Warning: value > recommended value of 180.0000
+  dtheta                  = 90.0000 Warning: value > recommended value of 20.0000
+  thetanaut               = 1
+  --------------------------------
+  Model time parameters:
+  CFL                     = .7000 (no record found, default value used)
+  tstop                   = 19300.0000
+  --------------------------------
+  Physical constants:
+  rho                     = 1025.0000 (no record found, default value used)
+  g                       = 9.8100 (no record found, default value used)
+  depthscale              = 1.0000 (no record found, default value used)
+  --------------------------------
+  Initial conditions:
+  zsinitfile              = None specified
+  --------------------------------
+  Wave boundary condition parameters:
+  instat                  = jons
+  bcfile                  = filelist.txt
+  taper                   = 100.0000 (no record found, default value used)
+  nmax                    = .8000 (no record found, default value used)
+  leftwave                = neumann (no record found, default value used)
+  rightwave               = neumann (no record found, default value used)
+  --------------------------------
+  Wave-spectrum boundary condition parameters:
+  random                  = 0
+  fcutoff                 = .0000 (no record found, default value used)
+  nspr                    = 0 (no record found, default value used)
+  trepfac                 = .0100 (no record found, default value used)
+  sprdthr                 = .0800 (no record found, default value used)
+  oldwbc                  = 0 (no record found, default value used)
+  newstatbc               = 1 (no record found, default value used)
+  correctHm0              = 1 (no record found, default value used)
+  oldnyq                  = 0 (no record found, default value used)
+  Tm01switch              = 0 (no record found, default value used)
+  --------------------------------
+  Flow boundary condition parameters:
+  front                   = abs_2d (no record found, default value used)
+  left                    = neumann (no record found, default value used)
+  right                   = neumann (no record found, default value used)
+  back                    = abs_2d (no record found, default value used)
+  ARC                     = 1 (no record found, default value used)
+  order                   = 2.0000 (no record found, default value used)
+  carspan                 = 0 (no record found, default value used)
+  freewave                = 0 (no record found, default value used)
+  epsi                    = .0000 (no record found, default value used)
+  tidetype                = velocity (no record found, default value used)
+  --------------------------------
+  Tide boundary conditions:
+  tideloc                 = 0 (no record found, default value used)
+  zs0                     = 5.0000
+  --------------------------------
+  Discharge boundary conditions:
+  disch_loc_file          = None specified
+  disch_timeseries_file   = None specified
+  ndischarge              = 0 (no record found, default value used)
+  ntdischarge             = 0 (no record found, default value used)
+  --------------------------------
+  Wave breaking parameters:
+  break                   = roelvink2 (no record found, default value used)
+  gamma                   = .5500 (no record found, default value used)
+  alpha                   = 1.0000 (no record found, default value used)
+  n                       = 10.0000 (no record found, default value used)
+  gammax                  = 2.0000 (no record found, default value used)
+  delta                   = .0000 (no record found, default value used)
+  fw                      = .0000 (no record found, default value used)
+  breakerdelay            = 1 (no record found, default value used)
+  shoaldelay              = 0 (no record found, default value used)
+  facsd                   = 1.0000 (no record found, default value used)
+  --------------------------------
+  Roller parameters:
+  roller                  = 1 (no record found, default value used)
+  beta                    = .1000 (no record found, default value used)
+  rfb                     = 0 (no record found, default value used)
+  --------------------------------
+  Wave-current interaction parameters:
+  wci                     = 0 (no record found, default value used)
+  hwci                    = .1000 (no record found, default value used)
+  cats                    = 4.0000 (no record found, default value used)
+  --------------------------------
+  Flow parameters:
+  bedfriction             = chezy (no record found, default value used)
+  bedfricfile             = None specified
+  C                       = 55.0000 (no record found, default value used)
+  nuh                     = .1000 (no record found, default value used)
+  nuhfac                  = 1.0000 (no record found, default value used)
+  nuhv                    = 1.0000 (no record found, default value used)
+  smag                    = 1 (no record found, default value used)
+  --------------------------------
+  Coriolis force parameters:
+  wearth                  = .0417 (no record found, default value used)
+  lat                     = .0000 (no record found, default value used)
+  --------------------------------
+  Wind parameters:
+  rhoa                    = 1.2500 (no record found, default value used)
+  Cd                      = .0020 (no record found, default value used)
+  windfile                = None specified
+  windv                   = .0000 (no record found, default value used)
+  windth                  = 270.0000 (no record found, default value used)
+  --------------------------------
+  Bed composition parameters:
+  ngd                     = 1 (no record found, default value used)
+  nd                      = 3 (no record found, default value used)
+  por                     = .4000 (no record found, default value used)
+  D50                     = .0002
+  D90                     = .0003
+  rhos                    = 2650.0000 (no record found, default value used)
+  dzg                     = .1000 (no record found, default value used)
+  dzg1                    = .1000 (no record found, default value used)
+  dzg2                    = .1000 (no record found, default value used)
+  dzg3                    = .1000 (no record found, default value used)
+  sedcal                  = 1.0000 (no record found, default value used)
+  ucrcal                  = 1.0000 (no record found, default value used)
+  --------------------------------
+  Sediment transport parameters:
+  form                    = vanthiel_vanrijn (no record found, default value used)
+  waveform                = vanthiel (no record found, default value used)
+  sws                     = 1 (no record found, default value used)
+  lws                     = 1 (no record found, default value used)
+  BRfac                   = 1.0000 (no record found, default value used)
+  facsl                   = 1.6000 (no record found, default value used)
+  z0                      = .0060 (no record found, default value used)
+  smax                    = -1.0000 (no record found, default value used)
+  tsfac                   = .1000 (no record found, default value used)
+  facua                   = .1000 (no record found, default value used)
+  facSk                   = .1000 (no record found, default value used)
+  facAs                   = .1000 (no record found, default value used)
+  turb                    = bore_averaged (no record found, default value used)
+  Tbfac                   = 1.0000 (no record found, default value used)
+  Tsmin                   = .5000 (no record found, default value used)
+  lwt                     = 0 (no record found, default value used)
+  betad                   = 1.0000 (no record found, default value used)
+  sus                     = 1 (no record found, default value used)
+  bed                     = 1 (no record found, default value used)
+  bulk                    = 1 (no record found, default value used)
+  --------------------------------
+  Morphology parameters:
+  morfac                  = 5.0000
+  morfacopt               = 1 (no record found, default value used)
+  morstart                = 1300.0000
+  morstop                 = 19300.0000 (no record found, default value used)
+  wetslp                  = .3000 (no record found, default value used)
+  dryslp                  = 1.0000 (no record found, default value used)
+  hswitch                 = .1000 (no record found, default value used)
+  dzmax                   = .0500 (no record found, default value used)
+  struct                  = 0 (no record found, default value used)
+  --------------------------------
+  Output variables:
+  timings                 = 1 (no record found, default value used)
+  tunits                  = None specified
+  projection              = None specified
+  tstart                  = 1300.0000
+  tint                    = 1.0000 (no record found, default value used)
+  tsglobal                = None specified
+  tintg                   = 100.0000
+  tspoints                = None specified
+  tintp                   = 1.0000 (no record found, default value used)
+  tscross                 = None specified
+  tintc                   = 1.0000 (no record found, default value used)
+  tsmean                  = None specified
+  tintm                   = 18000.0000 (no record found, default value used)
+  nglobalvar              = -1 (no record found, default value used)
+  npoints                 = 0 (no record found, default value used)
+  nrugauge                = 0 (no record found, default value used)
+  npointvar               = 0 (no record found, default value used)
+  rugdepth                = .0000 (no record found, default value used)
+  nmeanvar                = 2
+  nmeanvar: Will generate mean, min, max and variance output for variable:H
+  nmeanvar: Will generate mean, min, max and variance output for variable:zs
+  ncross                  = 0 (no record found, default value used)
+  outputformat            = netcdf
+  ncfilename              = None specified
+  netcdf output to:xboutput.nc
+  --------------------------------
+  Drifters parameters:
+  drifterfile             = None specified
+  ndrifter                = 0 (no record found, default value used)
+  --------------------------------
+  Wave numerics parameters:
+  scheme                  = upwind_2 (no record found, default value used)
+  --------------------------------
+  Flow numerics parameters:
+  eps                     = .0050 (no record found, default value used)
+  umin                    = .0000 (no record found, default value used)
+  hmin                    = .2000 (no record found, default value used)
+  secorder                = 0 (no record found, default value used)
+  oldhu                   = 0 (no record found, default value used)
+  --------------------------------
+  Sediment transport numerics parameters:
+  thetanum                = 1.0000 (no record found, default value used)
+  sourcesink              = 0 (no record found, default value used)
+  cmax                    = .1000 (no record found, default value used)
+  --------------------------------
+  Bed update numerics parameters:
+  frac_dz                 = .7000 (no record found, default value used)
+  nd_var                  = 2 (no record found, default value used)
+  split                   = 1.0100 (no record found, default value used)
+  merge                   = .0100 (no record found, default value used)
+  --------------------------------
+  MPI parameters:
+  mpiboundary             = auto (no record found, default value used)
+  --------------------------------
\end{verbatim}

\subsection{run01/angle250/XBlog.txt}

\begin{verbatim}
--- run00/angle250/XBlog.txt	Mon Nov 14 18:49:37 2011
+++ run01/angle250/XBlog.txt	Mon Nov 14 18:49:39 2011
@@ -10,1 +10,1 @@
-                      20111107  15:26:54     +0100
+                      20111109  08:18:35     +0100
@@ -12,1 +12,1 @@
-   running in: /home/heijer/sources/dune_erosion_wave_angle/simulations/00000000/xbeach/run00/angle250
+   running in: /home/heijer/sources/dune_erosion_wave_angle/simulations/00000000/xbeach/run01/angle250
@@ -49,1 +49,1 @@
-  tstop                   = 19300.0000
+  tstop                   = 4900.0000
@@ -183,1 +183,1 @@
-  morstop                 = 19300.0000 (no record found, default value used)
+  morstop                 = 4900.0000 (no record found, default value used)
@@ -203,1 +203,1 @@
-  tintm                   = 18000.0000 (no record found, default value used)
+  tintm                   = 3600.0000 (no record found, default value used)
@@ -209,3 +209,1 @@
-  nmeanvar                = 2
-  nmeanvar: Will generate mean, min, max and variance output for variable:H
-  nmeanvar: Will generate mean, min, max and variance output for variable:zs
+  nmeanvar                = 0 (no record found, default value used)
\end{verbatim}

\subsection{run02/angle250/XBlog.txt}

\begin{verbatim}
--- run01/angle250/XBlog.txt	Mon Nov 14 18:49:39 2011
+++ run02/angle250/XBlog.txt	Mon Nov 14 18:49:43 2011
@@ -10,1 +10,1 @@
-                      20111109  08:18:35     +0100
+                      20111109  17:24:23     +0100
@@ -12,1 +12,1 @@
-   running in: /home/heijer/sources/dune_erosion_wave_angle/simulations/00000000/xbeach/run01/angle250
+   running in: /home/heijer/sources/dune_erosion_wave_angle/simulations/00000000/xbeach/run02/angle250
@@ -88,1 +88,1 @@
-  epsi                    = .0000 (no record found, default value used)
+  epsi                    = -1.0000
@@ -209,1 +209,7 @@
-  nmeanvar                = 0 (no record found, default value used)
+  nmeanvar                = 6
+  nmeanvar: Will generate mean, min, max and variance output for variable:H
+  nmeanvar: Will generate mean, min, max and variance output for variable:zs
+  nmeanvar: Will generate mean, min, max and variance output for variable:u
+  nmeanvar: Will generate mean, min, max and variance output for variable:v
+  nmeanvar: Will generate mean, min, max and variance output for variable:D
+  nmeanvar: Will generate mean, min, max and variance output for variable:DR
\end{verbatim}

\subsection{run03/angle250/XBlog.txt}

\begin{verbatim}
--- run02/angle250/XBlog.txt	Mon Nov 14 18:49:43 2011
+++ run03/angle250/XBlog.txt	Mon Nov 14 18:49:47 2011
@@ -4,2 +4,2 @@
-              revision 2231
-              date Thu Nov  3 13:59:25 CET 2011
+              revision 2382M
+              date Thu Nov 10 17:21:34 CET 2011
@@ -10,1 +10,1 @@
-                      20111109  17:24:23     +0100
+                      20111114  10:46:50     +0100
@@ -12,1 +12,1 @@
-   running in: /home/heijer/sources/dune_erosion_wave_angle/simulations/00000000/xbeach/run02/angle250
+   running in: /home/heijer/sources/dune_erosion_wave_angle/simulations/00000000/xbeach/run03/angle250
@@ -27,0 +27,2 @@
+  swrunup                 = 0 (no record found, default value used)
+  ships                   = 0 (no record found, default value used)
@@ -44,1 +46,1 @@
-  dtheta                  = 90.0000 Warning: value > recommended value of 20.0000
+  dtheta                  = 15.0000
@@ -78,0 +80,1 @@
+  wbcversion              = 2 (no record found, default value used)
@@ -109,0 +112,1 @@
+  fwcutoff                = 1000.0000 (no record found, default value used)
@@ -112,0 +116,1 @@
+  facrun                  = 1.0000 (no record found, default value used)
@@ -225,0 +230,3 @@
+  Shipwaves parameters:
+  shipfile                = None specified
+  --------------------------------
\end{verbatim}

\subsection{angle250/XBlog.txt}

\begin{verbatim}
--- run03/angle250/XBlog.txt	Mon Nov 14 11:26:58 2011
+++ run04/angle250/XBlog.txt	Mon Nov 14 17:48:47 2011
@@ -10 +10 @@
-                      20111114  10:46:50     +0100
+                      20111114  16:40:12     +0100
@@ -12 +12 @@
-   running in: /home/heijer/sources/dune_erosion_wave_angle/simulations/00000000/xbeach/run03/angle250
+   running in: /home/heijer/sources/dune_erosion_wave_angle/simulations/00000000/xbeach/run04/angle250
@@ -44,3 +44,3 @@
-  thetamin                = 205.0000 Warning: value > recommended value of 180.0000
-  thetamax                = 295.0000 Warning: value > recommended value of 180.0000
-  dtheta                  = 15.0000
+  thetamin                = 207.5000 Warning: value > recommended value of 180.0000
+  thetamax                = 292.5000 Warning: value > recommended value of 180.0000
+  dtheta                  = 5.0000
\end{verbatim}

\section{Notes}

\subsection{run02}

The \verb!epsi! value of -1 will maintain the water level at the seaward boundary at the prescribed level.

\subsection{run03}

Since in the previous runs only one directional bin of 90 degrees was used, no refraction was possible.
In the present run, 6 directional bins of 15 degrees are created.
Because the number of bins is even, the main wave direction (270 degrees) is just in between two bins.
The next run will prevent this problem by using an odd number of bins.

\subsection{run04}

\verb!dtheta! is lowered and \verb!thetamin! and \verb!thetamax! are adapted to make sure that an odd number of directional bins is found.
\verb!swtable!, \verb!rt! and \verb!dtbc! are removed since they were unused.

\end{document}
