CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] boundary conditions with Gmsh stl

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 22, 2012, 08:10
Default boundary conditions with Gmsh stl
  #1
New Member
 
Join Date: May 2012
Posts: 7
Rep Power: 13
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, 12:04
Default
  #2
New Member
 
Mike Jaworski
Join Date: Jul 2012
Location: New Jersey
Posts: 6
Rep Power: 13
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
My radial inflow turbine Abo Anas CFX 27 May 11, 2018 02:44
CFD analaysis of Pelton turbine amodpanthee CFX 31 April 19, 2018 19:02
Wrong multiphase flow at rotating interface Sanyo CFX 14 February 7, 2017 18:19
Velocity vector in impeller passage ngoc_tran_bao CFX 24 May 3, 2016 22:16
Low torque values on Screw Turbine Shaun Waters CFX 34 July 23, 2015 09:16


All times are GMT -4. The time now is 22:23.