[Gmsh] error 3 identical points in Qtest

Christophe Geuzaine cgeuzaine at ulg.ac.be
Sun Mar 29 13:14:45 CEST 2009


David Colignon wrote:
> Hi Timothy,
> 
> do you realize that with the characteristic lenght of 0.1, you will generate (1000/0.1)*(250/0.1)*2 = 50000000 triangles 
> on the largest face of your geometry ?
> 

The longer explanation:

You get the "3 identical points in Qtest" message when the distance 
between mesh vertices in parameter space, multiplied by the random 
perturbation factor (1e-9 by default) approaches machine accuracy. (In 
your case, the distance between mesh vertices in parameter space is 
about 0.1/1000 = 1e-4.)

Solution: increase the random perturbation factor ("-rand 1e-8" on the 
command line, or "Mesh.RandomFactor=1.e-8;" in a script), or generate a 
coarser grid.



> Cheers,
> 
> Dave
> 


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine