|
[Sponsors] |
REEF3D(22.03 & 22.04) Segmentation fault - problem solving |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 15, 2022, 02:24 |
REEF3D(22.03 & 22.04) Segmentation fault - problem solving
|
#1 |
New Member
taggyum
Join Date: Mar 2017
Posts: 13
Rep Power: 10 |
Hi Hans & Arun,
While investigating the problem, I found that an error occurred in the source code below. ==== iowave_precalc_relax.cpp ============== count=0; VLOOP { ~~~~~~~~~~~~~~~~~~~~~~~ zloc2 = p->pos2_z(); ~~~~~~~~~~~~~~~~~~~~~~~ } ================================== And I changed the source code of pos2_z() function as below. ==== position_xyz.cpp =================== double position:: pos2_z() { if(p->G2==0) pos = p->ZP[KP]; if(p->G2==1) pos = p->ZSP[IJK]; //Added source code return pos; //Added source code } ================================== It was present in REEF3D(21.11), but it is probably missing during the development process. Now REEF3D (22.04 & 22.03) models work perfectly in Windows Ubuntu app. Could you please check this for me? |
|
April 19, 2022, 13:41 |
|
#2 |
Super Moderator
Hans Bihs
Join Date: Jun 2009
Location: Trondheim, Norway
Posts: 377
Rep Power: 17 |
Hi Taggyum,
wow, thanks for the feedback! This must have been a tough bug to find! Thanks a lot! I have added it to the RC. Can you test that one? |
|
April 19, 2022, 21:29 |
|
#3 |
New Member
taggyum
Join Date: Mar 2017
Posts: 13
Rep Power: 10 |
Hi Hans,
I tested it with release_candidate and it works well. Thank you for accepting feedback. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem with Min/max rho | tH3f0rC3 | OpenFOAM | 8 | July 31, 2019 09:48 |
chtMultiRegionSimpleFoam turbulent case | Aditya Patil | OpenFOAM Running, Solving & CFD | 6 | April 24, 2017 22:13 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 02:50 |
Unstabil Simulation with chtMultiRegionFoam | mbay101 | OpenFOAM Running, Solving & CFD | 13 | December 28, 2013 13:12 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 06:37 |