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

simpleFoam 2D plate flow with obstacle errors between hex blocks

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 19, 2014, 19:23
Question simpleFoam 2D plate flow with obstacle errors between hex blocks
  #1
New Member
 
Join Date: Jan 2014
Location: South Florida
Posts: 20
Rep Power: 12
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
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
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.
chegdan is offline   Reply With Quote

Old   February 20, 2014, 15:51
Default
  #3
New Member
 
Join Date: Jan 2014
Location: South Florida
Posts: 20
Rep Power: 12
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
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
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.

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

Reply

Tags
mesh, simplefoam


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
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 14 December 17, 2019 00:12
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 14:58
[blockMesh] Blockmesh error - 2D scramjet ishaninair OpenFOAM Meshing & Mesh Conversion 7 March 18, 2011 01:14
Flow Over a Flat Plate recon9 CFX 1 January 20, 2011 22:09
Question on 3D potential flow Adrin Gharakhani Main CFD Forum 13 June 21, 1999 06:18


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