[Gmsh] geo script - how to reference elements after reading a msh file
Christophe Geuzaine
cgeuzaine at uliege.be
Sat Feb 29 18:15:27 CET 2020
> 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