|
[Sponsors] |
August 22, 2016, 07:33 |
ViewFactor Gen Malloc crash?
|
#1 |
Member
Pedro
Join Date: Nov 2014
Posts: 50
Rep Power: 11 |
Hello Foamers,
I'm trying to implement the view factor model in a small wedge model, however, when running the viewFactorGen command i get the following error: Code:
Total number of coarse faces: 24 *** Error in `viewFactorsGen': malloc(): memory corruption (fast): 0x0000000000cffb40 *** The case files are available here: https://github.com/pupo162/ThesisPro...rod/ViewFactor Best Regards, Pedro |
|
April 19, 2017, 04:18 |
|
#2 |
New Member
Victor Manuel
Join Date: Mar 2015
Posts: 1
Rep Power: 0 |
Sorry for the late reply, hope you managed to solve it
If there is anyone around who has the same problem, I solve it by changing a number in the viewFactorsGen file and recompiling it again (under a different name, of course). The change was to write: labelList triSurfaceToAgglom(20*nFineFaces); instead of: labelList triSurfaceToAgglom(5*nFineFaces); In the searchingEngine.H file. And somehow the segmentation fault disappeared. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam-0.3.0 make parallel run crash on foam-extend-3.0 | Aleksey_R | OpenFOAM Community Contributions | 12 | March 22, 2019 07:57 |
Crash when using DPMfoam for LPT of objects contacting a vibrating wall | ansubru | OpenFOAM Running, Solving & CFD | 0 | May 1, 2014 03:24 |
Dragging Slice File = Crash | cbritan | OpenFOAM Bugs | 3 | January 6, 2011 03:58 |
[Commercial meshers] ST_Malloc: out of memory.malloc_storage: unable to malloc Velocity SA, | cfdproject | OpenFOAM Meshing & Mesh Conversion | 0 | April 14, 2009 15:45 |
calloc( ) or malloc( ) | Abhijit Tilak | Main CFD Forum | 5 | January 19, 2004 20:53 |