[Gmsh] For 1D mesh, after refine by splitting, the segment nodes is wrong

xiang daopu xiangdaopu at gmail.com
Mon May 25 09:50:56 CEST 2015


Hi all gmsh users,

When I use gmsh to get 1D mesh, after refine by splitting, I find out that
the segment nodes is not correct. Please have a look below:

​Here is the msh file:
$MeshFormat
2.2 0 8
$EndMeshFormat
$Nodes
5
1 0 0 0
2 1 0 0
3 0.2499999999994083 0 0
4 0.4999999999986718 0 0
5 0.7499999999993359 0 0
$EndNodes
$Elements
6
1 15 2 0 1 1
2 15 2 0 2 2
3 1 2 0 1 1 3
4 1 2 0 1 3 4
5 1 2 0 1 4 5
6 1 2 0 1 5 2
$EndElements

>From the elements segment we can see the segment nodes is wrong.

So my question is: how to do re-ordering the mesh nodes in gmsh?
​
Thanks in advance!

Best regards!
Daopu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150525/561acc3c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.jpg
Type: image/jpeg
Size: 28022 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150525/561acc3c/attachment.jpg>


More information about the gmsh mailing list