|
[Sponsors] |
[snappyHexMesh] Shell Refinement running for 99 iterations |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 28, 2014, 14:34 |
Shell Refinement running for 99 iterations
|
#1 |
New Member
Paul McClafferty
Join Date: Feb 2014
Posts: 5
Rep Power: 12 |
Sorry if this is a stupid question, but I was wondering if anyone could tell me what part of my snappyHexMeshDict is causing this to run for so long? I have tried changing some of it but have no luck reducing the time snappyHexMesh takes to run. Thanks very much
|
|
February 28, 2014, 15:05 |
|
#2 |
New Member
Paul McClafferty
Join Date: Feb 2014
Posts: 5
Rep Power: 12 |
it also took just over an hour simply to run snappyHexMesh, any advice for a newcomer would be greatly appreciated
|
|
March 1, 2014, 11:04 |
|
#3 |
Member
Julian Langowski
Join Date: May 2011
Location: Bremen, Germany
Posts: 91
Rep Power: 14 |
Dear Paul,
would be helpful to see your SnappyDict and the log as Code:
Code. minRefinementCells you are looking for. Best regards Julian
__________________
πάντα ῥεῖ - Heraclitus |
|
March 1, 2014, 13:49 |
|
#4 | |
New Member
Paul McClafferty
Join Date: Feb 2014
Posts: 5
Rep Power: 12 |
Thanks for the response. I have tried changing that to 5, and then 0 but it still runs for a long time. here is the snappyHexMeshDict file
Quote:
Thanks for your help |
||
March 1, 2014, 14:12 |
|
#5 | |
New Member
Paul McClafferty
Join Date: Feb 2014
Posts: 5
Rep Power: 12 |
with that shmd i am getting the following error
Quote:
Thanks again |
||
March 1, 2014, 14:23 |
|
#6 | |
Member
Julian Langowski
Join Date: May 2011
Location: Bremen, Germany
Posts: 91
Rep Power: 14 |
Dear Paul,
concerning faster snapping: Try increasing minRefinementCells. Snappy tries to refine the mesh, until the defined number of cells still to refine is reached. Thus it stops earlier, if you increase the value. The other thing: Check the error message: Quote:
Best regards Julian
__________________
πάντα ῥεῖ - Heraclitus |
||
March 20, 2015, 11:05 |
|
#8 |
New Member
Paul McClafferty
Join Date: Feb 2014
Posts: 5
Rep Power: 12 |
Yes it is solved thanks anyway
|
|
August 13, 2017, 19:26 |
|
#9 |
New Member
Moe Alams
Join Date: May 2017
Posts: 13
Rep Power: 8 |
Yes Tobi please give suggestions. I am dealing with a similar issue.
Thank you! |
|
December 22, 2017, 06:49 |
|
#10 |
New Member
Join Date: Oct 2017
Location: Germany
Posts: 26
Rep Power: 8 |
Hi guys,
I also experienced this recently. Sometimes it takes just 2 iterations for shell refinement of 2 Million cells and sometimes 90 iterations for the same number cells to refine. Could anyone enlighten the reason behind this/ significance of this? Regards, Rajan |
|
February 25, 2020, 15:19 |
|
#11 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
It is based on the refinement level one sets up. E.g.;
Code:
level (1 3) This will refine your patch by level one in any case. However, based on the featureAngle you will refine e.g., some cells. Based on the new refinements it might occur that new cells are now selected to be refined (based on the refinement done previously). Thus, one can run into a refinement loop that does not stop. One example in which I observed that stuff. I did a refinement of (1 2) on a roof. The roof was aligned in such a way in accordance with the featureAngle that only a few cells gets selected for each surface refinement. After the refinement was done, the neighbor cells got selected to be refined until the whole roof was refined by level two. To overcome this there are more options:
Furthermore, as also mentioned by the CEO from cfMesh, the surface triangulation is important; c.f. Creating waterproof STL using snappyHexMesh or salome
__________________
Keep foaming, Tobias Holzmann |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 06:28 |
chtMultiRegionSimpleFoam turbulent case | Aditya Patil | OpenFOAM Running, Solving & CFD | 6 | April 24, 2017 23:13 |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 14:40 |
Cannot run the code properly: very large time step continuity error | crst15 | OpenFOAM Running, Solving & CFD | 9 | December 14, 2014 19:17 |
pimpleFoam: turbulence->correct(); is not executed when using residualControl | hfs | OpenFOAM Running, Solving & CFD | 3 | October 29, 2013 09:35 |