Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is also possible to generate astronomic boundary conditions for Delft3D-FLOW with Delft Dashboard. The basic procedure to generate boundary conditions will contain of x 4 steps. The master function of this routine is ddb_generateBoundaryConditionsDelft3DFLOW.

1) All the relevant variables (grid, bathymetry, number of boundaries and source) are loaded from the interface in Dashboard (getHandles).

2) Determine the coordinates of the end of each boundary in longitude and latitude. 

3) Generation of the amplitude and phases based on the coordinates. It Dashboard reads the values from the tide models defined (default TPXO 7.2) and applies a linear interpolation to the coordinates of interest. Diffusion is used to overcome any NaN's. This step is carried out by the function readTideModel.
4) The *.bnd file is written in the working directory. By default Dashboard applies a water level relation, but also other types (eg. Riemann) are supported. The user can set the boundary condition type in the model menu under Boundary.
Image Added% This will determine the amplitude and phases per location
% a) Makes on row of x's and y's
% b) Calculates ampltiudes and phases with readtidemodel
% -> this includes a diffusion if there are NaNs
% -> uses a linear interpolation to boundary locations
% c) default is a water level type, can be changed in 'boundaries'
Figure: Code structure of the routines needed  to generate boundary conditions in Dashboard

...