CMS-Flow Input files

From CIRPwiki
Revision as of 22:20, 5 March 2018 by Rdchlmeb (talk | contribs) (Created page with "=Introduction= The Coastal Modeling System (CMS) has capability for various input file types. Primarily when running on a Windows PC or laptop, CMS will use a binary format (...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

The Coastal Modeling System (CMS) has capability for various input file types. Primarily when running on a Windows PC or laptop, CMS will use a binary format (XMDF) which allows for fast loading and saving of information.

There may be occasion when the user wishes to run the CMS with ASCII input. There have been some recent changes to the CMS (February/March 2018) to provide additional support for ASCII input files and to better define the file formats.

This set of wiki pages will outline the various types and their formats, as well as to provide samples of those formats. For each type of file type given below, information will be given for various types of input information.

XMDF Binary Input File

Boundary Conditions

Boundary conditions are specified along an external or internal a string of cells. For each boundary, a folder containing information is written to the file.

  • Filename (<project>*_mp.h5 file)
  • XMDF Path - "PROPERTIES/Model Params/Boundary_#[n]" (Where 'n' is the boundary ID from SMS)
  • Contents of folder
    • Cells - Dataset containing a list of Cell IDs for the boundary forcing string.
    • Times - Dataset containing a list of all the times for in the WSE or Flow curve specification.
    • Flow (for Flux BC) - Dataset containing a list of the flux values matching the Times dataset.
    • WaterLevel (for WSE BC) - Dataset containing a list of WSE values matching the Times dataset.

Dataset values

These dataset values can be any type of data and are specified for every cell in the grid. Certain types of data are common to most project numerical grids, such as: Bottom Friction, Grain Size, Hard Bottom depth. Other types of data are allowed as well, such as: initial 2d salinity concentration, temperature, and fraction of suspended sediment evaluated with the Sediment Mapping feature.

Wind Forcing

Wind forcing applied to the entire domain, but can be input either at each cell in the grid or from a field of values at a specified spacing that covers the domain.

  • Filename (<project>*_mp.h5 file)
  • XMDF Path - "PROPERTIES/Model Params/WindCurve"
  • Contents of folder
    • Times - Dataset containing a list of all the times for in the WSE or Flow curve specification.
    • Direction - Dataset containing a list of the Wind directions matching the Times dataset.
    • Magnitude - Dataset containing a list of the Wind speed values matching the Times dataset.

Wave Forcing

Wave information typically comes in directly from the embedded wave model and mapped to every cell in the grid, but can also be input from pre-run wave cases that have been already mapped to the flow grid geometry.