[Gmsh] sphere created in Salome produces empty mesh

David Colignon David.Colignon at ulg.ac.be
Thu Jul 8 16:12:29 CEST 2010


On 08/07/10 16:05, Jan Schmitz wrote:

> Thank you, David.

> That solved the problem.
>
> Can I also uncheck those options when I run gmsh from the command line without GUI? How?


yes, with

gmsh Sphere_1.brep -string "Geometry.OCCFixSmallEdges=0;Geometry.OCCFixSmallFaces=0;"


Dave


>
> Thanks
> Jan
>
> ------------------------------------------------------------------------------------------------------------------------
> *From:* David Colignon <David.Colignon at ulg.ac.be>
> *To:* Jan Schmitz <schmitz_j at ymail.com>
> *Cc:* Jean-Francois Remacle <jean-francois.remacle at uclouvain.be>; gmsh at geuz.org
> *Sent:* Thu, July 8, 2010 3:57:13 PM
> *Subject:* Re: [Gmsh] sphere created in Salome produces empty mesh
>
> Hi Jan,
>
> your sphere is so small that it has been automatically removed...
>
> Go to Tools->Options->Geometry->General and uncheck "Remove small edeges in OCC models" and "Remove small faces in..."
>
> 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
> Sart-Tilman 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 08/07/10 15:25, Jan Schmitz wrote:
>  > Thank you for the reply. I attach the Sphere_1.brep file.
>  >
>  > You should be able to create the same brep, if you start Salome 5.1.3, create a sphere primitive and export the sphere
>  > as brep.
>  >
>  > Thanks
>  > Jan
>  >
>  > ------------------------------------------------------------------------------------------------------------------------
>  > *From:* Jean-Francois Remacle <jean-francois.remacle at uclouvain.be <mailto:jean-francois.remacle at uclouvain.be>>
>  > *To:* Jan Schmitz <schmitz_j at ymail.com <mailto:schmitz_j at ymail.com>>
>  > *Cc:* gmsh at geuz.org <mailto:gmsh at geuz.org>
>  > *Sent:* Thu, July 8, 2010 3:11:38 PM
>  > *Subject:* Re: [Gmsh] sphere created in Salome produces empty mesh
>  >
>  > can you send us the brep ?
>  > Le 08-juil.-10 à 12:36, Jan Schmitz a écrit :
>  >
>  >> Dear all,
>  >> I am trying to mesh a sphere that I have created in Salome and saved in either BREP,STL,STEP or IGES format.
>  >>
>  >> Opening any of those geometries in Gmsh shows nothing, except for the STL format which shows a surface triangular
>  >> representation of the sphere. Is this expected behaviour?
>  >>
>  >> Running any of these commands produces empty meshes or error messages:
>  >> gmsh -3 Sphere_1.brep
>  >> gmsh -3 Sphere_1.stl
>  >> gmsh -3 Sphere_1.step
>  >> gmsh -3 Sphere_1.iges
>  >>
>  >> Is the reason that a sphere has no edges? If yes, what steps are required to save geometries with spherical boundaries
>  >> in Salome and to create a 3D tetrahedral mesh for them using Gmsh?
>  >>
>  >> Btw, creating a Box in Salome and have Gmsh create a 3D mesh for this box works fine.
>  >>
>  >> Thanks
>  >> Jan
>  >>
>  >> _______________________________________________
>  >> gmsh mailing list
>  >> gmsh at geuz.org <mailto:gmsh at geuz.org> <mailto:gmsh at geuz.org <mailto:gmsh at geuz.org>>
>> > http://www.geuz.org/mailman/listinfo/gmsh
>  >
>  > ------------------------------------------------------------------
>  > Prof. Jean-Francois Remacle
>  > Universite catholique de Louvain (UCL)
>  > Ecole Polytechnique de Louvain (EPL) - Louvain School of Engineering
>  > Institute of Mechanics, Materials and Civil Engineering (iMMC)
>  > Center for Systems Engineering and Applied Mechanics (CESAME)
>  > Tel : +32-10-472352 -- Mobile : +32-473-909930
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  > _______________________________________________
>  > gmsh mailing list
>  > gmsh at geuz.org <mailto:gmsh at geuz.org>
>  > http://www.geuz.org/mailman/listinfo/gmsh
>
>