CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   InterFoam stops after deltaT goes to 1e14 (http://www.cfd-online.com/Forums/openfoam-solving/59080-interfoam-stops-after-deltat-goes-1e14.html)

francesco_b March 3, 2008 11:29

Hi All, running interFoam
 
Hi All,

running interFoam for a complex problem, I noticed that suddenly deltaT decreases and from e-07 it goes to e-14, then the computation stop with the following lines:

area3@calcolo:~/OpenFOAM/area3-1.4.1/run/tutorials/interFoam$ mpirun noticed that job rank 0 with PID 16148 on node calcolo exited on signal 15 (Terminated).

[1]+ Exit 143 mpirun -np 2 interFoam . BCplacca -parallel > log_bcplacca
area3@calcolo:~/OpenFOAM/area3-1.4.1/run/tutorials/interFoam$ mpirun -np 2 interFoam . BCplacca -parallel > log_bcplacca &
[1] 16283
area3@calcolo:~/OpenFOAM/area3-1.4.1/run/tutorials/interFoam$ [1] #0 Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&) in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
[1] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
[1] #2 Uninterpreted: [0xffffe420]
[1] #3 Foam::Time::adjustDeltaT() in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
[1] #4 Foam::Time::setDeltaT(double)[0] #0 Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&) in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
[0] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
[0] #2 Uninterpreted: [0xffffe420]
[0] #3 Foam::Time::adjustDeltaT() in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
[0] #4 Foam::Time::setDeltaT(double) in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
[1] #5 in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
[0] #5 mainmain in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/interFoam"
[1] #6 __libc_start_main in "/lib/tl in s/i686/cmov/libc.so.6"
[1] #7 Foam::regIOobject::readIfModified()"/home/area3/OpenFOAM/OpenFOAM-1.4.1/applicat ions/bin/linuxGccDPOpt/interFoam"
[0] #6 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
[0] #7 Foam::regIOobject::readIfModified() in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/interFoam"
[calcolo:16287] *** Process received signal ***
[calcolo:16287] Signal: Floating point exception (8)
[calcolo:16287] Signal code: (-6)
[calcolo:16287] Failing at address: 0x3f9f
[calcolo:16287] [ 0] [0xffffe440]
[calcolo:16287] [ 1] /home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam6si gFpe13sigFpeHandlerEi+0x61) [0xb703f491]
[calcolo:16287] [ 2] [0xffffe420]
[calcolo:16287] [ 3] /home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam4Ti me9setDeltaTEd+0x2d) [0xb70c856d]
[calcolo:16287] [ 4] interFoam [0x8062708]
[calcolo:16287] [ 5] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb6d29050]
[calcolo:16287] [ 6] interFoam(_ZN4Foam11regIOobject14readIfModifiedEv+ 0x1f9) [0x805f4e1]
[calcolo:16287] *** End of error message ***
in "/home/area3/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/interFoam"
[calcolo:16286] *** Process received signal ***
[calcolo:16286] Signal: Floating point exception (8)
[calcolo:16286] Signal code: (-6)
[calcolo:16286] Failing at address: 0x3f9e
[calcolo:16286] [ 0] [0xffffe440]
[calcolo:16286] [ 1] /home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam6si gFpe13sigFpeHandlerEi+0x61) [0xb7046491]
[calcolo:16286] [ 2] [0xffffe420]
[calcolo:16286] [ 3] /home/area3/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam4Ti me9setDeltaTEd+0x2d) [0xb70cf56d]
[calcolo:16286] [ 4] interFoam [0x8062708]
[calcolo:16286] [ 5] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb6d30050]
[calcolo:16286] [ 6] interFoam(_ZN4Foam11regIOobject14readIfModifiedEv+ 0x1f9) [0x805f4e1]
[calcolo:16286] *** End of error message ***
mpirun noticed that job rank 0 with PID 16286 on node calcolo exited on signal 8 (Floating point exception).

Did it stop because deltaT was tto little? If not, Why did it stop?

Is there something I can do to overcome this problem? Maybe refine the mesh could help?

