[Gmsh] mesh optimization loops

David Colignon David.Colignon at ulg.ac.be
Mon Oct 12 19:05:42 CEST 2009


Hi Alexandru,

you can issue the

Mesh 3 ;

command at the end of your .geo file to launch the (3D) meshing, but I don't see how to get back information about the 
element quality inside a loop in the .geo file...

Cheers,

Dave

--
David Colignon, Ph.D.
Collaborateur Logistique du F.R.S.-FNRS
CÉCI - Consortium des Équipements de Calcul Intensif
ACE - Applied & Computational Electromagnetics
Institut Montefiore B28
Université de Liège
4000 Liège - BELGIQUE
Tél: +32 (0)4 366 37 32
Fax: +32 (0)4 366 29 10
WWW:    http://hpc.montefiore.ulg.ac.be/
Agenda: http://www.google.com/calendar/embed?src=david.colignon%40gmail.com


Alexandru Cabuz wrote:
> Hello,
> 
> This is my first post to this list, so hello everyone.
> 
> I am just getting started with getdp and gmsh, so be warned that even 
> though I do my best to search the docs and the archives, some of the 
> questions may be silly.
> 
> My question concerns mesh optimization. Suppose I want to mesh a very 
> thin long wire, and the mesh that gets generated contains very low 
> quality elements. But I can't just decrease element size brutally, 
> because I will run out of memory. I want to make a loop where I 
> gradually decrease element size with every pass, until a given element 
> quality is achieved with as little memory as possible.
> 
> Is such a loop possible in gmsh?
> 
> I ask because the doc says that there is no mesh command in the script, 
> you have to actually run the program externally, and look at the results 
> externally. Then modify the script to lower element size, then run it 
> again, manually.
> 
> Is there no way to do all of this within the script?
> 
> Thank you.
> 
> -- 
> Alexandru I. Cabuz
> Tel: +33 (0)6.70.70.46.41
> 
> --- Please no Word or Powerpoint attachments.
> Send plain text, rich text format, html, or pdf instead.
> See http://www.gnu.org/philosophy/no-word-attachments.html
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh