CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

boundary conditions with Gmsh stl

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 22, 2012, 07:10
Default boundary conditions with Gmsh stl
  #1
New Member
 
Join Date: May 2012
Posts: 7
Rep Power: 5
Bercht is on a distinguished road
Hi,

I created a geometry with Gmsh and exported it as an stl file. After that i meshed it with snappyHexMesh. But i dont have any boundaries defined with this method. Everytime i export an stl file with gmsh i get the msg, that physical groups can't be saved.
Is there any way i can create my boundaries with a combination of gmsh->stl->SHM ?
If no, what else could I use?
Bercht is offline   Reply With Quote

Old   July 10, 2012, 11:04
Default
  #2
New Member
 
Mike Jaworski
Join Date: Jul 2012
Location: New Jersey
Posts: 6
Rep Power: 4
Jaworski.Mike is on a distinguished road
Hi Bercht,
I think I had this problem as well. What I saw is that even if I defined physical entities in gmsh, that the stl file would only be listed as a single solid with the name "Created by Gmsh", which is useless if you need multiple patches. I worked around it by saving the different patches separately, running sed on the files to replace the "Created by Gmsh" with "minY" or whatever I wanted, and then putting the various stl files together with cat.

I've been wondering if I'm doing something wrong in Gmsh or if there's an easier way or a scriptable way to do the same thing, because it's a pain when there are a lot of patches on a part. Still, this is how I've been going from Gmsh->stl->sHM.

Cheers,
Mike
Jaworski.Mike is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Impinging Jet Boundary Conditions Anindya Main CFD Forum 24 January 11, 2012 14:40
boundary conditions and mesh exporting vaina74 Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 May 27, 2010 09:38
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15
A problem about setting boundary conditions lyang Main CFD Forum 0 September 19, 1999 18:29


All times are GMT -4. The time now is 05:26.