Template:Export Curvilinear Grid

From XMS Wiki
Revision as of 20:54, 26 January 2023 by Jcreer (talk | contribs)

Jump to navigationJump to search


Export Curvilinear Grid

The Export Curvilinear Grid tool is used to create a curvilinear (boundary fitted) grid file (or files) for a curvilinear compatible mesh, scatter set or UGrid that is loaded into SMS. This can make use of user provided I,J index data sets if they exist. It also supports the option to compute I,J data indices. In this case, the orientation of the first cell in the surface will define the orientation if the I,J axes of the grid.

For EFDC grid files it may also use provided cell based datasets to populate the additional properties of the grid. These can include:

  • Depth
  • Z Roughness
  • Vegetation type
  • Wind shelter

Input arguments: - Format of the data file:

  CH3D (also referred to as GSMB)
  EFDC (also referred to as LTFATE)

- Generate cell i-j datasets toggle. - Cell i-coordinate dataset (optional). Select the cell based dataset that defines the I index of each cell. (Required if the toggle to generate I-J is not selected.) - Cell j-coordinate dataset (optional). Select the cell based dataset that defines the J index of each cell. (Required if the toggle to generate I-J is not selected.) - Depth dataset (optional). Select the cell based dataset to define the depth of each cell. (Available if the format is EFDC) - Z Roughness dataset (optional). Select the cell based to define the roughness of each cell. (Available if the format is EFDC) - Vegetation type dataset (optional). Select the cell based to define the vegetation type of each cell. (Available if the format is EFDC) - Wind shelter dataset (optional). Select the cell based to define the wind shelter value of each cell. (Available if the format is EFDC)

Output arguments: - Path to where files will be saved: Text string defining where the grid file(s) will be saved. This defaults to the project directory if one is defined in the instance of SMS. The path can be cut/paste from a file browser in windows to this edit field. - CH3D grid file name: name to be used for the CH3D grid file. Defaults to "grid.inp". (Specified if the format is CH3D.) - EFDC dxdy file name: name to be used for the EFDC dxdy file. Defaults to "dxdy.inp". (Specified if the format is EFDC.) - EFDC lxly file name: name to be used for the EFDC lxly file. Defaults to "lxly.inp". (Specified if the format is EFDC.) - EFDC cell file name: name to be used for the EFDC cell file. Defaults to "cell.inp". (Specified if the format is EFDC.)


Current location in toolbox: Unstructured Grids/Export Curvilinear Grid

The file formats for the CH3D and EFDC grids are defined in the Import Curvilinear Tool documentation. The cell.inp file for EFDC is not used for importing since it does not include any unique information for the definition of the grid. This file includes an ASCII map of the cell types in the grid.