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

[snappyHexMesh] SHM not refining the required space instead clusterring othe place

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By chandra shekhar pant
  • 1 Post By simrego
  • 1 Post By simrego

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 5, 2019, 04:13
Default SHM not refining the required space instead clusterring othe place
  #1
Senior Member
 
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 17
chandra shekhar pant is on a distinguished road
Dear All,


I am trying to run the case similar to propeller, instead in my case the geometry is very huge. I had tried with the same set of stls file that are there in the tutorial (propellerTip, innerCylinderSmall, innerCylinder, outerCylinder etc). To see the wakes, tip vortices etc, I need the refinement in the AMI region, close to the the propellerTip (innerCylinderSmall) and in the innerCylinder region, given the refinementRegions of level (1E15 4) and (1E15 3), instead, the SHM is refining the interface.



The screenshot of the mesh and the logfiles of SHM are attached herewith. Also, if I am trying to decrease the level as (1E15 3) and (1E15 2), and correspondingly all the refinement regions by one level, its giving the refinement in the desired location, but I could not resolve the vortices, wakes etc.



Is this because the mesh is heavy my pc is not able to handle or something else is not correct?


Thanks a lot for your time and help.
Attached Images
File Type: png mesh_yzone.png (101.9 KB, 20 views)
File Type: png mesh_yz_zone.png (39.3 KB, 16 views)
Attached Files
File Type: c log_snappyHexMesh.c (111.7 KB, 3 views)
File Type: c snappyHexMeshDict.c (15.1 KB, 5 views)
Turin Turambar likes this.
chandra shekhar pant is offline   Reply With Quote

Old   December 16, 2019, 06:36
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hi!


Line 491 in your log:
"No cells marked for refinement since reached limit 10000000."


You already reached the maximum global cell limit here so the refinement is stopped.
Increase the global cell limit (also the local cell limit if needed).
This cell limit can be huge, but after the refinement the cell count will be much smaller since you drop the cells which are out of the domain.


Also a tip:
If you have to decrease every refinement level, it is easier to make the background mesh coarser.
simrego is offline   Reply With Quote

Old   December 16, 2019, 07:15
Default
  #3
Senior Member
 
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 17
chandra shekhar pant is on a distinguished road
Thanks for the help, but if I increase the value then it complains that it's out of virtual memory, and thereby aborts the SHM. Is there any middle way around? Even though my workstation is about 64 GB RAM, 10 dual processors and 1 TB hard-drive. Do you think that it is sufficient for the meshing or bigger workstation is required?
chandra shekhar pant is offline   Reply With Quote

Old   December 16, 2019, 08:06
Default
  #4
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Maybe you can try to skip that wake refinement, and then use snappyRefineMesh (I have never tried, but you should check it), or simply use the refineMesh utility. With this you can avoid the really big cell count during the refinement (since you refine all cells, even which is not needed and you will drop, but sHM keep them in memory at the refinement stage, and only drop after the refinement.) But if you don't drop that much cells, it won't solve your problem. You have to use a coarser mesh, or another computer...
But if you push the memory to the limit, you could be in trouble during the solution (you have to test it).
I suggest you to decrease or eliminate the wake refinement, do a calculation, and refine only where it is needed.



BTW: Based on my experience, with 64 GB RAM you should be able to handle a mesh up to 30-40 million cells easily.
simrego is offline   Reply With Quote

Reply


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
Run OpenFoam in 2 nodes of a cluster WhiteW OpenFOAM Running, Solving & CFD 16 December 20, 2016 01:51
Tutorial required for air flow simulation of working space (i.e. office)) sumeetkotak FLUENT 0 July 7, 2015 13:50
Install openFOAM from with proxy server Dhruval OpenFOAM Installation 3 October 18, 2014 16:38
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 11:23
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


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