SMS:CMS-Wave Depth File

From XMS Wiki
Revision as of 19:07, 11 June 2013 by Azundel (talk | contribs) (Created page with "CMS-Wave requires a depth at each cell in the domain. In SMS terminology, the depth values comprise a dataset on the grid. The depths are passed into CMS-Wave in the form of an ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

CMS-Wave requires a depth at each cell in the domain. In SMS terminology, the depth values comprise a dataset on the grid.

The depths 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 ".dep". 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

Sample File

CMS-Wave 902500.0 4086600 135 /* Key word, grid origin, grid orientation*/
DEP grid.dep /* Name of input file containing depth values for each cell */
OPTS grid.std /* Name of input file containing model parameters */
CURR curgrid.cur /* Name of optional input file containing current values (vx and vy) for each cell */
SPEC grid.eng /* Name of input file containing energy density spectra (required in most cases) */
WAVE grid.wav /* Name of output file for spatial wave conditions (height, direction) for each cell */
OBSE grid.obs /* Name of output file to save full spectra at specified monitoring locations */
NEST grid.nst /* Name of output file to save full spectra at specified nesting cells */
BREAK grid.brk /* Name of output file to save wave breaking indices or energy disipations at each cell */
SPGEN grid.txt /* Name of spectral parameter file, contains parameters used to generate spectra */
RADS grid.rad /* Name of output file to save wave radiation stress gradients at each cell */
STRUCT grid.struct /* Name of input file containing structure flags for each cell */
SUR grid.eta /* Name of optional input file containing spatially varied surge at each cell */

The number of particles must be the same for each time step.

Related Topics