[Gmsh] Parameters automaticaly replaced

Christophe Geuzaine cag32 at case.edu
Sat Nov 25 22:01:15 CET 2006


Collette Yann wrote:
> So, if I do a "Save" or "Save as", the .geo file is automatically unrolled ?
> 

"Save" saves the mesh. If you choose "Save As->Gmsh unrolled geometry", 
the geometry will be unrolled. If you don't do *anything*, the file will 
be constructed the way you expect, i.e., new commands will be appended 
to it as you go...

> YC
> 
> Le samedi 25 novembre 2006 19:46, vous avez écrit :
>> Collette Yann wrote:
>>> Hello,
>>>
>>> What can I use to save the geometry ?
>> You don't have to save the geometry: it's always "saved" automatically.
>> (Every time you make a modification in the GUI, the .geo file gets
>> updated.)
>>
>>> I can't anything else than "Save As->Gmsh unrolled geometry" to save
>>> under .geo.
>>>
>>> YC
>>>
>>> Le samedi 25 novembre 2006 16:23, vous avez écrit :
>>>> Collette Yann wrote:
>>>>> Hello,
>>>>>
>>>>> I've tried to define a parametrized geometry.
>>>>> When I save the geometry in a file and look inside the file, all the
>>>>> parameters have been replaced by values.
>>>>> How do I prevent gmsh to replace the parameters ?
>>>> Hi Yann - Don't use "Save As->Gmsh unrolled geometry". As its name
>>>> indicates, the purpose of saving an "unrolled" geometry is precisely to
>>>> "unroll" all the definitions, parameters, loops, etc.
>>>>
>>>> When you work with Gmsh, as soon as you make a modification in the model
>>>> interactively, the .geo file is modified (in real time--no need to save
>>>> anything by hand). Commands are simply appended at the end of the
>>>> current project file.
>>>>
>>>> (The "Save As->Gmsh unrolled geometry" is there pretty much only for
>>>> debugging purposes; and it can also be useful when deling with large
>>>> models, where it can help speed up model loading time).
>>>>
>>>>> Your sincerely,
>>>>>
>>>>> Yann COLLETTE
>>>>> _______________________________________________
>>>>> gmsh mailing list
>>>>> gmsh at geuz.org
>>>>> http://www.geuz.org/mailman/listinfo/gmsh
>>> _______________________________________________
>>> gmsh mailing list
>>> gmsh at geuz.org
>>> http://www.geuz.org/mailman/listinfo/gmsh
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
> 


-- 
Christophe Geuzaine
Assistant Professor, Case Western Reserve University, Mathematics
http://www.case.edu/artsci/math/geuzaine