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

[snappyHexMesh] Creating STL files with regions for snappyHexMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By student666
  • 1 Post By nusivares

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 21, 2017, 13:23
Default Creating STL files with regions for snappyHexMesh
  #1
Member
 
1214
Join Date: Sep 2015
Posts: 30
Rep Power: 10
nusivares is on a distinguished road
Hello all,

Hello, I am using chtMultiRegionSimpleFOAM together with snappyHexMesh.

At the interface between the regions I have big patches which I would like to split down, so I could apply different boundary conditions.

The createPatchDict - seems to fail, complains about it being an interfacial area.

Despite having an option createPatch -region

I am having a time of my life trying to figure out how to create regions in my STL files which are reasonably complex (exported from solidworks as ASCII format).

Does anyone have any suggestions how to create the stls with regions? or how to use createPatch and mappedWall together?

Thanks for your suggestions
nusivares is offline   Reply With Quote

Old   February 23, 2017, 06:53
Default
  #2
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 16
student666 is on a distinguished road
Hi, i think it can helps you if you have a look at these tutorials
http://holzmann-cfd.de/index.php/en/tutorials-en to obtain multi regions with SHM.
If you export your geometry into stl from solidworks, you could face very big problems with SHM.
I suggest to use Salome to generate good quality stl files.
Take a moment and look to these video series, there are some useful tricks that will surely help you with SHM & salome.

https://m.youtube.com/watch?v=CZvUD3nXKa4
About setting different bc at the interfaces, it's better if you give some more details about.
Regards


Sent from my ASUS_X008D using CFD Online Forum mobile app
Tobi and yuan_neu like this.
student666 is offline   Reply With Quote

Old   March 1, 2017, 05:30
Default Solution found
  #3
Member
 
1214
Join Date: Sep 2015
Posts: 30
Rep Power: 10
nusivares is on a distinguished road
Hi,

In the meantime, I have found solution which has worked for me. I have firstly created he snappyHexMesh, then deleted the faceZones it created (left the cellZones as it is).

Then described my own faceZones using topoSet.

However, the tutorials you pointed me to are brilliant, they show an alternative and a better, more universal approach.

Tobi has done a great job with those videos!
Tobi likes this.
nusivares is offline   Reply With Quote

Old   March 8, 2017, 06:10
Default
  #4
Senior Member
 
zhangyan's Avatar
 
Yan Zhang
Join Date: May 2014
Posts: 120
Rep Power: 11
zhangyan is on a distinguished road
Hi
I find a interesting way to get multi regions with SolidWorks:
You can choose a face to export as STL, and then this face becomes one region.
and choose other faces, they will be other region too.
zhangyan is offline   Reply With Quote

Old   August 7, 2018, 20:09
Default How?
  #5
New Member
 
Kevin Cole
Join Date: Jun 2016
Location: Durham, NH
Posts: 11
Rep Power: 9
kodexys is on a distinguished road
Quote:
Originally Posted by zhangyan View Post
Hi
I find a interesting way to get multi regions with SolidWorks:
You can choose a face to export as STL, and then this face becomes one region.
and choose other faces, they will be other region too.
How do you choose individual faces? Whenever I try it always grabs the entire part/object.
kodexys is offline   Reply With Quote

Reply


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
Writing report files and creating report definitions. cfd_worker99 FLUENT 3 June 12, 2020 12:55
How to create inlet/outlet/wall STL files from a STL CAD model Gentible Mesh Generation & Pre-Processing 1 June 23, 2015 10:18
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 07:21
Importing and cleaning STL files Peter FLUENT 2 October 13, 2006 05:41
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 20:51


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