[Gmsh] Avoid exporting spline nodes

marco restelli mrestelli at gmail.com
Fri Apr 15 09:49:54 CEST 2011


2011/4/14 Mikhail Artemiev <artemiev.mikhail at ngs.ru>:
> Hi, Marco.
> Try to use physical entities for your purposes.
>
> Example:
>
> cl = 1e+22;
> Point(1) = {0, 0, 0, cl};
> Point(2) = {0, 1, 0, cl};
> Point(3) = {2, 2, 0, cl};
> Point(4) = {2, 1, 0, cl};
> Point(5) = {1, 0, 0, cl};
> Line(1) = {1, 2};
> Line(2) = {5, 1};
> Spline(3) = {2, 3, 4, 5};
> Line Loop(4) = {1, 3, 2};
> Plane Surface(1) = {4};
> Physical Surface(100) = {1};
>
> It works for me. Mesh file doesn't include unusable spline nodes.
>
> Mikhail Artemiev
>

Hi Mikhail,

Thank you, this indeed solves my problem. And, after you mentioned
Physical Entities, I see everything is also nicely described in
section "6.2 Elementary vs. physical entities" of the manual.

Best,
   Marco