Great, thanks a lot. Now it works!
The funny thing was that "Point In BoundingBox{}" worked with zero
thickness in z direction. That gave me impression, that curves should
work too.
Anyway, thanks again!
/Ugis
On 28/05/2020 17:24, Adel MORENO wrote:
Hi Ugis Lacis,
I think that your bounding box need to have "non zero" compents in z too (it's
a box and not a rectangle even if you work in 2D):
G() = Curve In BoundingBox{-1.000000e-01, -1.000000e-01, -1.000000e-01,
1.000000e-01, 8.081000e+02, 1.000000e-01};
Here, I give a thickness in z of order 0.2 (see the positive and negative sign
in z with a value of 0.1)
I hope it helps you
Adel
----- Mail original -----
De: "Ugis Lacis" <[email protected]>
À: "gmsh" <[email protected]>
Envoyé: Jeudi 28 Mai 2020 16:41:14
Objet: [Gmsh] Line In BoundingBox
Dear Gmsh users and developers,
I am now trying to use the Gmsh OpenCascade factory and after some
operations assign the needed physical tags to lines (I am working with a
2D set-up). I have gone through tutorials and found the commands "Point
In BoundingBox{}", and "Surface In BoundingBox{}" and "Volume In
BoundingBox{}". However, I do not see anything similar to "Line In
BoundingBox{}".
I have tried to use the following in my geo script:
ts() = Line In BoundingBox{xmin-eps, ymax-eps, 0.0,
xmax+eps, ymax+eps, 0.0};
Physical Line(3) = {ts()};
No error is given, but the line within the box are not tagged with
physical tag "3". Am I missing something about how "Line in
BoundingBox{}" works, or is there some other function useful for this task?
I am using Gmsh 4.3.0.
Best wishes,
Ugis Lacis
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh