CMS-Flow Input files

From CIRPwiki
Revision as of 17:16, 6 March 2018 by Rdchlmeb (talk | contribs)
Jump to navigation Jump to search

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 format is presently the only format allowed for use on Unix/Linux platforms.


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

The proper cards needed for the binary input are properly written out by the SMS. To change to use the ASCII equivalent, certain cards must be changed in the CMS parameter file, <project>.cmcards. The cards for Binary and ASCII input are given in the three sections below.

Boundary Conditions

Example XMDF Cards for specifying the Boundary Condition block of parameters.
BOUNDARY_BEGIN

NAME "" !Optional. "" can contain a string to assign a name to this boundary.
<type>_BEGIN !Type can be "FLUX", "WSE", "TIDAL", or "HARMONIC". Example: FLUX_BEGIN
CURVE <XMDF Boundary ID File> <XMDF Path to Boundary> !i.e. CURVE "Project_mp.h5" "PROPERTIES/Model Params/Boundary_#1"
<type>_END !Must be same <type> as the begin.

BOUNDARY_END

Example ASCII Cards for specifying the Boundary Condition block of parameters.
BOUNDARY_BEGIN

NAME "" !Optional. "" can contain a string to assign a name to this boundary.
<type>_BEGIN !Type can be "FLUX", "WSE", "TIDAL", or "HARMONIC". Example: FLUX_BEGIN
CURVE <ASCII Boundary ID File> <Boundary Number> !i.e. CURVE "ASCII_Input\Project_h.bid" 1
<type>_END !Must be same <type> as the begin.

BOUNDARY_END