[Gmsh] how to load a pre-defined 2D mesh

Romain Quey quey at emse.fr
Thu Feb 16 16:55:13 CET 2006


Hello,

I want to mesh volumes with pre-defined 2D-meshes on some of their
faces, but it doesn't work ...

Please find attached a simple example based on a cube:
'cube.geo' first defines 5 of the faces, then load the mesh
of the 6th one (from file 'z1.msh', obtained from 'z1.geo')
and finally defines the volume ...

When I run the 3D meshing (Netgen algorithm), Gmsh returns:
Info    : 'gmsh -3 cube.geo ' started on Thu Feb 16 16:34:07 2006
Info    : Parsing file 'cube.geo'
Info    : Reading mesh file 'z1.msh'
Info    : Detected mesh file format 2
Info    : 134 nodes
Info    : 266 elements
Info    : Read mesh file 'z1.msh'
Info    : Parsed file 'cube.geo'
Info    : Mesh 3D...
Info    : Meshing volume 1
Info    : CalcLocalH: 134 Points 0 Elements 230 Surface Elements
Info    : Check subdomain 1 / 1
Info    : 230 open elements
Fatal   : ERROR: Edge 2 - 5 multiple times in surface mesh
Aborted

Where am I wrong?

Thank you for your help ... and for Gmsh too!

--
Romain QUEY
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cube.geo
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20060216/6e32f88b/attachment.geo>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: z1.geo
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20060216/6e32f88b/attachment-0001.geo>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: z1.msh
Type: model/mesh
Size: 10777 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20060216/6e32f88b/attachment.msh>