[Gmsh] Internal surfaces

David Colignon David.Colignon at ulg.ac.be
Sun Jan 2 13:37:29 CET 2011


Hi Julian,

see the "Coherence" command :

http://geuz.org/gmsh/doc/texinfo/gmsh.html#Miscellaneous-geometry-commands

Coherence;
     Removes all duplicate elementary geometrical entities (e.g., points having identical coordinates). Note that Gmsh 
executes the Coherence command automatically after each geometrical transformation, unless Geometry.AutoCoherence is set 
to zero (see Geometry options list).

Regards,

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

On 01/01/11 20:33, Julian Dean wrote:
> Dear gmsh,
>
> I'm trying to build a voronoi structure inside a box. I extract my nodes and vertex points from qhull and put them into a script for gmsh and have stumbled across a problem i hope you can help me with.
>
> As my box contains 8 separate shapes sharing faces I am having an issue defining internal surfaces. As each of my shapes have their own separate vertices and nodes (obviously some are shared) when i write the script some surfaces are unknown.
>
> It seems that when i create a surface loop with an identified number this can not be changed later but gmsh does not allow an identical surface loop to be formed.
>
> Is there any way of clearing the surface numbers so that later in the file i can create the same loop or a way of force a re-numbering? Otherwise i have to preform a check of shared surfaces which could be quite tricky.
>
> Best regards
>
> Julian
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh