|
[Sponsors] |
ViewFactorsGen - exceeds internal hardcoded limit |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 7, 2015, 09:47 |
ViewFactorsGen - exceeds internal hardcoded limit
|
#1 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
while adapting CHTmultiregionsimpleRAD tutorial case I run in to this error
Code:
--> FOAM FATAL ERROR: Dynamic list need from capacity.Actual size maxDynListLength : 100000 From function shootRays in file shootRays.H at line 63. The geometery is not particularly complex and the cell count is ~750 000 . Its a heater suspended underneath an inverted box suspended in Air. I may have to give up on this model and use P1 instead. The complete case is attached.
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
|
January 21, 2015, 07:15 |
|
#2 |
New Member
Pedro
Join Date: Dec 2014
Posts: 9
Rep Power: 11 |
Hi,
Could you solve this problem? |
|
January 21, 2015, 07:49 |
|
#3 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
no, I couldnt. The mesh and regions check out ok. The tutorial works ok. I've tried it out with similar geometries and it fails with the same error.
These geometries feature nested regions and around 1 million cells. and work fine without this radiation model and will work with P1. But I would prefer viewfactors
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
|
January 21, 2015, 08:07 |
|
#4 | |
New Member
Pedro
Join Date: Dec 2014
Posts: 9
Rep Power: 11 |
Have you check this bug report?
http://www.openfoam.org/mantisbt/view.php?id=1240 Quote:
|
||
January 21, 2015, 08:24 |
|
#5 |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
What's your viewFactorsDict definition? Playing with the values given in this file you may get rid of this error. Otherwise maybe you could modify this limit by increasing it in the code and recompile the utility.
Regards, Alex
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
|
January 21, 2015, 08:27 |
|
#6 |
New Member
Pedro
Join Date: Dec 2014
Posts: 9
Rep Power: 11 |
Hi Alex,
In my case I have quite a complex geometry so definitely I think I need to modify the code and recompile the utility. I am gonna try to do that now, I will let you know if that works or not. |
|
January 21, 2015, 10:39 |
|
#7 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
did that got nowhere it still errored
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
|
January 21, 2015, 11:04 |
|
#8 |
New Member
Pedro
Join Date: Dec 2014
Posts: 9
Rep Power: 11 |
Hi Derek,
I changed the limit in the shootRays.H and recompile it. After this it started running. I cannot comment on results at this stage. |
|
January 21, 2015, 12:29 |
|
#9 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
should really be a configurable parameter what size did you set it to?
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
|
January 21, 2015, 21:31 |
|
#10 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
i have altered the shootrays.H from
Code:
... // Maximum lenght for dynamicList const label maxDynListLength = 100000; ... Code:
... // Maximum lenght for dynamicList //const label maxDynListLength = 100000; const label maxDynListLength = viewFactorDict.lookupOrDefault<label>("maxDynListLength", 100000); if (Pstream::master()) { Info << "\nmaxDynListLength: "<< maxDynListLength << endl; } ... I have tested it on the tutorial case so far.
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET Last edited by derekm; January 22, 2015 at 03:08. |
|
January 22, 2015, 06:36 |
|
#11 |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Thanks for sharing your approach Derek, it can be useful info for those who don't have good skill in C++ (like me).
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
|
January 23, 2015, 03:12 |
|
#12 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
edit news: reported as bug and is now fixed in 2.3.x
More results: It appears the number assigned to nFacesInCoarsestLevel in viewfactorsdict, have to be high enough to stop faceAgglomerate crashing, but low enough to stop viewfactorsgen crashing. This was found with maxDynListLength set to 5000000 Code:
... Total number of coarse faces: 3536 maxDynListLength: 5000000 ...
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET Last edited by derekm; January 27, 2015 at 18:37. |
|
June 29, 2015, 11:03 |
|
#13 |
New Member
RobinZ
Join Date: Apr 2014
Posts: 19
Rep Power: 12 |
Hello Foamers,
first i want to let you know that in OpenFoam 2.4 you can specify the maximum of listlength in the viewFactorsDict file by adding: maxDynListLength 1000000; You can choose the number you want, but keep in mind that more rays will increase the RAM requirements. Did someone of you tried to vary the number of nFacesInCoarsestLevel for faceAgglomerate and viewFactorsGen?? Is that possible? And could this trick increase the stability? best regards Robin |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
boundary Mach number exceeds maximum limit ! | Aysiyi | FLUENT | 4 | January 28, 2018 01:56 |
using chemkin | JMDag2004 | OpenFOAM Pre-Processing | 2 | March 8, 2016 22:38 |
mesh quality checking for large internal flow (yStar) | vaina74 | OpenFOAM Post-Processing | 0 | November 21, 2014 07:49 |
Warning: boundary Mach number exceeds maximum limit on pressure-outlet | Tarantino | FLUENT | 1 | March 22, 2013 21:30 |
[Workbench] Ansys Workbench: Element face warping factor exceeds warning limit | HMN | ANSYS Meshing & Geometry | 0 | March 13, 2013 07:18 |