CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   variable Time step in rhoSonicFoam (https://www.cfd-online.com/Forums/openfoam-solving/62872-variable-time-step-rhosonicfoam.html)

mihir1310 March 22, 2009 19:50

variable Time step in rhoSonicFoam
 
Im trying to run rhoSonicFoam using a variable timestep as im getting phennomenally high values for Courant No. even for timestep values ~ 1e-13!!! Hence i followed the instructions contributed in the following thread : http://www.cfd-online.com/OpenFOAM_D...tml?1227012935 & made the changes to the code viz. include "readTimeControls.H" , "setDeltT.H"





However , that does not help entirely as the solution crashes with the following error ::


[0] #0 Foam::error::printStack(Foam::Ostream&)[1] #0 Foam::error::printStack(Foam::Ostream&) at OSspecific/Unix/printStack.C:203
[0] #1 Foam::sigFpe::sigFpeHandler(int) at OSspecific/Unix/signals/sigFpe.C:130
[0] #2 Uninterpreted: [0xffffe420]
[0] #3 Foam::Time::adjustDeltaT() at OSspecific/Unix/printStack.C:203
[1] #1 Foam::sigFpe::sigFpeHandler(int) at OSspecific/Unix/signals/sigFpe.C:130
[1] #2 Uninterpreted: [0xffffe420]
[1] #3 Foam::Time::adjustDeltaT() at db/Time/Time.C:83
[0] #4 Foam::Time::setDeltaT(double) at db/Time/Time.C:83
[1] #4 Foam::Time::setDeltaT(double) at db/Time/Time.C:555
[0] #5 at db/Time/Time.C:555
[1] #5 mainmain at ~/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude/setDeltaT.H:47
[0] #6 __libc_start_main in "/lib/libc.so.6"
[0] #7 __gxx_personality_v0 at ~/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude/setDeltaT.H:47
[1] #6 __libc_start_main in "/lib/libc.so.6"
[1] #7 __gxx_personality_v0 in "/home/msamel/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPDebug/rhoSonicFoam"
[bonito:26648] *** Process received signal ***
[bonito:26648] Signal: Floating point exception (8)
[bonito:26648] Signal code: (-6)
[bonito:26648] Failing at address: 0x6818
[bonito:26648] [ 0] [0xffffe440]
[bonito:26648] [ 1] /home/msamel/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPDebug/libOpenFOAM.so(_ZN4Foam6sigFpe13sigFpeHandlerEi+0x d4) [0x40ca8430]
[bonito:26648] [ 2] [0xffffe420]
[bonito:26648] [ 3] /home/msamel/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPDebug/libOpenFOAM.so(_ZN4Foam4Time9setDeltaTEd+0x3f) [0x40d1291f]
[bonito:26648] [ 4] rhoSonicFoam [0x8072a8d]
[bonito:26648] [ 5] /lib/libc.so.6(__libc_start_main+0xdc) [0x410dff9c]
[bonito:26648] [ 6] rhoSonicFoam(__gxx_personality_v0+0xf1) [0x80700e1]
[bonito:26648] *** End of error message ***
mpirun noticed that job rank 0 with PID 26648 on node bonito exited on signal 8 (Floating point exception).

Could someone help me understand what is the problem over here as im new to OpenFoam ...

mihir1310 March 24, 2009 10:34

to add... im running this on 2 processors

mihir1310 March 31, 2009 11:22

could anyone help me ?


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