Hello,

I'm hoping to import a 2-D set of quadrilaterals I've generated
following gmsh formatting and extruding them to create an unstructured
3-D mesh. The GmshImporter2D routine does not appear to be able to
handle 'squares' (element type '3' in gmsh) and an error is raised
when I try to import my gmsh file. Is there a simple work around for
this or do I need to modify the code to allow me to import quads so I
can extrude them?

The file I'm trying to import can be read by gmsh (indicating the
format is correct) and follows, just in case you wish to try this out
yourself.

Andy

***gmsh*file*follows***

$MeshFormat
2 0 8
$EndMeshFormat
$Nodes
16
1 0 0 0
2 0 1 0
3 0 2 0
4 0 3 0
5 1 0 0
6 1 1 0
7 1 2 0
8 1 3 0
9 2 0 0
10 2 1 0
11 2 2 0
12 2 3 0
13 3 0 0
14 3 1 0
15 3 2 0
16 3 3 0
$EndNodes
$Elements
9
1 3 0 1 2 6 5
2 3 0 5 6 10 9
3 3 0 9 10 14 13
4 3 0 2 3 7 6
5 3 0 6 7 11 10
6 3 0 10 11 15 14
7 3 0 3 4 8 7
8 3 0 7 8 12 11
9 3 0 11 12 16 15
$EndElements


----------------------
Andrew Reeve
Dept. of Earth Science
University of Maine
Orono, ME 04469
(207)581-2353
[EMAIL PROTECTED]

Reply via email to