[Gmsh] gmsh fails to create points inside a loop

jean pierre aubry jeanpierre at lamachine.fr
Tue Jun 1 17:44:51 CEST 2010


hello

i have the following loop to create an axis symetric struture


For i In {0:num:pas}

.........................
Point(10000*i
+100538)={-5800*Cos(a*i)-(0*Sin(a*i)),-5800*Sin(a*i)+(0*Cos(a*i)),6060,e};

Point(10000*i
+100701)={-4435*Cos(a*i)-(30*Sin(a*i)),-4435*Sin(a*i)+(30*Cos(a*i)),8766,e};
Point(10000*i
+100702)={-4435*Cos(a*i)-(-30*Sin(a*i)),-4435*Sin(a*i)+(-30*Cos(a*i)),8766,e};

..........................

EndFor

for i =0 all 3 points are created

for the next st ps the point Point(10000*i+100701) is not created

and this happens at a few other places within the loop which contains
about 150 point to be repeated 16 times

the point can however be created outside of the loop with the same
parameter

any idea of what's happening

i wnat to create a structure similar to this one which was created with
gmsh, many thanks!!

http://www.code-aster.org/V2/spip.php?article298

but much more complicated and largelly parametric