[Gmsh] RE RE Creation of Physical Line with for loop

Pietro Vitali pv.bu.2013 at gmail.com
Fri May 9 16:45:34 CEST 2014


Now it works!!!

Thank you very much Jean Pierre!!!


On 09/05/2014 13:38, jean pierre aubry wrote:
> of course it does not!
> i missed the line definition within the loop
> assuming first node of the beam is num and second num+1
> it can be much more sophisticated
> the loop should be
> For num In {1:100}
> 	 Line(num) = {num, num+1};
>       beam[]+= {num}
> EndFor