|
[Sponsors] |
June 11, 2019, 11:00 |
addr2line failed error
|
#1 |
Member
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 7 |
Hi All,
I was trying to mesh two bodies over which the air will flow externally bounded by a box defined in blockMeshDict. While meshing after the 2nd iteration of the surface refinement it shows the following error: (remaining error included in the photos) Foam::error:rintStack(Foam::Ostream&) [1] ...[3] ...[3]... addr2line failed Further Details: I have also run this with single processor and it just crashes down. I have seen this problem on the community forum page describing it as bad maths and it is always linked to the solver not the snappyHexMesh. I would highly appreciate it if anyone could explain me why this error is generated and how to tackle this problem. Thanks |
|
June 11, 2019, 11:04 |
Files
|
#2 |
Member
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 7 |
Here is the blockMesh and SnappyHexMeshDict files.
If anyone could look into it, it will be a massive help. Thanks again |
|
July 22, 2019, 08:45 |
|
#3 |
New Member
Akanksha Rawat
Join Date: Apr 2014
Posts: 29
Rep Power: 12 |
Hi,
I also have similar issue and the funny Thing is with the same Setting on one Computer the SHM runs and meshes , whereas in other Computer that gives me this error " add2rline". Have u found any solution yet? |
|
July 22, 2019, 09:58 |
addr2line
|
#4 |
Member
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 7 |
Hi,
I have not found any solution to it. But my meshing works if I use lower values of refinementSurfaces level in SHM. if I keep mine at any value above (3 3), I get this error. I think it is because of the computers low computational power because my geometry is quite complicated. I don't have access to any strong computer so I continue with the above mentioned values. Hope this helps OS |
|
July 23, 2019, 03:52 |
|
#5 |
Member
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 7 |
Hi Akanksha,
BTW which OpenFoam version are you using on both PCs? |
|
July 23, 2019, 06:29 |
|
#6 |
New Member
Akanksha Rawat
Join Date: Apr 2014
Posts: 29
Rep Power: 12 |
Hi Owais,
Thank you for your Response. I am using V1812. Well i understand what you mean by decreasing the refinement Level. It does make sense, when we have a finer blockMesh. could you please tell me, how fine did you mesh your block? Please correct me If I am wrong on this part - Our geometry mesh cell size are dependent upon the cell size of the block. So we Need to make a fine mesh with block first and then use the snappyhexdict for further refinement on surfaces or regions? I am new with snappyhex and still in the understanding Phase. |
|
July 23, 2019, 06:51 |
|
#7 |
Member
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 7 |
Hi,
I used (60 60 50) with simpleGrading (1 1 1). I have even tried with (200 200 200) as well but didn't work. I will give it a try with (5000 5000 5000) and see if it is the case. Yesterday, I asked a colleague to run it on the cluster. And the problem was still there, so as i said before it might be the computational power that is missing its for sure not the case. I even simplified my geometry to the maximum I could but still the same error showed up. Best Regards OS |
|
July 23, 2019, 06:56 |
|
#8 |
New Member
Akanksha Rawat
Join Date: Apr 2014
Posts: 29
Rep Power: 12 |
Hi Owais,
I read somewhere, that addr2line error can also come when the binutils dev package is not updated. I have to try it and then i can be sure. Because in my Computer with less cores the meshing works but with the same Setting the mesh does not run on the other Computer which is not connected to the Internet. Could be possible, due to some packages which are outdated. |
|
July 23, 2019, 07:09 |
|
#9 |
Member
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 7 |
Hi,
So i gave a shot with 500 500 500 BMDict and it gave and error of 'It could be due to a stack violation caused by e.g. bad use of pointers or an out of date shared library' So may be you are heading in the right direction. P.S. I am using OF6 |
|
July 23, 2019, 15:42 |
Solution is here! :D
|
#10 |
Member
Owais Shabbir
Join Date: May 2019
Posts: 48
Rep Power: 7 |
Hi,
Good news. So i tried a different method this time. Before I used to follow the following commands: Code:
blockMesh surfaceFeatureExtract decomposePar mpirun -np 4 snappyHexMesh -overwrite -parallel > log.shm reconstructParMesh -constant a) I turned on implicitFeatureSnap from SHM and the rest of them false. > I did this because I learnt it is good when you don't have curvy features and geometry is easy to capture by it and works from my geometry. >This helps and surfaceFeatureExtract cmd is not required anymore. With this I have less number of bad cells from checkMesh but i wonder is it because I increased refinement or I used the implicitFeatureSnap option. Best Regards, OS Last edited by Owais Shabbir; July 23, 2019 at 17:34. |
|
Tags |
addr2line failed, snappyhexmesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::printStack(Foam::Ostream&) with simpleFoam -parallel | U.Golling | OpenFOAM Running, Solving & CFD | 52 | September 23, 2023 04:35 |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
Undeclared Identifier Errof UDF | SteveGoat | Fluent UDF and Scheme Programming | 7 | October 15, 2014 08:11 |
Errors in UDF | shashank312 | Fluent UDF and Scheme Programming | 6 | May 30, 2013 21:30 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 03:32 |