| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
9.4.1 MSH file format version 1.0 (Legacy)
The MSH file format version 1.0 is Gmsh’s old native mesh file format, now superseded by the format described in MSH ASCII file format. It is defined as follows:
$NOD number-of-nodes node-number x-coord y-coord z-coord … $ENDNOD $ELM number-of-elements elm-number elm-type reg-phys reg-elem number-of-nodes node-number-list … $ENDELM
where
number-of-nodesis the number of nodes in the mesh.
node-numberis the number (index) of the n-th node in the mesh; node-number must be a postive (non-zero) integer. Note that the node-numbers do not necessarily have to form a dense nor an ordered sequence.
x-coord y-coord z-coordare the floating point values giving the X, Y and Z coordinates of the n-th node.
number-of-elementsis the number of elements in the mesh.
elm-numberis the number (index) of the n-th element in the mesh; elm-number must be a postive (non-zero) integer. Note that the elm-numbers do not necessarily have to form a dense nor an ordered sequence.
elm-typedefines the geometrical type of the n-th element:
12-node line.
23-node triangle.
34-node quadrangle.
44-node tetrahedron.
58-node hexahedron.
66-node prism.
75-node pyramid.
83-node second order line (2 nodes associated with the vertices and 1 with the edge).
96-node second order triangle (3 nodes associated with the vertices and 3 with the edges).
109-node second order quadrangle (4 nodes associated with the vertices, 4 with the edges and 1 with the face).
1110-node second order tetrahedron (4 nodes associated with the vertices and 6 with the edges).
1227-node second order hexahedron (8 nodes associated with the vertices, 12 with the edges, 6 with the faces and 1 with the volume).
1318-node second order prism (6 nodes associated with the vertices, 9 with the edges and 3 with the quadrangular faces).
1414-node second order pyramid (5 nodes associated with the vertices, 8 with the edges and 1 with the quadrangular face).
151-node point.
168-node second order quadrangle (4 nodes associated with the vertices and 4 with the edges).
1720-node second order hexahedron (8 nodes associated with the vertices and 12 with the edges).
1815-node second order prism (6 nodes associated with the vertices and 9 with the edges).
1913-node second order pyramid (5 nodes associated with the vertices and 8 with the edges).
See below for the ordering of the nodes.
reg-physis the number of the physical entity to which the element belongs; reg-phys must be a postive integer, or zero. If reg-phys is equal to zero, the element is considered not to belong to any physical entity.
reg-elemis the number of the elementary entity to which the element belongs; reg-elem must be a postive (non-zero) integer.
number-of-nodesis the number of nodes for the n-th element. This is redundant, but kept for backward compatibility.
node-number-listis the list of the number-of-nodes node numbers of the n-th element. The ordering of the nodes is given in Node ordering.
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on February 9, 2014 using texi2html 5.0.
