[Gmsh] Refine Changes Order
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Mon Mar 18 09:14:49 CET 2013
On 18 Mar 2013, at 01:34, Erich <erichlf at gmail.com> wrote:
> Back in January 2012 Jakub Sistek posted a question, but I didn't see a response. I have essentially the same issue. If I use the command
>
> gmsh _QGETEMP.mesh -v 0 -refine -o _QGETEMP.mesh
>
> it certainly refines the mesh, but I go from order 2 to order 1. So, I tried the following
>
> gmsh _QGETEMP.mesh -v 0 -refine -order 2 -o _QGETEMP.mesh
>
> with the same results. I have no idea how to fix this, without using the GUI.
>
Hi Erich - I've just added a little bit of code to make this possible. With tomorrow's nightly build you will be able to write the following script
Merge "_QGETEMP.mesh";
RefineMesh;
SetOrder 2;
Save "new.msh";
which should do what you want.
Let us know if it works.
Christophe
> Erich
> _______________________________________________
> 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