[Gmsh] Triangular mesh problem

jeremy theler jeremy at seamplex.com
Tue Sep 4 02:33:23 CEST 2018


create a physical surface

On Mon, Sep 3, 2018, 09:31 Mohammad Nurul Islam <nislamce at yahoo.com> wrote:

> 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
>
>
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
>
-- 
--
jeremy theler
www.seamplex.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180903/1fa04468/attachment.html>


More information about the gmsh mailing list