SMS:CMS-Wave Current File
CMS-Wave supports an option of using an input file containing spatially varying currents (flow) at each cell in the grid and computing the influence of this flow field on the resultant wave field.
This file requires a flow vector (x,y) at each cell in the domain. In SMS terminology, the depth values comprise a vector dataset on the grid.
The currents are passed into CMS-Wave in the form of an ASCII data file. There is no header or identifier as to what the data in the file is, other than the default extension of "*.cur". However, that is not even required.
The first line of the file contains the dimensions of the grid (number of columns, number of rows) and the default size of a grid cell (in the I direction and then the J direction). If the grid does not consist of cells of constant size, the size for the J direction will be written as 999. Cell dimensions are not important for this file because they are used from the depth file.
The values in the file are organized in row major format, starting with the "top" row (farthest away from the grid origin) and ending with the "bottom" row (closest to the origin and following the I direction). The current value is defined as a U (in the I direction) value and a V (in the J direction) value. The values are stored similar to the output "wav" format storing the wave directions.
SMS writes files with five values per row.
See the "wav" file for a sample format.
Related Topics
SMS – Surface-water Modeling System | ||
---|---|---|
Modules: | 1D Grid • Cartesian Grid • Curvilinear Grid • GIS • Map • Mesh • Particle • Quadtree • Raster • Scatter • UGrid | |
General Models: | 3D Structure • FVCOM • Generic • PTM | |
Coastal Models: | ADCIRC • BOUSS-2D • CGWAVE • CMS-Flow • CMS-Wave • GenCade • STWAVE • WAM | |
Riverine/Estuarine Models: | AdH • HEC-RAS • HYDRO AS-2D • RMA2 • RMA4 • SRH-2D • TUFLOW • TUFLOW FV | |
Aquaveo • SMS Tutorials • SMS Workflows |