Current from file

1. File format

The format of the file is

'
' number of current levels
NCULEV
' for all current levels i=1,i=NCULEV
'
' zlevel      direction     current
CURLEV_i      CURDIR_i      CURVEL_i
..
.
CURLEV_NCULEV CURDIR_NCULEV CURVEL_NCULEV
'
  • NCULEV: integer: Number of current levels

  • CURLEV_i: real: Z coordinate of level i given in global coordinate system \(\mathrm {[L]}\)

  • CURDIR: real: Current velocity direction at 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 level i \(\mathrm {[L/T]}\)

2. Example of current profile file

'------------------------------------------------------
' NCULEV = number of current levels
' curlev = current level (z coordinate)
' curdir = current velocity direction
' curvel = current velocity
'------------------------------------------------------
'
' NCULEV
2
' for all current levels i=1,i=NCULEV
'  curlev   curdir  curvel
   0.0      0.      0.6
  -600.0    0.      0.1
'
'------------------------------------------------------