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

Foam:: Error:: PrintStack

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 18, 2012, 19:03
Smile Foam:: Error:: PrintStack
  #1
New Member
 
Reno
Join Date: Sep 2012
Posts: 27
Rep Power: 13
jr33 is on a distinguished road
I am running an example of flow in pipe using openfoam (Ubuntu), I get following error, although it works fine till time point 16, How to fix the error.
Files are here:
http://dl.dropbox.com/u/68983831/files.zip


// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading transportProperties

Reading field p

Reading field U

Reading/calculating face flux field phi


Starting time loop

Time = 15

Courant Number mean: 2.30651e+31 max: 4.76733e+34
DILUPBiCG: Solving for Ux, Initial residual = 0.998836, Final residual = 0.0837974, No Iterations 14
DILUPBiCG: Solving for Uy, Initial residual = 0.999846, Final residual = 0.079946, No Iterations 5
DILUPBiCG: Solving for Uz, Initial residual = 0.999593, Final residual = 0.0819008, No Iterations 13
DICPCG: Solving for p, Initial residual = 1, Final residual = 0.000810451, No Iterations 2
time step continuity errors : sum local = 8.6096e+60, global = -1.31187e+44, cumulative = -1.31187e+44
DICPCG: Solving for p, Initial residual = 0.997834, Final residual = 0.00011985, No Iterations 1
time step continuity errors : sum local = 3.07997e+62, global = 9.1217e+45, cumulative = 8.99052e+45
ExecutionTime = 1.84 s ClockTime = 3 s

Time = 16

Courant Number mean: 3.06096e+62 max: 5.97395e+65
DILUPBiCG: Solving for Ux, Initial residual = 0.585237, Final residual = 0.0331803, No Iterations 23
DILUPBiCG: Solving for Uy, Initial residual = 0.58276, Final residual = 0.0407138, No Iterations 12
DILUPBiCG: Solving for Uz, Initial residual = 0.908282, Final residual = 0.0424477, No Iterations 1
#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2 Uninterpreted:
#3 Foam:ICPreconditioner::calcReciprocalD(Foam::Field <double>&, Foam::lduMatrix const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#4 Foam:ICPreconditioner:ICPreconditioner(Foam::lduMa trix::solver const&, Foam::dictionary const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#5 Foam::lduMatrix:reconditioner::addsymMatrixConstru ctorToTable<Foam:ICPreconditioner>::New(Foam::lduM atrix::solver const&, Foam::dictionary const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#6 Foam::lduMatrix:reconditioner::New(Foam::lduMatrix ::solver const&, Foam::dictionary const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#7 Foam::PCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#8 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libfiniteVolume.so"
#9
in "/opt/openfoam211/platforms/linuxGccDPOpt/bin/icoFoam"
#10 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#11
in "/opt/openfoam211/platforms/linuxGccDPOpt/bin/icoFoam"
Floating point exception (core dumped)

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

Last edited by jr33; October 18, 2012 at 19:14. Reason: more information
jr33 is offline   Reply With Quote

Old   October 18, 2012, 19:19
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by jr33 View Post
I am running an example of flow in pipe using openfoam (Ubuntu), I get following error, although it works fine till time point 16,
No it doesn't. Have a look at time 15: Courant numbers of the order 1e34 are not fine in this universe

Problems start probably even further up (there is probably a problem with your case)

Quote:
Originally Posted by jr33 View Post
How to fix the error.
Files are here
Best way to find the error is write out every time-step (with 16 timesteps to failure this should be possible), have a look at them and find out what is going wrong
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   October 18, 2012, 19:23
Default
  #3
New Member
 
Reno
Join Date: Sep 2012
Posts: 27
Rep Power: 13
jr33 is on a distinguished road
Quote:
Originally Posted by gschaider View Post
No it doesn't. Have a look at time 15: Courant numbers of the order 1e34 are not fine in this universe

Problems start probably even further up (there is probably a problem with your case)



Best way to find the error is write out every time-step (with 16 timesteps to failure this should be possible), have a look at them and find out what is going wrong

I saw at time point 1:
Courant Number mean: 5.80776 max: 1368.61
Thanks
jr33 is offline   Reply With Quote

Old   October 18, 2012, 19:29
Default Above error came when I fixed keyword laplacian
  #4
New Member
 
Reno
Join Date: Sep 2012
Posts: 27
Rep Power: 13
jr33 is on a distinguished road
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 10

Reading transportProperties

Reading field p

Reading field U

Reading/calculating face flux field phi


Starting time loop

Time = 11

Courant Number mean: 1.54422e+12 max: 7.57587e+14


--> FOAM FATAL IO ERROR:
keyword laplacian(nu,U) is undefined in dictionary "/home/jay/OpenFOAM/jay-2.1.1/run/tutorials/incompressible/simpleFoam/elbow/system/fvSchemes::laplacianSchemes"

file: /home/jay/OpenFOAM/jay-2.1.1/run/tutorials/incompressible/simpleFoam/elbow/system/fvSchemes::laplacianSchemes from line 44 to line 50.

From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 400.

FOAM exiting
jr33 is offline   Reply With Quote

Reply

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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 18:22
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


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