CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

simpleFoam 2D plate flow with obstacle errors between hex blocks

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 19, 2014, 19:23
Question simpleFoam 2D plate flow with obstacle errors between hex blocks
  #1
New Member
 
CoolHand's Avatar
 
Ben
Join Date: Jan 2014
Location: South Florida
Posts: 19
Rep Power: 4
CoolHand is on a distinguished road
I am new to OpenFOAM and I've been having this problem with several different simulations I've tried. I want to examine the turbulence from an obstacle on a plate in a flow. It's a very simple geometry with just 3 blocks, but it seems like no matter what I do there is something wrong happening where the hex blocks meet. It's as if the calculation starts over every time it reaches a new block. If anyone has any insight into this I would be incredibly grateful.

Here's my case:

Google Drive with case files.

This includes all files from my 0, system, and constant folders and also includes a checkMesh.log and a 7zip archive containing all the files.

Here are images of my mesh and the velocity contours around the obstacle (which I've been referring to as a "speed bump").

Mesh Screenshot
Velocity Contours Screenshot
CoolHand is offline   Reply With Quote

Old   February 20, 2014, 15:04
Default
  #2
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 585
Rep Power: 20
chegdan will become famous soon enoughchegdan will become famous soon enough
What solver are you using?
What do you mean by " It's as if the calculation starts over every time it reaches a new block"?
Also, rescale your final result in paraview because your picture shows some stair-stepping because it is visualizing data outside the range you started with.
__________________
Dan

Find me on twitter @dancombest and LinkedIn
chegdan is offline   Reply With Quote

Old   February 20, 2014, 15:51
Default
  #3
New Member
 
CoolHand's Avatar
 
Ben
Join Date: Jan 2014
Location: South Florida
Posts: 19
Rep Power: 4
CoolHand is on a distinguished road
I'm using simpleFoam. What I mean is I can see a boundary layer develop and then when it reaches anew block the boundary layer stops abruptly and starts developing again in the new block until it reaches the next block. Does the paraView data range explain that?
CoolHand is offline   Reply With Quote

Old   February 20, 2014, 16:41
Default
  #4
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 585
Rep Power: 20
chegdan will become famous soon enoughchegdan will become famous soon enough
About your BL
Your y+ has an average of 468 and a max of over 1000 on the lower wall. Firstly, you will need to use wall functions and/or refine your mesh to fit into the criteria that makes your turbulence model valid t capture the correct physics. Your results will not be remotely correct without this and you will need to resolve the mesh much finer (y+ < 3 ) if you really want to capture the BL at higher Reynolds numbers + use a low Re turbulence model like Lam Bremhorst.

Paraview
What I mean about paraview and scaling is that paraview picks a color based on the range of data when its loaded or prescribed by the user. So your colors in your surface plot are chosen based on time 0 (or your start time). When you advance to later times, the color scheme is still in the range of your start. If the data is above the range...it will give it the color of the highest value it was originally scaled by. The same is true for values lower than the what was assigned in the surface plot colors...i.e. it will assign the color of the lowest value color. To get past this, you need to tell paraview to reassign colors based on the new range...i.e. rescale the color range.
__________________
Dan

Find me on twitter @dancombest and LinkedIn

Last edited by chegdan; February 20, 2014 at 16:55. Reason: clarity and formatting
chegdan is offline   Reply With Quote

Reply

Tags
mesh, simplefoam

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
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 14:58
Blockmesh error - 2D scramjet - please help ishaninair OpenFOAM Native Meshers: blockMesh 7 March 18, 2011 01:14
Flow Over a Flat Plate recon9 CFX 1 January 20, 2011 22:09
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 12 September 17, 2007 17:48
Question on 3D potential flow Adrin Gharakhani Main CFD Forum 13 June 21, 1999 05:18


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