ViewFactorsGen - exceeds internal hardcoded limit
1 Attachment(s)
while adapting CHTmultiregionsimpleRAD tutorial case I run in to this error
Code:
--> FOAM FATAL ERROR: 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. |
Hi,
Could you solve this problem? |
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 |
Have you check this bug report?
http://www.openfoam.org/mantisbt/view.php?id=1240 Quote:
|
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 |
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. |
Quote:
|
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. |
should really be a configurable parameter what size did you set it to?
|
i have altered the shootrays.H from
Code:
... Code:
... I have tested it on the tutorial case so far. |
Thanks for sharing your approach Derek, it can be useful info for those who don't have good skill in C++ (like me).
|
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:
... |
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 |
All times are GMT -4. The time now is 05:43. |