[Gmsh] importing .step files with multiple parts whose surfacestouch
Zenker, Dr. Matthias
Matthias.Zenker at erbe-med.com
Mon Apr 11 10:01:14 CEST 2011
Hi Brent,
GiD can import Parasolid format, which is what I have used. GiD then collapses the surfaces for simpler cases, but I have experienced problems (crashes) for more complicated geometries. IF you get your geometry imported, you have to create different layers for the bodies and surfaces you want to have represented in your final mesh, otherwise it will create just one body with an outer surface. For questions, there is a mailing list (see http://listas.cimne.upc.edu/cgi-bin/mailman/listinfo/gidlist). It normally takes one or two days before you get an answer, but you get one.
I have given up on GiD because it doesn't handle my case - they have finally managed to import my geometry, but not to collapse it.
So I have returned to my 2D mesh processor and have managed to collapse duplicate surfaces, but only if the meshes on the surface border lines match and if there are no partial overlaps between surfaces. The next step is to solve those two remaining problems. If I manage to do that, we might have a solution within gmsh.
Matthias
-----Ursprüngliche Nachricht-----
Von: Vandevender, Brent A [mailto:Brent.Vandevender at pnl.gov]
Gesendet: Samstag, 9. April 2011 02:49
An: Zenker, Dr. Matthias; Mark van Doesburg; gmsh at geuz.org
Betreff: Re: AW: [Gmsh] importing .step files with multiple parts whose surfacestouch
Matthias,
Thanks for pointing me to GiD. I have started experimenting with it. I see that it doesn't take .step files which complicates things for me. I can export the mesh of a .step file from gmsh and try Gid's "create geometry from mesh", but that crashes for complicated parts, as you know. What is your starting point with GiD? Do you read some kind of CAD file or mesh to start with? What do you then export to read by gmsh?
I can't tell if GiD will help or not. To experiment, I reproduce the simplest example of our problem with the attached cubes.geo. I mesh in 1D and then 2D with gmsh and export to .stl. The touching surfaces' meshes are clearly mismatched. I then import that to GiD and "create geometry from mesh" with no problem. I try to "collapse" the touching surfaces, but that has no effect - I feel like I am not using it correctly or misunderstanding what that should do. I can instead use the GiD GUI to select those surfaces, delete them and then redefine them without overlap, but that is just as well done in the gmsh GUI and will be intractable for real parts. Do you find that GiD can automatically detect and repair the contact patches, at least in simple geometries like my cubes?
Hi Brent and Mark,
at the moment, I am still working on my processor for the 2D mesh. But as soon as the problem I have with GiD (crash at geometry import in at least one case) is solved, I will stop that work and use GiD. It can collapse surfaces and is not expensive, so it may be worthwhile to try it wioth a one-month evaluation license.
Sorry, gmsh team - gmsh is a very nice tool, and I like it, but it does not offer a real solution to this "3D geometries with double surfaces" problem.
If I manage to develop my 2D mesh processor to a point where it is useful in any way, I will post it here.
Matthias
--
Brent A VanDevender, PhD
Pacific Northwest National Laboratory
Radiation Detection and Nuclear Sciences Group
email:brent.vandevender at pnl.gov
phone:509-371-7982