[Gmsh] How to Merge myFile*.pos

Christophe Geuzaine cgeuzaine at ulg.ac.be
Wed Jan 30 20:00:34 CET 2008


Nicolas Tardieu wrote:
> Hi dear Gmsh-ers!
> 
> There is a very usefull Gmsh's feature for me :
> 
>  > gmsh -combine myFile*.pos
> 
> that allows me to combine several time steps.
> 
> But I do not know how to do that from a Gmsh script file since
> 
> Merge "myFile*.pos";
> 
> is not accepted by the parser.
> 
> Is these a solution?
> 

If your files are numbered, maybe you could do

For i In {1:10}
   Merge Sprintf("myFile%g.pos", i);
EndFor

Combine TimeSteps;

(what an ugly hack ;-)



> NiKo
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine