SMS:MIKE 21 *.mesh: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
** Id for node_3 | ** Id for node_3 | ||
** (Id for node_4 ) | ** (Id for node_4 ) | ||
:Each line contains at most as many nodes as stated in the element header line. If an element has fewer nodes than the maximum number of nodes per element stated in the element header line, the remaining node Id value is 0. | |||
For additional information, see the DHI User Guide [http://www.mikebydhi.com/~/media/Microsite_MIKEbyDHI/Downloads/DFSMatlab%20User%20Guide%20v2008.ashx]. | |||
==Related Topics== | |||
* [[SMS:Importing Non-Native SMS Files|Importing Non-Native SMS Files]] | |||
{{Navbox SMS}} | {{Navbox SMS}} |
Revision as of 22:54, 13 February 2013
Loading a MIKE 21 *.mesh file into SMS
MIKE 21 File Format
A MIKE 21 mesh file is a text/plain file and has the *.mesh extension. It lists the node and a simplified element table in text format using spaces as separators.
A MIKE 21 mesh file uses the following format:
- Header line – The first line. This line contains two integers expressing the type and unit of the bathymetry data. This followed by the number of nodes then by a string defining the projection.
- Node lines – Every line after the header line for as many lines as stated in the header line. Each line contains information for one node on the form:
- The node point Id
- The x coordinate (Easting or Longitude)
- The y coordinate (Northing or Latitude)
- The z value (bathymetry)
- The node type (0 for water, 1 for land and above 1 for all other boundaries)
- Element header line – One line containing 3 numbers:
- The number of elements
- The maximum number of nodes per element
- Internal code for mesh type (21 for purely triangular elements, 25 if quadrangular elements exists)
- Element lines – Every line after the element header line for as many lines as stated in the element header line. Each line contains information for one element on the form:
- The element Id
- Id for node_1
- Id for node_2
- Id for node_3
- (Id for node_4 )
- Each line contains at most as many nodes as stated in the element header line. If an element has fewer nodes than the maximum number of nodes per element stated in the element header line, the remaining node Id value is 0.
For additional information, see the DHI User Guide [1].
Related Topics
SMS – Surface-water Modeling System | ||
---|---|---|
Modules: | 1D Grid • Cartesian Grid • Curvilinear Grid • GIS • Map • Mesh • Particle • Quadtree • Raster • Scatter • UGrid | |
General Models: | 3D Structure • FVCOM • Generic • PTM | |
Coastal Models: | ADCIRC • BOUSS-2D • CGWAVE • CMS-Flow • CMS-Wave • GenCade • STWAVE • WAM | |
Riverine/Estuarine Models: | AdH • HEC-RAS • HYDRO AS-2D • RMA2 • RMA4 • SRH-2D • TUFLOW • TUFLOW FV | |
Aquaveo • SMS Tutorials • SMS Workflows |