[Gmsh] Coherence Mesh on mirrored mesh
vincent doyeux
vdoyeux at gmail.com
Wed Sep 20 11:05:05 CEST 2017
Hi,
I am trying to build a mesh by pasting together two meshes.
The first mesh is a simple cube for this example.
I created the second mesh, by performing a "mirror" of the first mesh. To
do so, I read the first mesh file and directly change the node coordinates.
Thus, I expect the connectivity to be kept the same.
I want to paste the two meshes which are necessarily matching by a face.
To paste the meshes I use (merging.geo):
Merge "mesh1.msh";
Merge "mesh2.msh";
Geometry.Tolerance=1e-05;
Coherence Mesh;
The resulting mesh looks ok but is actually wrong. For example, if I
partition the resulting mesh, I can see that the connectivity is not read
properly.
Do you have any idea of what I am doing wrong?
I joined simplified meshes I used and pictures of the partitions I get.
Best,
Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20170920/3f460adb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: merging.geo
Type: application/octet-stream
Size: 79 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20170920/3f460adb/attachment-0001.geo>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: merging.msh
Type: model/mesh
Size: 2255 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20170920/3f460adb/attachment-0003.msh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesh1.msh
Type: model/mesh
Size: 1380 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20170920/3f460adb/attachment-0004.msh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesh2.msh
Type: model/mesh
Size: 1376 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20170920/3f460adb/attachment-0005.msh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: all_partitions.jpg
Type: image/jpeg
Size: 546734 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20170920/3f460adb/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: partition_1.png
Type: image/png
Size: 282323 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20170920/3f460adb/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: partition_2.png
Type: image/png
Size: 259976 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20170920/3f460adb/attachment-0003.png>
More information about the gmsh
mailing list