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

SimpleFoam, BlockMesh and High Cell Count

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 12, 2017, 20:15
Default SimpleFoam, BlockMesh and High Cell Count
  #1
New Member
 
Jess
Join Date: May 2017
Posts: 3
Rep Power: 9
jbrydg01 is on a distinguished road
Hello!

I'm running a 3D simulation of air flow around a flat plate with an aspect ratio of 1.6. I am doing this using simplefoam, and because my boundary is rectangular and my plate is perfectly perpendicular to the oncoming flow, I am using blockMesh with the intention of getting the highest quality mesh and control. I've attached the blockMeshDict file if more information is needed, but to summarize:

  • The boundaries are 25h in the x-direction, and 16h in the y and z-directions.
  • The plate is located 5h back from the inlet.
  • The plate is specified as no-slip and the side, top and bottom walls as symmetry. The inlet has a constant velocity of 1.01m/s. For pressure, the inlet is zeroGradient and the outlet is a fixed value of 0. The plate is zeroGradient.
Because of limitations to the cell size in the x-direction, I switched from modeling a 3D plate (with a specified thickness) to a 2D baffle using the topoSet utility and the createBaffles utility. I've included both the files.


What I'm finding is that when I have a mesh at around 1-2 million cells, my simulations will run and converge. While my coefficients of drag and recirculation length do not entirely match with those of the literature I'm comparing to, that is a different issue. However, when I increase the grid resolution higher than this, my coefficient of drag will appear to converge for the first 50-100 iterations, then will begin to oscillate and explode (just gets to be a ridiculous number).


As another note, I've found that what tends to help is if my transitions from one block to another have cells be as close to the same size as possible (hence the slight grading in the blockMeshDict). I've also found that having matching cell sizes in the x, y and z directions have helped, but is not essential. Any comments/validation on these observations would be greatly appreciated!


I was hoping to get some feedback on why this may be happening. Obviously I am solving some large gradients around the plate and to my knowledge RANS simulations do not handle sharp corners very well. I've tried looking into evidence of openFOAM not handling 3D simulations at high cell counts very well, but I can't find anything that explicitly supports this.



Thanks for your feedback!


Jesse
Attached Files
File Type: txt blockMeshDict.txt (8.3 KB, 3 views)
File Type: txt createBafflesDict.txt (2.4 KB, 1 views)
File Type: txt topoSetDict.txt (1.9 KB, 0 views)
jbrydg01 is offline   Reply With Quote

Reply

Tags
blockmesh, cell count


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
[Other] High Cell Count but still diverging InterDymFoam gigliagarf OpenFOAM Meshing & Mesh Conversion 0 April 6, 2016 09:01
[snappyHexMesh] bad snap phase with high cell count Tensian OpenFOAM Meshing & Mesh Conversion 10 May 13, 2014 11:37
BlockMesh CheckMesh error Help!!! deepaktbabu OpenFOAM 0 March 11, 2012 13:40


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