Thanks for your suggestions

Francesco

mattijs March 3, 2008 14:50

Yes, it stopped because deltaT
 
Yes, it stopped because deltaT was too small. More specifically adjustDeltaT() in Time.C (in $FOAM_SRC/OpenFOAM/lnInclude/). There is some logic there which divides by deltaT_ to find out when to write.

Refining the mesh will not likely help. More likely a boundary problem.

gschaider March 3, 2008 15:48

It's been my impression in the
 
It's been my impression in the past, that the adjustable timestep can do horrible things with interFoam: a small droplet increases its velocity and "pulls" the timestep down.
Don't know the reason for that, but usually with a fixed (small enough) time-step these calculations worked without a problem.

lth July 30, 2013 05:04

Hi,

I have a similar issue with deltaT, but confused for cause of.
Was running a decomposed interFoam job through time steps and the machine crashed but log file looked great up till then.
Now, I am unable to restart case from last timestep.

-------------------------- log file --------------------------------------
pec@bakugan:~/Desktop/half_mesh_10_pol$ tail -f log_008
MULES: Solving for alpha1
Liquid phase volume fraction = 0.000415151 Min(alpha1) = -6.22785e-26 Max(alpha1) = 1
DICPCG: Solving for p, Initial residual = 0.00268588, Final residual = 9.59121e-08, No Iterations 438
DICPCG: Solving for p, Initial residual = 7.22829e-05, Final residual = 9.99362e-08, No Iterations 96
DICPCG: Solving for p, Initial residual = 3.92261e-06, Final residual = 9.46252e-08, No Iterations 22
DICPCG: Solving for p, Initial residual = 4.73228e-07, Final residual = 9.24826e-08, No Iterations 3
DICPCG: Solving for p, Initial residual = 0.000550059, Final residual = 9.59388e-08, No Iterations 438
DICPCG: Solving for p, Initial residual = 1.3551e-05, Final residual = 9.41344e-08, No Iterations 13
DICPCG: Solving for p, Initial residual = 8.33857e-07, Final residual = 9.60166e-08, No Iterations 17
DICPCG: Solving for p, Initial residual = 1.79822e-07, Final residual = 7.42405e-08, No Iterations 2
------------------------ end log file ------------------------------------------
after reboot, i reran from last time step but keep getting error:
----------------------- error dump-----------------------------------------


DICPCG: Solving for pcorr, Initial residual = 0.00114578, Final residual = 9.57827e-11, No Iterations 725
[3] [6] #0 #0 Foam::error::printStack(Foam::Ostream&)Foam::error ::printStack(Foam::Ostream&)[5] #0 Foam::error::printStack(Foam::Ostream&)[2] [4] #0 Foam::error::printStack(Foam::Ostream&)#[0] #0 Foam::error::printStack(Foam::Ostream&)0 Foam::error::printStack(Foam::Ostream&)[7] #0 Foam::error::printStack(Foam::Ostream&)[1] #0 Foam::error::printStack(Foam::Ostream&) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[4] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[0] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[7] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[5] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[1] #1 Foam::sigFpe::sigFpeHandler(int) in "/ in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGhccDPOpt/libOpenFOAM.so"
ome/pec/OpenFOAM in "//Ohome/pec/OpenFOAM/OppenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[3] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[2] #1 Foam::sigFpe::sigFpeHandler(int)[0] #2 Uninterpreted:
[0] #3 Foam::Time::adjustDeltaT() in "/home/pec/OpenFOAM/OpenFOAM-1.6/enFOAM-1.6/lib/linlib/linuxGccDPOpt/libOpenFOAM.so"
[4] #2 Uninterpreted:
[4] #3 Foam::Time::adjustDeltaT()uxGccDPOpt/libOpenFOAM.so"
[6] #1 Foam::sigFpe::sigFpeHandler(int) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpen in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[5] #2 Uninterpreted:
[5] #3 Foam::Time::adjustDeltaT()FOAM.so"
[7] #2 Uninterpreted:
[7] #3 Foam::Time::adjustDeltaT() in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libO in "/home/ppenFOAM.so"
[1] #2 Uninterpreted:
[1] #3 Foam::Time::adjustDeltaT() in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[4] #4 Foam::Time::setDeltaT(double) in "/home/pec/OpenFOAM/O in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[3] ec/Ope#nFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[6] #2 Uninterpreted:
[6] #3 Foam::Time::adjustDeltaT()2 Uninterpreted:
[3] #3 Foam::Time::adjustDeltaT()penFOAM-1.6 in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[7] #4 Foam::Time::setDeltaT(double)/lib/linuxGccDPOpt/libOpenFOAM.so"
[5] #4 in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[2] #2 Uninterpreted:
[2] #3 Foam::Time::adjustDeltaT()Foam::Time::setDeltaT(do uble) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[1] #4 Foam::Time::setDeltaT(double) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[7] #5 in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[0] #4 Foam::Time::setDeltaT(double) in "/hom in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[4] #5 e/pec/OpenFOAM/O in "/home/pec/OppenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[5] #5 enFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[1] #5 in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[2] #4 Foam::Time::setDeltaT(double) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[6] #4 Foam::Time::setDeltaT(double) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[3] #4 Foam::Time::setDeltaT(double) in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[2] #5 in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[0] #5 main in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[6] #5 mainmain in "/home/pec/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/interFoam"
[5] #6 __libc_start_main in "/home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
[3] #5 in "/home/pec/OpenFOAM/OpenFOmainAM-1.6/applications/bin/linuxG in "/home/pecc/OpenFOAM/OpenFOAM-1.6/applicaticons/bin/linuDPOptxGccDPOpt/interFoam"
/[4] #6 __libc_start_maininterFoam"
[7] #6 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6"
[5] #7 main in "/lib/tls/i686/ in "/home/pcmov/libc.so.6"
[7] #7 ec/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/interFoam"
[6] #6 __libc_start_main in "/home/pec/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/interFoam"
[2] #6 __libc_start_mainmain in "/lib/tls/i in "/lib68/tls/i686/cmov/libc.so.6"
[4] #7 6/cmov/libc.so.6"
[6] #7 in "/home/pec/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/interFoam"
[0] #6 __libc_start_main in "/lib/tls/i686/cm_startmainov/libc.so.6"
[2] #7 _start_startmain_start in "/lib/tls/i686/cmov/libc.so.6"
[0] #7 in "/home/pec/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/interFoam"
[bakugan:06570] *** Process received signal ***
[bakugan:06570] Signal: Floating point exception (8)
[bakugan:06570] Signal code: (-6)
[bakugan:06570] Failing at address: 0x19aa
[bakugan:06570] [ 0] [0xb7815410]
[bakugan:06570] [ 1] /home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam6sigFpe13sigFpeHandlerEi+0x 61) [0xb67942a1]
[bakugan:06570] [ 2] [0xb7815400]
[bakugan:06570] [ 3] /home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam4Time9setDeltaTEd+0x2d) [0xb65aea1d]
[bakugan:06570] [ 4] interFoam [0x8064ab8]
[bakugan:06570] [ 5] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb61d9775]
[bakugan:06570] [ 6] interFoam [0x8062231]
[bakugan:06570] *** End of error message ***
in "/home/pec/OpenFOAM/OpenFOAM-1.6/applications/bin/lin in "/home/pec/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/interFoam"
[bakugan:06572] *** Process received signal ***
[bakugan:06572] Signal: Floating point exception (8)
[bakugan:06572] Signal code: (-6)
[bakugan:06572] Failing at address: 0x19ac
[bakugan:06572] [ 0] [0xb788c410]
[bakugan:06572] [ 1] /home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam6sigFpe13sigFpeHandlerEi+0x 61) [0xb680b2a1]
[bakugan:06572] [ 2] [0xb788c400]
[bakugan:06572] [ 3] /home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam4Time9setDeltaTEd+0x2d) [0xb6625a1d]
[bakugan:06572] [ 4] interFoam [0x8064ab8]
[bakugan:06572] [ 5] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb6250775]
u[bakugan:06572] [ 6] interFoam [0x8062231]
[bakugan:06572] *** End of error message ***
xGccDPOpt/interFoam"
[bakugan:06571] *** Process received signal ***
[bakugan:06571] Signal: Floating point exception (8)
[bakugan:06571] Signal code: (-6)
[bakugan:06571] Failing at address: 0x19ab
[bakugan:06571] [ 0] [0xb787e410]
[bakugan:06571] [ 1] /home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam6sigFpe13sigFpeHandlerEi+0x 61) [0xb67fd2a1]
[bakugan:06571] [ 2] [0xb787e400]
[bakugan:06571] [ 3] /home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam4Time9setDeltaTEd+0x2d) [0xb6617a1d]
[bakugan:06571] [ 4] interFoam [0x8064ab8]
[bakugan:06571] [ 5] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb6242775]
[bakugan:06571] [ 6] interFoam [0x8062231]
[bakugan:06571] *** End of error message ***
in "/home/pec/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/interFoam"
[bakugan:06569] *** Process received signal ***
[bakugan:06569] Signal: Floating point exception (8)
[bakugan:06569] Signal code: (-6)
[bakugan:06569] Failing at address: 0x19a9
[bakugan:06569] [ 0] [0xb7855410]
[bakugan:06569] [ 1] /home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam6sigFpe13sigFpeHandlerEi+0x 61) [0xb67d42a1]
[bakugan:06569] [ 2] [0xb7855400]
[bakugan:06569] [ 3] /home/pec/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so(_ZN4Foam4Time9setDeltaTEd+0x2d) [0xb65eea1d]
[bakugan:06569] [ 4] interFoam [0x8064ab8]
[bakugan:06569] [ 5] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb6219775]
[bakugan:06569] [ 6] interFoam [0x8062231]
[bakugan:06569] *** End of error message ***
_start--------------------------------------------------------------------------
mpirun noticed that process rank 7 with PID 6572 on node bakugan exited on signal 8 (Floating point exception).
------------------------ end error dump ----------------------------------------
------------------------- controlDict ----------------------------------------------
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application interFoam;

startFrom latestTime;

startTime 0.008;

stopAt endTime;

endTime 0.015;

deltaT 0.00000000000001;

writeControl adjustableRunTime;

writeInterval 0.001;

purgeWrite 0;

writeFormat ascii;

writePrecision 6;

writeCompression uncompressed;

timeFormat general;

timePrecision 6;

runTimeModifiable yes;

adjustTimeStep yes;

maxCo 0.5;
maxAlphaCo 0.5;

maxDeltaT 0.01;


// ************************************************** *********************** //


any insight or suggestions are greatly appreciated.

-Lori

majkl July 30, 2013 07:42

Hi,

what was the name of the last time-directory you saved?

M

lth July 30, 2013 10:13

Hi Michal,

Last time directory was 0.008

-Lori

majkl July 30, 2013 10:56

If you solve parallel, look at the processor0 directory if there is some other directories later that the time 0.008.

M

lth July 30, 2013 12:57

Quote:

Originally Posted by majkl (Post 442837)
If you solve parallel, look at the processor0 directory if there is some other directories later that the time 0.008.

M

Yes, checked and nothhing later than 0.008. Also, am only writing every 0.001 sec. I am unsure if it is struggling with the deltaT in 0.008 file. The deltaT is very stable the last few time steps in my log files too. -L

lth July 31, 2013 03:29

Hi Michal,

Solved the issue but want to thank you for help. Looked at last deltaT in the log file
---log file info -----
Courant Number mean: 0.0105289 max: 0.499866
deltaT = 1.7331e-06
Time = 0.008

--------------------------

and reduced the ControlDict deltaT initial to that magnitude (will increase after restart too)

---controlDict change ------------
startTime 0.008;
stopAt endTime;
endTime 0.015;
deltaT 0.000001; //0.00000000000001;
writeControl adjustableRunTime;
writeInterval 0.001;

---------------------------------------------------

best, Lori


All times are GMT -4. The time now is 17:41.