[Gmsh] incorrectly created msh file from two merged geo files
Vinetou Incucuna
fregewitt at gmail.com
Tue Sep 6 09:50:34 CEST 2016
Hello,
I have merged two .geo geometries, see attachment.
I have meshed the result, I have got the mesh in attachment.
I compute in deal.ii fem library, it threw error
n error occurred in line <1447> of file
</home/marek/SECONDARY/Libraries/numerics/candi/candi_reinst
_install/tmp/unpack/deal.II-v8.4.1/source/grid/grid_in.cc>
in function
void dealii::GridIn<dim, spacedim>::read_msh(std::istream&) [with int
dim
= 3; int spacedim = 3; std::istream = std::basic_istream<char>]
The violated condition was:
false
The name and call sequence of the exception was:
ExcInvalidVertexIndex(cell, subcelldata.boundary_lines.bac
k().vertices[i])
Additional Information:
While creating cell 55, you are referencing a vertex with index 0 but no
vertex with this index has been described in the input file.
meaning, that the numbering of vertices starts with 1
$MeshFormat
2.2 0 8
$EndMeshFormat
$Nodes
9708
1 0 0 0
2 1 0 0
3 0 1 0
...
That is, it starts numbering vertices at 1 (first column). But then, later
on, it describes cells as follows:
$Elements
11703
1 15 2 0 1 1
2 15 2 0 2 2
3 15 2 0 3 3
...
* 56 1 2 0 5 0 52*
which means, that it references vertex with number 0
Maybe I have merged the ,geo files incorrectly.
Could You advice me, how to merge the files in the right way.
Or should I modify them?
Thank You
Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20160906/982caa9f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesh_result.msh
Type: model/mesh
Size: 1001449 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20160906/982caa9f/attachment-0001.msh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cylinders.geo
Type: application/octet-stream
Size: 610 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20160906/982caa9f/attachment-0002.geo>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cylinder.geo
Type: application/octet-stream
Size: 377 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20160906/982caa9f/attachment-0003.geo>
More information about the gmsh
mailing list