[Gmsh] geo script - how to reference elements after reading a msh file
Don Van Kerkhoven
donvk at distributel.net
Sat Feb 29 18:29:14 CET 2020
OK thanks.
bw
Don
-----Original Message-----
From: Christophe Geuzaine [mailto:cgeuzaine at uliege.be]
Sent: February-29-20 12:15 PM
To: Don Van Kerkhoven
Cc: gmsh at onelab.info
Subject: Re: [Gmsh] geo script - how to reference elements after reading a msh file
> On 29 Feb 2020, at 16:04, Don Van Kerkhoven <donvk at distributel.net> wrote:
>
> Hi,
>
> I have a �triangulated.msh� file that was created from the Plugin(Triangulate) and saved.
> I need to attach features to this mesh as well as correct several normal directions.
>
> How do I reference or access the points, lines, etc of this mesh ?
>
This is not possible in a .geo script ; you'll need to use the API for that.
> Is there a way to harmonize the normals?
>
> ------ code start --------
> Merge "Triangulated.msh"; // works, but normals are random
> SurfaceAll[]=Surface "*"; // works, 1 surface detected
> LinesAll[]=Line "*"; // fail, 0 lines detected
> PointsAll[]=Physical Point "*"; // fail, 0 lines detected
> ----- code end -------------
>
>
> thanks
> Don
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
�
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
More information about the gmsh
mailing list