[Gmsh] Scaling problem

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Apr 5 07:26:30 CEST 2016


> On 04 Apr 2016, at 22:30, David Colignon <David.Colignon at ulg.ac.be> wrote:
> 
> Hi,
> 
> Can you try with:
> 
> Geometry.ScalingFactor
> 
>    Global geometry scaling factor
>    Default value: 1
>    Saved in: General.OptionsFileName
> 

You can also select multiple points in the interface by pressing "Ctrl+left mouse button", or simply do a For loop in the .geo file and iterate over the points.

> Regards,
> 
> Dave
> 
> -- 
> David Colignon, Ph.D.
> 1er logisticien de recherche
> Université de Liège
> ACE - Applied & Computational Electromagnetics
> Sart-Tilman B28
> 10, Grande Traverse
> 4000 Liège - BELGIQUE
> Tél: +32 (0)4 366 37 32
> http://www.ulg.ac.be/nic4
> 
> On 04/04/16 21:03, nbouvier at student.ulg.ac.be wrote:
>> Hello,
>> 
>> I was wondering if it's possible to change the scaling of every point defined in my code with a factor 100 immediately  in the .geo file?
>> 
>> I am actually looking for an iterative methode as the scaling command of the Gmsh interface requires (if i'm right) to select each point one by one. The underlying problem of my situation is that i've already created one thousand of points...
>> 
>> Kind regards.
>> 
>> Nicolas Bouvier.
>> 
>> _______________________________________________
>> gmsh mailing list
>> gmsh at onelab.info
>> http://onelab.info/mailman/listinfo/gmsh
>> 
> 
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

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

Tetrahedron V, July 4-5 2016: http://tetrahedron.montefiore.ulg.ac.be
Free software: http://gmsh.info | http://getdp.info | http://onelab.info




More information about the gmsh mailing list