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

[snappyHexMesh] How to mesh a flow straightener

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 1, 2015, 12:30
Exclamation How to mesh a flow straightener
  #1
Member
 
Mohammad Fereshtehpour
Join Date: Jul 2011
Location: Iran
Posts: 61
Rep Power: 15
MOHAMMAD67 is on a distinguished road
Send a message via Skype™ to MOHAMMAD67
Dear Foamers

Hi
I need to simulate flow in a flow straightener which is shown in the picture below. To do this I used snappyHexMesh but I couldn't achieve a good results. I don't know what the problem is? As It is shown the model geometry is wrong in the pipe near the internal pipes.
If you don't mind take a look at my case. I put it in the dropBox.

https://www.dropbox.com/s/evdrcrr7ot...owStr.zip?dl=0

Best Wishes
MOHAMMAD67 is offline   Reply With Quote

Old   February 1, 2015, 13:05
Default Some pictures
  #2
Member
 
Mohammad Fereshtehpour
Join Date: Jul 2011
Location: Iran
Posts: 61
Rep Power: 15
MOHAMMAD67 is on a distinguished road
Send a message via Skype™ to MOHAMMAD67
Here you can see both the geometry and meshed model.
Attached Images
File Type: jpg 1.jpg (28.9 KB, 62 views)
File Type: jpg 2.jpg (34.4 KB, 52 views)
File Type: jpg 3.jpg (19.0 KB, 59 views)
File Type: jpg 4.jpg (24.7 KB, 62 views)
MOHAMMAD67 is offline   Reply With Quote

Old   February 2, 2015, 14:04
Default My problem!
  #3
Member
 
Mohammad Fereshtehpour
Join Date: Jul 2011
Location: Iran
Posts: 61
Rep Power: 15
MOHAMMAD67 is on a distinguished road
Send a message via Skype™ to MOHAMMAD67
As you can see in the pictures, my problem is that the wall is not modelled correctly. The wall is not defined somewhere and in those places I have inlet patch as it is shown! Why?
I think there is a problem with snapping but I don't know How to deal with?
MOHAMMAD67 is offline   Reply With Quote

Old   February 2, 2015, 15:28
Default
  #4
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
Quote:
Originally Posted by MOHAMMAD67 View Post
As you can see in the pictures, my problem is that the wall is not modelled correctly. The wall is not defined somewhere and in those places I have inlet patch as it is shown! Why?
I think there is a problem with snapping but I don't know How to deal with?
Looks like you haven't refined it enough in the region where the tubes are: you may want to define a refinementRegion and increase to level so that you get at least 2 cells between then tubes and the wall.
mturcios777 is offline   Reply With Quote

Old   February 2, 2015, 16:02
Default
  #5
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Exactly that is what I mentioned in your private message. It seems that you have no refinement at all.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   February 5, 2015, 02:03
Wink Problem Solved!
  #6
Member
 
Mohammad Fereshtehpour
Join Date: Jul 2011
Location: Iran
Posts: 61
Rep Power: 15
MOHAMMAD67 is on a distinguished road
Send a message via Skype™ to MOHAMMAD67
Dear Marco and Tobi

Thanks for your replies. Yes, you are right! I didn't set the snappyhexmeshDict to make mesh refinement. To solve this problem, I first increased maxGlobalCells to 300000 and it started to do this!.After that I tried to separate my geometry main pipe and tubes and apply them in refinementSurfaces and refinementRegions.
But now, I have more than 1000000 cells which makes my simulation very slow!! What should I do in this manner?
MOHAMMAD67 is offline   Reply With Quote

Reply

Tags
cylinder flow, snappyhexmesh


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Star CCM Overset Mesh Error (Rotating Turbine) thezack Siemens 7 October 12, 2016 12:14
Influence of mesh density on laminar flow Ricevind FLUENT 2 June 16, 2014 09:53
mesh problem in flow region near thin structure... mytruth7 FLUENT 4 December 15, 2013 22:54
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 05:24


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