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

[snappyHexMesh] poorly growing boundary layers in SnappyHexMesh

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   August 26, 2016, 05:22
Default poorly growing boundary layers in SnappyHexMesh
  #1
New Member
 
Dave
Join Date: Aug 2016
Posts: 23
Rep Power: 9
DaveR is on a distinguished road
Hi all,

I am new to openFOAM and have been trying a range of 2D and 3D cases. Currently, I am attempting to model vortex shedding over a 2D sphere at low Reynolds number. I have been hoping to get the lift and drag coefficients out for validation of my methods.

My methodology has been to create a 3D sphere utilising snappyHexMesh - centered at the origin - and then to define my blockmesh to intersect only one half. When this has meshed, I use extrudeMesh to extrude the intersecting half 1 cell in the z-direction.

To fix Re = 100, my parameters are set to:
L = dia of circle = 0.07 m,
u = 0.021 ms^-1
nu = 1.48e-05 m^2s^-1

I have tried solving using both pisoFoam and icoFoam set up for a laminar flow.

Vortex shedding is well illustrated, however my drag coefficient is consistently low at ~6e-03.

I understand there is a comflics tutorial on YouTube, so I re-ran my simulation set up setting the variables in the same way (l = 2, u = 1, nu = 2e-02) and get the exact same results.

Adjusting all simulation parameters result in essentially the same output for the drag coefficient, so I feel as if I've exhausted all simulations options other than my mesh - which is relatively crude. I cannot for the life of me get the boundary layers to grow however as soon as the mesh is somewhat refined, which I feel is the cause of the discrepancy. Furthermore, if I increase the levels of my refinement too far it crashes my computer - could this be indicative of my relatively low computer spec (3rd gen i3), or a problem with the dictionaries? (I initially wanted a refinement cylinder in the wake region to better characterise the flow, however this made it impossible to mesh at any reasonable refinement without crashing).


I've attached my case below if anyone could be so kind to take a look and offer any pointers in the right direction. Apologies if I've missed anything glaringly obvious - I'm still learning!

https://drive.google.com/folderview?...Vk&usp=sharing


Best Regards,

Dave
DaveR is offline   Reply With Quote

 


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
[cfMesh] boundary layers JensD OpenFOAM Community Contributions 6 September 26, 2022 05:59
My radial inflow turbine Abo Anas CFX 27 May 11, 2018 01:44
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15


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