[Gmsh] Difficulties to obtain a coarse mesh with gmsh 2.0.

David Colignon David.Colignon at ulg.ac.be
Thu Mar 29 17:54:20 CEST 2007


Hi Ronan,

can you try to mesh your square with the latest 2.0.5 version (if you are not already using it ...) or with the latest gmsh-nightly-source.tgz ?

You can have some explanations here:

http://www.geuz.org/pipermail/gmsh/2007/002468.html

and here:

http://www.geuz.org/pipermail/gmsh/2007/002475.html

...
> I am trying to create a tapered mesh from a fine to a coarse region. If 
> I want one edge to have only one or two elements then the
> rectangle must have a length that is 10 times greater than the width. Is 
> that correct?

Yes, but I suppose it is not a good solution for you

You can also ad an isolated point 

Point(999) = { 10 , 10 , 10 , spacing } ; 

to artificially increase the size of the bounding box and get rid of this limitation.
...


Cheers,

Dave


-- 
David Colignon, Ph.D.
ELAP - Service d'Electricité Appliquée
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
http://elap.montefiore.ulg.ac.be




Ronan Perrussel wrote:
> Hello,
> 
> I need a coarse mesh on the unit square.
> For this purpose, I use a characteristic length for the 4 vertices of 
> the square of 0.5.
> 
> If I use gmsh 1.65 for meshing, I obtain a mesh with 7 nodes and 10 
> elements and this is nice :-).
> If I use gmsh 2.0 for meshing, I obtain a mesh with 67 nodes and 118 
> elements and this is not so nice :-(.
> 
> I do not manage to obtain less elements with gmsh 2.0 and I would like 
> to understand why?
> (Is there a default option somewhere?)
> 
> Thank you in advance,
> Best Regards,
> 
> Ronan
> 
> PS : in pratice, I am going to use the older version but I am definitely 
> interested in your answer.
> 
> 
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh