|
[Sponsors] |
November 3, 2015, 11:00 |
simpleFoam crashes after 200 iterations
|
#1 |
Senior Member
Join Date: Jan 2015
Posts: 150
Rep Power: 11 |
I run a steady-state simulation using simpleFoam. During first 200 iterations a solution converges quite well but suddenly after about 200 iterations a solution explodes... I've tried to play with relaxation coefficients but with no success.
Config files, log file and plot of residuals are attached in a zip file. Maybe someone knows how to overcome this issue ?? |
|
November 3, 2015, 14:42 |
|
#2 |
Senior Member
Oskar
Join Date: Nov 2015
Location: Poland
Posts: 184
Rep Power: 11 |
Hello.
It looks like You got 1000 iterations for pressure. Maybe You need to change Initial residual? |
|
November 3, 2015, 15:44 |
|
#3 |
Senior Member
Join Date: Jan 2015
Posts: 150
Rep Power: 11 |
Do you know how to do this ?
|
|
November 3, 2015, 15:56 |
|
#4 |
Senior Member
Oskar
Join Date: Nov 2015
Location: Poland
Posts: 184
Rep Power: 11 |
Unfortunately I'm noob.
Maybe in file 0/p You can change internalField uniform to value that is close to Your calculation? Last edited by sheaker; November 3, 2015 at 17:17. |
|
November 4, 2015, 09:56 |
|
#5 |
Senior Member
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27 |
You have really strange numerical settings. nNonOrthogonalCorrectors 15 ... why did you do that?
Can you post "checkMesh" output? In fvSolution: Code:
solvers { p { solver GAMG; tolerance 1e-12; relTol 0.001; smoother DICGaussSeidel; nPreSweeps 0; nPostSweeps 1; nFinestSweeps 2; scaleCorrection true; directSolveCoarsestLevel false; cacheAgglomeration on; agglomerator faceAreaPair; nCellsInCoarsestLevel 500; mergeLevels 1; maxIter 100; } U { solver smoothSolver; smoother GaussSeidel; tolerance 1e-12; relTol 0.1; nSweeps 1; maxIter 100; } } Set relaxation for pressure to 0.3 and for velocity to 0.7. In fvSolution: Set gradScheme default to "Gauss linear".
__________________
The skeleton ran out of shampoo in the shower. |
|
November 5, 2015, 02:32 |
|
#6 |
Member
Vojtech Betak
Join Date: Mar 2009
Location: Czech republic
Posts: 34
Rep Power: 18 |
Try to change outlet boundary condition for velocity from
{ type zeroGradient; } to { type inletOutlet; inletValue uniform (0 0 0); value $internalField; } |
|
Tags |
simplefoam not converged |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
simpleFoam error - "Floating point exception" | mbcx4jc2 | OpenFOAM Running, Solving & CFD | 12 | August 4, 2015 03:20 |
Cannot run the code properly: very large time step continuity error | crst15 | OpenFOAM Running, Solving & CFD | 9 | December 14, 2014 19:17 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
pimpleFoam: turbulence->correct(); is not executed when using residualControl | hfs | OpenFOAM Running, Solving & CFD | 3 | October 29, 2013 09:35 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 07:37 |