Regular current from file

The current profile can be specified on a file.

The format of the file is

' -----------------------------------------
' Number of current levels
' -----------------------------------------
NCUR
' -----------------------------------------
' for all current levels i=1,i=NCUR
'
' zlevel      direction     current
' -----------------------------------------
CURLEV_i      CURDIR_i      CURVEL_i
..
.
CURLEV_NCUR CURDIR_NCUR CURVEL_NCUR
' -----------------------------------------
' end of file
' -----------------------------------------

where

  • NCUR: integer/character: Number of current levels

  • CURLEV_i: real: Global z-coordinate at current level i, \(\mathrm {[m]}\)

  • CURDIR: real: Current propagation direction at current level i. The angle is measured in degrees from the global X-axis counter-clockwise around the global Z-axis. (seen from above)

  • CURVEL: real: Current velocity at current level i, \(\mathrm {[m/s]}\)