# Foam::error::printStack using interFoam

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

 July 27, 2017, 10:19 Foam::error::printStack using interFoam #1 New Member   Army Join Date: Jul 2017 Posts: 6 Rep Power: 2 Hi, I met a question lately, I use interFoam to simulate two phase. But when I run interFoam, The terminal is always wrong. Code: ```Courant Number mean: 0.000622256 max: 0.503614 Interface Courant Number mean: 0.000206901 max: 0.147313 deltaT = 6.82112e-67 Time = 0.958448 PIMPLE: iteration 1 smoothSolver: Solving for alpha.water, Initial residual = 5.79365e-05, Final residual = 6.15506e-10, No Iterations 1 Phase-1 volume fraction = 0.991064 Min(alpha.water) = 0 Max(alpha.water) = 1 MULES: Correcting alpha.water Phase-1 volume fraction = 0.991064 Min(alpha.water) = 0 Max(alpha.water) = 1 smoothSolver: Solving for alpha.water, Initial residual = 5.79175e-05, Final residual = 6.14804e-10, No Iterations 1 Phase-1 volume fraction = 0.991064 Min(alpha.water) = 0 Max(alpha.water) = 1 MULES: Correcting alpha.water Phase-1 volume fraction = 0.991064 Min(alpha.water) = 0 Max(alpha.water) = 1 smoothSolver: Solving for alpha.water, Initial residual = 5.7914e-05, Final residual = 6.15589e-10, No Iterations 1 Phase-1 volume fraction = 0.991064 Min(alpha.water) = 0 Max(alpha.water) = 1 MULES: Correcting alpha.water Phase-1 volume fraction = 0.991064 Min(alpha.water) = 0 Max(alpha.water) = 1 smoothSolver: Solving for alpha.water, Initial residual = 5.78923e-05, Final residual = 6.14818e-10, No Iterations 1 Phase-1 volume fraction = 0.991064 Min(alpha.water) = 0 Max(alpha.water) = 1 MULES: Correcting alpha.water Phase-1 volume fraction = 0.991064 Min(alpha.water) = 0 Max(alpha.water) = 1 DICPCG: Solving for p_rgh, Initial residual = 0.0311023, Final residual = 0.00115016, No Iterations 4 time step continuity errors : sum local = 6.33217e-08, global = 9.57176e-14, cumulative = 1.72517e-10 DICPCG: Solving for p_rgh, Initial residual = 0.0111278, Final residual = 9.07558e-08, No Iterations 219 time step continuity errors : sum local = 5.0231e-12, global = -2.274e-14, cumulative = 1.72494e-10 DILUPBiCG: Solving for epsilon, Initial residual = 0.00707709, Final residual = 7.46197e-09, No Iterations 2 DILUPBiCG: Solving for k, Initial residual = 5.67072e-11, Final residual = 5.67072e-11, No Iterations 0 ExecutionTime = 16779.4 s ClockTime = 16803 s Courant Number mean: 0.000622417 max: 0.496186 Interface Courant Number mean: 0.000206686 max: 0.147863 deltaT = 6.87355e-67 Time = 0.958448 PIMPLE: iteration 1 smoothSolver: Solving for alpha.water, Initial residual = 5.87641e-05, Final residual = 7.009e-10, No Iterations 1 Phase-1 volume fraction = 0.991064 Min(alpha.water) = 0 Max(alpha.water) = 1 MULES: Correcting alpha.water Phase-1 volume fraction = 0.991064 Min(alpha.water) = 0 Max(alpha.water) = 1 smoothSolver: Solving for alpha.water, Initial residual = 5.87393e-05, Final residual = 7.00229e-10, No Iterations 1 Phase-1 volume fraction = 0.991064 Min(alpha.water) = 0 Max(alpha.water) = 1 MULES: Correcting alpha.water Phase-1 volume fraction = 0.991064 Min(alpha.water) = 0 Max(alpha.water) = 1 smoothSolver: Solving for alpha.water, Initial residual = 5.8731e-05, Final residual = 7.00803e-10, No Iterations 1 Phase-1 volume fraction = 0.991064 Min(alpha.water) = 0 Max(alpha.water) = 1 MULES: Correcting alpha.water Phase-1 volume fraction = 0.991064 Min(alpha.water) = 0 Max(alpha.water) = 1 smoothSolver: Solving for alpha.water, Initial residual = 5.8708e-05, Final residual = 7.00191e-10, No Iterations 1 Phase-1 volume fraction = 0.991064 Min(alpha.water) = 0 Max(alpha.water) = 1 MULES: Correcting alpha.water Phase-1 volume fraction = 0.991064 Min(alpha.water) = 0 Max(alpha.water) = 1 DICPCG: Solving for p_rgh, Initial residual = 0.0319731, Final residual = 0.00149894, No Iterations 3 time step continuity errors : sum local = 8.41888e-08, global = -2.40884e-15, cumulative = 1.72491e-10 DICPCG: Solving for p_rgh, Initial residual = 0.011552, Final residual = 8.0607e-08, No Iterations 219 time step continuity errors : sum local = 4.53264e-12, global = -1.86708e-14, cumulative = 1.72473e-10 #0 Foam::error::printStack(Foam::Ostream&) in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/lib/libOpenFOAM.so" #2 ? in "/lib64/libc.so.6" #3 double Foam::sumProd(Foam::UList const&, Foam::UList const&) in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/lib/libOpenFOAM.so" #4 double Foam::gSumProd(Foam::UList const&, Foam::UList const&, int) in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/lib/libOpenFOAM.so" #5 Foam::PBiCG::solve(Foam::Field&, Foam::Field const&, unsigned char) const in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/lib/libOpenFOAM.so" #6 Foam::fvMatrix::solveSegregated(Foam::dictionary const&) in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/lib/libfiniteVolume.so" #7 Foam::fvMatrix::solve(Foam::dictionary const&) in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/bin/interFoam" #8 Foam::fvMatrix::solve() in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/bin/interFoam" #9 Foam::SolverPerformance Foam::solve(Foam::tmp > const&) in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/lib/libincompressibleTurbulenceModels.so" #10 Foam::RASModels::realizableKE >::correct() in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/lib/libincompressibleTurbulenceModels.so" #11 ? in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/bin/interFoam" #12 __libc_start_main in "/lib64/libc.so.6" #13 ? in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/bin/interFoam" 浮点数例外 (core dumped)``` Courant Number is less than one. I do not know where is wrong. And this problem has been bothering me for a long time. I really hope someone here could help. Thank you.

 July 30, 2017, 10:33 #2 New Member   Army Join Date: Jul 2017 Posts: 6 Rep Power: 2 Maybe my 0 file is wrong, but I dont know where is wrong. Code: ``` object alpha; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 0 0 0 0 0 0]; internalField uniform 1; boundaryField { in2 { type inletOutlet; inletValue uniform 1; value uniform 1; } in1 { type inletOutlet; inletValue uniform 0; value uniform 0; } out { type zeroGradient; } bimian { type zeroGradient; } }``` Code: ``` object p_rgh; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField uniform 0; boundaryField { in2 { type zeroGradient; } in1 { type zeroGradient; } out { type fixedValue; value uniform 101325; } bimian { type zeroGradient; } }``` Code: ``` location "0"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (1 0 0); boundaryField { in2 { type fixedValue; value uniform (1.58 0 0); } in1 { type fixedValue; value uniform (0.35 0 0); } out { type zeroGradient; } bimian { type fixedValue; value uniform (0 0 0); } }``` Could someone please help me out this trouble?

 August 24, 2017, 05:40 #3 New Member   souaga Join Date: Jul 2017 Posts: 1 Rep Power: 0 Tell me you could solve your problem?I have the same problem that you so help me if you have a solution. thank!

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post SFr OpenFOAM Running, Solving & CFD 8 June 23, 2016 16:36 JFM OpenFOAM Running, Solving & CFD 3 December 1, 2015 06:58 gooya_kabir OpenFOAM Running, Solving & CFD 0 December 9, 2013 06:09 DanM OpenFOAM Running, Solving & CFD 11 January 5, 2013 07:21 sxhdhi OpenFOAM Running, Solving & CFD 3 May 5, 2009 21:58

All times are GMT -4. The time now is 09:50.