Current data

The format of the current data can be specified in three different ways

·         Constant (in domain)

·         Varying in time, constant in domain

·         Varying in time and domain

For the case with current field varying in time but constant in domain you have to prepare a data file containing the two velocity components before you set up the spectral wave simulation. The data file must be a time series file (dfs0). The data must cover the complete simulation period. The time step of the input data file does not, however, have to be the same as the time step of the spectral wave simulation. A linear interpolation will be applied if the time steps differ.

For the case with current field varying both in time and domain you have to prepare a data file containing the velocity components before you set up the spectral wave simulation. The file must be a 2D unstructured data file (dfsu) or a 2D grid data file (dfs2). The area in the data file must cover the model area. If a dfsu-file is used piecewise constant interpolation is used to map the data, while if a dfs2-file is used bilinear interpolation is used. The data must cover the complete simulation period. The time step of the input data file does not, however, have to be the same as the time step of the spectral wave sim­ulation. A linear interpolation will be applied if the time steps differ.

Note, that the two velocity components are interpolated as scalar items.