SMS:CMS-Wave Depth File

From XMS Wiki
Revision as of 19:12, 11 June 2013 by Jcreer (talk | contribs)
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