A..0.0.1.1 File MESH

Before the keyword End, you have to define all the mesh characteristics: vertex, elements (triangles, quadrilaterals, tetrahedra, hexahedra...), etc. Those entities are defined as follows:

NB :The entities number begins to $1$ (and not $0$ like in C langage)


Vertices
$np$
$x_1   y_1   z_1   ref_1$
...
$x_{np}   y_{np}   z_{np}   ref_{np}$
with $np$ the number of mesh nodes, $x_i   y_i    z_i $ the coordinates of vertex $i$ and $ref_i$ its reference (an integer).
NB :In dimension 2, it is just $x_i   y_i   ref_i$


Triangles
$nt$
$v^1_1   v^2_1   v^3_1   ref_1$
...
$v^1_{nt}   v^2_{nt}   v^3_{nt}   ref_{nt}$
with $nt$ the number of mesh triangles, $v^j_i$ the number of vertex $j$ of triangle $i$ and $ref_i$ its reference.


Quadrilaterals
$nq$
$v^1_1   v^2_1   v^3_1    v^4_1  ref_1$
...
$v^1_{nq}   v^2_{nq}   v^3_{nq}    v^4_{nq}  ref_{nq}$
with $nq$ the number of quadrilaterals, $v^j_i$ the number of vertex $j$ of quadrilaterals $i$ and $ref_i$ its reference.


Tetrahedra
$ntet$
$v^1_1   v^2_1   v^3_1    v^4_1  ref_1$
...
$v^1_{ntet}   v^2_{ntet}   v^3_{ntet}    v^4_{ntet}   ref_{ntet}$
with $ntet$ the number of tetrahedra, $v^j_i$ the number of vertex $j$ of tetrahedron $i$ and $ref_i$ its reference.


Hexahedra
$nh$
$v^1_1   v^2_1   v^3_1    v^4_1   v^5_1   v^6_1   v^7_1    v^8_1  ref_1$
...
$v^1_{nh}   v^2_{nh}   v^3_{nh}    v^4_{nh}   v^5_{nh}   v^6_{nh}   v^7_{nh}    v^8_{nh}   ref_{nh}$
with $nh$ the number of hexahedra, $v^j_i$ the number of vertex $j$ of hexahedron $i$ and $ref_i$ its reference.


Edges
$ne$
$e^1_1   e^2_1   ref_1$
...
$e^1_{ne}    e^2_{ne}    ref_{ne}$
with $ne$ the number of (boundary) edges, $e^1_i e^2_i$ the numbers of the two vertex which compose the edge $i$ and $ref_i$ its reference.



Dobrzynski 2012-03-23