|
[Sponsors] |
July 27, 2017, 11:19 |
Foam::error::printStack using interFoam
|
#1 |
New Member
Army
Join Date: Jul 2017
Posts: 6
Rep Power: 9 |
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<double>(Foam::UList<double> const&, Foam::UList<double> const&) in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/lib/libOpenFOAM.so" #4 double Foam::gSumProd<double>(Foam::UList<double> const&, Foam::UList<double> const&, int) in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/lib/libOpenFOAM.so" #5 Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/lib/libOpenFOAM.so" #6 Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/lib/libfiniteVolume.so" #7 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/bin/interFoam" #8 Foam::fvMatrix<double>::solve() in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/bin/interFoam" #9 Foam::SolverPerformance<double> Foam::solve<double>(Foam::tmp<Foam::fvMatrix<double> > const&) in "/opt/software/OpenFOAM/OpenFOAM-v3.0+/platforms/linux64GccDPInt32Prof/lib/libincompressibleTurbulenceModels.so" #10 Foam::RASModels::realizableKE<Foam::IncompressibleTurbulenceModel<Foam::transportModel> >::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) |
|
July 30, 2017, 11:33 |
|
#2 |
New Member
Army
Join Date: Jul 2017
Posts: 6
Rep Power: 9 |
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); } } |
|
August 24, 2017, 06: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! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
interFoam vs. simpleFoam channel flow comparison | DanM | OpenFOAM Running, Solving & CFD | 12 | January 31, 2020 16:26 |
interFoam (HELYX-OS) pressure boundary conditions | SFr | OpenFOAM Running, Solving & CFD | 8 | June 23, 2016 17:36 |
k-e & GAMG interFoam Schemitisation Stability Issue | JFM | OpenFOAM Running, Solving & CFD | 3 | December 1, 2015 06:58 |
interFoam in parallel | gooya_kabir | OpenFOAM Running, Solving & CFD | 0 | December 9, 2013 06:09 |
Open Channel Flow using InterFoam type solver | sxhdhi | OpenFOAM Running, Solving & CFD | 3 | May 5, 2009 22:58 |