[Gmsh] High-order optimization parameters

Gonçalo Albuquerque albusquercus at gmail.com
Fri May 2 22:20:37 CEST 2014


Dear Andrea,

Just looked at the sources (which I should have done in the first place)
and each parameter must be given in a separate option:
-ho_min 0.5 -ho_max 2.0 -ho_nlayers 2

Gonçalo


On Fri, May 2, 2014 at 10:10 PM, FERRERO ANDREA <d019088 at polito.it> wrote:

>
> Dear Gonçalo
> Thank you for your answer.
> I removed the square brackets but the option is still not recognized.
> In fact I obtained the error message:
>
> Error   : Unknown option '-ho_0.5,2.0,6'
>
>
> Andrea Ferrero
>
>
>
> On Fri, 2 May 2014 21:47:27 +0200
>  Gonçalo Albuquerque <albusquercus at gmail.com> wrote:
>
>> Dear Andrea,
>>
>> I would drop the square brackets. Your command line should perhaps read:
>> gmsh -2 -order 2 -optimize_ho -ho_0.5,2.0,6 geometry.geo
>>
>> Gonçalo
>>
>>
>> On Fri, May 2, 2014 at 6:42 PM, FERRERO ANDREA <d019088 at polito.it> wrote:
>>
>>  Dear All,
>>> I have a problem with the high-order mesh optimizer. In particular I
>>> cannot set the optimization parameters from the command line.
>>> I need to use Gmsh from the command line because I call it from a script.
>>> If I use the GUI the algorithm works well and I can properly set the
>>> parameters (min and max jacobian values and number of layers) from the
>>> control window, but I obtain an error when I try to use the command line
>>> option described in the documentation.
>>> I'm working with Gmsh 2.8.4 on a 64 bit Linux machine. Maybe do I use the
>>> wrong syntax?
>>>
>>> The following command works but it uses the default parameters which are
>>> not suitable for my problem:
>>> gmsh -2 -order 2 -optimize_ho geometry.geo
>>>
>>> The following command does not work because the last option is not
>>> recognized:
>>> gmsh -2 -order 2 -optimize_ho -ho_[0.5,2.0,6] geometry.geo
>>>
>>> It seems to me that the syntax is correct...what could be the problem?
>>>
>>> Thanks
>>>
>>> Andrea Ferrero
>>>
>>> _______________________________________________
>>> gmsh mailing list
>>> gmsh at geuz.org
>>> http://www.geuz.org/mailman/listinfo/gmsh
>>>
>>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20140502/5602667c/attachment.html>