View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001501 | OpenFOAM | Bug | public | 2015-01-26 18:25 | 2015-01-27 10:47 |
Reporter | derekm | Assigned To | henry | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | GNU/Linux | OS | OpenSuSE | OS Version | 12.3 |
Summary | 0001501: ViewFactorsGen - exceeds internal hardcoded limit | ||||
Description | model with good mesh runs into error in ViewFactorsGen --> FOAM FATAL ERROR: Dynamic list need from capacity.Actual size maxDynListLength : 100000 From function shootRays in file shootRays.H at line 63. changing values in viewFactorsDict does not improve. A change to a higher value works. | ||||
Steps To Reproduce | A clean copy of tutorial chtMultiRegionHeaterRadiation has the mesh inserted and changed to allow for reduced number of regions (remove bottom air and left solid) and changes in Changedict to cater for in patch contact with the regions. Values in Viewfactorsdict are changed for two patches so that faceAgglomerate does not crash. Running the modified tutorial crashes at viewfactorgen. changing the hardcoded limit in shootRays.H to a parameter in viewfactordict enables viewfactorgen when set the limit to a highvalue | ||||
Additional Information | The followingChanged code in Shootrays.H is working from ... // Maximum lenght for dynamicList const label maxDynListLength = 100000; ... to ... // Maximum lenght for dynamicList //const label maxDynListLength = 100000; const label maxDynListLength = viewFactorDict.lookupOrDefault<label>("maxDynListLength", 100000); if (Pstream::master()) { Info << "\nmaxDynListLength: "<< maxDynListLength << endl; } ... | ||||
Tags | No tags attached. | ||||