CMS-Flow Input files: Difference between revisions

From CIRPwiki
Jump to navigation Jump to search
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 11: Line 11:
*[[CMS_Input_files/ASCII|ASCII Input Files]]
*[[CMS_Input_files/ASCII|ASCII Input Files]]


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.
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.  Sample cards for ASCII input are given in the the section below.


=Boundary Conditions=
=Boundary Conditions=
'''Example XMDF Cards for specifying the Boundary Condition block of parameters.'''<br>
BOUNDARY_BEGIN
:NAME ""  !Optional.  "" can contain a string to assign a name to this boundary.
:CELLSTRING <XMDF Boundary File> <XMDF Boundary Path>  !"ASCII_Input/Project.bid" 1
:<type>_BEGIN  !Type can be "FLUX", "WSE", "TIDAL", or "HARMONIC".  Example: FLUX_BEGIN
::CURVE <XMDF Boundary File> <XMDF Boundary Path>  !i.e. CURVE "Project_mp.h5" "PROPERTIES/Model Params/Boundary_#1"
:<type>_END  !Must be same <type> as the begin. <br>
BOUNDARY_END


'''Example ASCII Cards for specifying the Boundary Condition block of parameters.'''<br>
'''Example ASCII Cards for specifying the Boundary Condition block of parameters.'''<br>
BOUNDARY_BEGIN
[[File:ASCII Boundary example.png|600px|alt=ASCII Boundary example|ASCII Boundary example]]
:NAME ""  !Optional.  "" can contain a string to assign a name to this boundary.
:CELLSTRING <ASCII Boundary ID File> <Boundary Number>  !"ASCII_Input/Project.bid" 1
:<type>_BEGIN  !Type can be "FLUX", "WSE", "TIDAL", or "HARMONIC". Example: FLUX_BEGIN
::CURVE <ASCII Boundary Forcing File> <Boundary Number>  !i.e. CURVE "ASCII_Input\Project_h_1.xys" 1
:<type>_END  !Must be same <type> as the begin. <br>
BOUNDARY_END

Latest revision as of 18:21, 31 August 2023

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.

Links

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. Sample cards for ASCII input are given in the the section below.

Boundary Conditions

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