CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

something run with runTime++: core dumped

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2014, 08:35
Default something run with runTime++: core dumped
  #1
Member
 
ALLEN
Join Date: Aug 2014
Posts: 31
Rep Power: 8
allenfieldin is on a distinguished road
Hi,guys,

I modified the icoFsiFoam in extend 3.0 and I came into a problem which concerns runTime++ inside the while (runTime.run()) loop, my solver code looks like this:
________________________________________________
Quote:
while (runTime.run())
{
# include "CourantNo.H"
Info<<"problem here 1 ! "<<endl;
# include "readTimeControls.H"

#include "alphaCourantNo.H"
Info<<"problem here 2 ! "<<endl;

# include "setDeltaT.H"
Info<<"problem here 3 ! "<<endl;

runTime++;

Info<<"problem here 4 ! "<<endl;
.......
.......
}
_________________________________________

and the case log gives the following error after 20 time steps elapsed:
Quote:
Courant Number mean: 0.000316668 max: 0.00608423 velocity magnitude: 0.0786566
problem here 1 !
Interface Courant Number mean: 9.70933e-06 max: 0.00164405
problem here 2 !
problem here 3 !
Segmentation fault (core dumped)
it stops without typing "problem here 3 ! ".

the interesting thing is after I change the time step to smaller values, the case still run for 20 steps!! exactly!

as I am running a FSI problem with icoFsiFoam in foam-extnd 3.0, the controlDict of the fluid part is:

Quote:
application icoFsiFoam;

startFrom startTime;

startTime 0;

stopAt endTime;

endTime 50;

deltaT 0.0005;

writeControl timeStep;

writeInterval 20;

purgeWrite 0;

writeFormat ascii;

writePrecision 6;

writeCompression compressed;

timeFormat general;

timePrecision 6;

runTimeModifiable yes;

adjustTimeStep no;

maxCo 0.5;

maxAlphaCo 0.25;

maxDeltaT 1;

the fluid part controlDict has the same content except dropping "application icoFsiFoam;"

Can anyone tell me what happened? is the controlDict not right?

Thanks for any help and hint

/Allen
allenfieldin is offline   Reply With Quote

Reply

Tags
runtime++ contrldict

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
Floating point exception (core dumped) in transonicMRFDyMFoam sam.ho OpenFOAM Running, Solving & CFD 0 April 29, 2014 01:30
createPatch Segmentation Fault (CORE DUMPED) sam.ho OpenFOAM Pre-Processing 2 April 21, 2014 02:01
Segmentation fault (core dumped) when changing pressure BC jptorol OpenFOAM Running, Solving & CFD 0 September 25, 2013 18:05
4 core & 8 core: same 64bit XP, Xeon, x5570, 2.93GHZ leeruoyun CFX 4 August 19, 2009 00:47


All times are GMT -4. The time now is 18:16.