[Gmsh] Triangular mesh problem

Mohammad Nurul Islam nislamce at yahoo.com
Mon Sep 3 14:06:41 CEST 2018


Hi All,I have a very simple geometry for an enhanced oil and gas recovery project. The domain height and width are 6 m and 2000 m respectively. The radius of well is 0.1 m.
I want the surface to be mesh with the triangular element only. However, after inspection, I found that there are Line elements also. I did a similar mesh for the structured mesh and found the same result. Is there any way to mesh the domain as triangular only. I do not want any line element. 
//------------Geo file--------------Mesh.Algorithm = 1;Mesh.Optimize = 1;
lc1=1;lc4=2;

Point(0) = {0.1,         0,    0, lc1};Point(1) = {2000.1,    0,    0, lc4};Point(2) = {2000.1,    0,   -6, lc4};Point(3) = {0.1,         0,   -6, lc1};
//+
Line(1) = {0, 1};//+Line(2) = {1, 2};//+Line(3) = {2, 3};//+Line(4) = {3, 0};//+Line Loop(1) = {3, 4, 1, 2};//+Plane Surface(1) = {1};//+
I have attached test.gmsh.msh which is similar to the mesh file for the gmsh. The test.msh file is the mesh file for our code. Any co-operation will be appreciable.
Thanks in advance.
Regards,Mohammad

 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180903/9b53d382/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.gmsh.msh
Type: application/octet-stream
Size: 800110 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20180903/9b53d382/attachment-0002.msh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.msh
Type: application/octet-stream
Size: 780504 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20180903/9b53d382/attachment-0003.msh>


More information about the gmsh mailing list