[Gmsh] tetrahedron mesh size

François Nader francois.nader at insa-lyon.fr
Tue Feb 16 12:17:49 CET 2016

Thank you for the quick response.
Actually I have tried the clscale command, but I keep getting the same mesh (attached you can find the geo file).

----- Mail original -----
De: "David Colignon" <david.colignon at ulg.ac.be>
À: "francois nader" <francois.nader at insa-lyon.fr>, gmsh at geuz.org
Envoyé: Mardi 16 Février 2016 11:17:04
Objet: Re: [Gmsh] tetrahedron mesh size

On 16/02/16 11:01, François Nader wrote: 

I am using gmsh to mesh a polyhedron .geo file using command line (non-interactive mode). I would like to know how to control the mesh element (tetrahedron) size. For my study, I want to find the effect of mesh size, so I would like to know if it's possible to have meshes between the original mesh and the refined mesh, and how. 

ace35:~ > gmsh --help 

Gmsh, a 3D mesh generator with pre- and post-processing facilities 
Copyright (C) 1997-2016 Christophe Geuzaine and Jean-Francois Remacle 
Usage: /Applications/Gmsh.app/Contents/MacOS/gmsh [options] [files] 
Geometry options: 
-0 Output model, then exit 
-tol float Set geometrical tolerance 
-match Match geometries and meshes 
Mesh options: 
-1, -2, -3 Perform 1D, 2D or 3D mesh generation, then exit 
-o file Specify output file name 
-format string Select output mesh format (auto (default), msh, msh1, msh2, unv, vrml, ply2, stl, mesh, bdf, cgns, p3d, diff, med, ...) 
-bin Use binary format when available 
-refine Perform uniform mesh refinement, then exit 
-part int Partition after batch mesh generation 
-partWeight tri|quad|tet|prism|hex int Weight of a triangle/quad/etc. during partitioning 
-saveall Save all elements (discard physical group definitions) 
-parametric Save vertices with their parametric coordinates 
-algo string Select mesh algorithm (meshadapt, del2d, front2d, delquad, del3d, front3d, mmg3d, pack) 
-smooth int Set number of mesh smoothing steps 
-order int Set mesh order (1, ..., 5) 
-optimize[_netgen] Optimize quality of tetrahedral elements 
-optimize_ho Optimize high order meshes 
-ho_[min,max,nlayers] High-order optimization parameters 
-optimize_lloyd Optimize 2D meshes using Lloyd algorithm 
-clscale float Set global mesh element size scaling factor 


David Colignon, Ph.D.
1er Logisticien de Recherche
Université de Liège
ACE - Applied & Computational Electromagnetics
Quartier POLYTECH 1 - Montefiore B28
Allée de la découverte 10
4000 Liège - BELGIQUE
Tél: +32 (0)4 366 37 32 http://www.ulg.ac.be/nic4 


Thanks in advance

François NADER
Doctorant - INSA Lyon
34 avenue des arts,
Bâtiment Coulomb
Tél: 0033(0)472437518

gmsh mailing list gmsh at onelab.info http://onelab.info/mailman/listinfo/gmsh 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: polyedre.geo
Type: application/octet-stream
Size: 1829 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20160216/e069eaf8/attachment.geo>

More information about the gmsh mailing list