CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > REEF3D

REEF3D(22.03 & 22.04) Segmentation fault - problem solving

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 15, 2022, 02:24
Default REEF3D(22.03 & 22.04) Segmentation fault - problem solving
  #1
New Member
 
taggyum
Join Date: Mar 2017
Posts: 13
Rep Power: 10
taggyum is on a distinguished road
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?
taggyum is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 05:45.