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

pimpleFoam residual increase in final iteration

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 1, 2022, 04:03
Default pimpleFoam residual increase in final iteration
  #1
New Member
 
Ahmed Hafez
Join Date: Jul 2018
Posts: 26
Rep Power: 8
AhmedHafez is on a distinguished road
Hello foamers,

I try to simulate flow around a cylinder using pimpleFoam and kOmegaSST model.
I set the residual control to 1e-6 for all variables and turn turbOnFinalIterOnly to false to correct turbulence in every iteration.

The issue is that as you can see the residual generally increase for p in the final iteration, as compared with the previous ones.

p initial residual at iteration 15 = 2.76799e-06
p initial residual at iteration 16 = 1.851e-06
p initial residual at iteration 17 = 1.25194e-06
p initial residual at iteration 18 = 8.59642e-07
p initial residual at iteration 19 = 0.000184078

Does anyone have an idea why this happens?


Code:
PIMPLE: iteration 15
smoothSolver:  Solving for Ux, Initial residual = 2.75291e-08, Final residual = 2.24998e-11, No Iterations 1
smoothSolver:  Solving for Uy, Initial residual = 5.35638e-08, Final residual = 6.11208e-11, No Iterations 1
GAMG:  Solving for p, Initial residual = 0.000341863, Final residual = 2.37683e-07, No Iterations 9
GAMG:  Solving for p, Initial residual = 3.95414e-06, Final residual = 6.59996e-09, No Iterations 13
time step continuity errors : sum local = 6.0944e-14, global = 5.61034e-15, cumulative = -1.08138e-09
GAMG:  Solving for p, Initial residual = 0.000239169, Final residual = 1.64455e-07, No Iterations 9
GAMG:  Solving for p, Initial residual = 2.76799e-06, Final residual = 7.47063e-09, No Iterations 11
time step continuity errors : sum local = 6.89837e-14, global = 6.11525e-15, cumulative = -1.08137e-09
smoothSolver:  Solving for omega, Initial residual = 9.76609e-09, Final residual = 9.76609e-09, No Iterations 0
smoothSolver:  Solving for k, Initial residual = 4.70179e-09, Final residual = 4.70179e-09, No Iterations 0
PIMPLE: iteration 16
smoothSolver:  Solving for Ux, Initial residual = 1.73465e-08, Final residual = 1.37002e-11, No Iterations 1
smoothSolver:  Solving for Uy, Initial residual = 3.46011e-08, Final residual = 3.73245e-11, No Iterations 1
GAMG:  Solving for p, Initial residual = 0.000233972, Final residual = 1.56529e-07, No Iterations 9
GAMG:  Solving for p, Initial residual = 2.6403e-06, Final residual = 7.97251e-09, No Iterations 11
time step continuity errors : sum local = 7.36173e-14, global = 6.4906e-15, cumulative = -1.08137e-09
GAMG:  Solving for p, Initial residual = 0.000163756, Final residual = 1.09107e-07, No Iterations 9
GAMG:  Solving for p, Initial residual = 1.851e-06, Final residual = 9.65293e-09, No Iterations 9
time step continuity errors : sum local = 8.91343e-14, global = 7.90999e-15, cumulative = -1.08136e-09
smoothSolver:  Solving for omega, Initial residual = 9.76794e-09, Final residual = 9.76794e-09, No Iterations 0
smoothSolver:  Solving for k, Initial residual = 4.78525e-09, Final residual = 4.78525e-09, No Iterations 0
PIMPLE: iteration 17
smoothSolver:  Solving for Ux, Initial residual = 1.09831e-08, Final residual = 8.19114e-12, No Iterations 1
smoothSolver:  Solving for Uy, Initial residual = 2.23768e-08, Final residual = 2.14394e-11, No Iterations 1
GAMG:  Solving for p, Initial residual = 0.000160724, Final residual = 1.06995e-07, No Iterations 9
GAMG:  Solving for p, Initial residual = 1.78211e-06, Final residual = 9.79957e-09, No Iterations 9
time step continuity errors : sum local = 9.04879e-14, global = 7.90542e-15, cumulative = -1.08135e-09
GAMG:  Solving for p, Initial residual = 0.000112516, Final residual = 7.48168e-08, No Iterations 9
GAMG:  Solving for p, Initial residual = 1.25194e-06, Final residual = 6.99889e-09, No Iterations 9
time step continuity errors : sum local = 6.46267e-14, global = 5.6232e-15, cumulative = -1.08135e-09
smoothSolver:  Solving for omega, Initial residual = 9.769e-09, Final residual = 9.769e-09, No Iterations 0
smoothSolver:  Solving for k, Initial residual = 4.83968e-09, Final residual = 4.83968e-09, No Iterations 0
PIMPLE: iteration 18
smoothSolver:  Solving for Ux, Initial residual = 7.00153e-09, Final residual = 7.00153e-09, No Iterations 0
smoothSolver:  Solving for Uy, Initial residual = 1.45239e-08, Final residual = 1.21031e-11, No Iterations 1
GAMG:  Solving for p, Initial residual = 0.000110597, Final residual = 7.40441e-08, No Iterations 9
GAMG:  Solving for p, Initial residual = 1.21414e-06, Final residual = 6.73644e-09, No Iterations 9
time step continuity errors : sum local = 6.22032e-14, global = 5.38254e-15, cumulative = -1.08134e-09
GAMG:  Solving for p, Initial residual = 7.74651e-05, Final residual = 5.18999e-08, No Iterations 9
GAMG:  Solving for p, Initial residual = 8.59642e-07, Final residual = 7.5714e-09, No Iterations 7
time step continuity errors : sum local = 6.9913e-14, global = 8.17829e-15, cumulative = -1.08133e-09
smoothSolver:  Solving for omega, Initial residual = 9.76963e-09, Final residual = 9.76963e-09, No Iterations 0
smoothSolver:  Solving for k, Initial residual = 4.87472e-09, Final residual = 4.87472e-09, No Iterations 0
PIMPLE: iteration 19
smoothSolver:  Solving for Ux, Initial residual = 6.63675e-09, Final residual = 6.63675e-09, No Iterations 0
smoothSolver:  Solving for Uy, Initial residual = 1.44178e-08, Final residual = 2.26225e-11, No Iterations 1
GAMG:  Solving for p, Initial residual = 0.111005, Final residual = 9.15593e-05, No Iterations 10
GAMG:  Solving for p, Initial residual = 0.00170707, Final residual = 1.29047e-06, No Iterations 24
time step continuity errors : sum local = 1.46577e-11, global = -1.53446e-12, cumulative = -1.08287e-09
GAMG:  Solving for p, Initial residual = 0.00682859, Final residual = 6.35587e-06, No Iterations 11
GAMG:  Solving for p, Initial residual = 0.000184078, Final residual = 9.50223e-09, No Iterations 30
time step continuity errors : sum local = 1.08533e-13, global = -1.11373e-14, cumulative = -1.08288e-09
smoothSolver:  Solving for omega, Initial residual = 2.54325e-08, Final residual = 3.38142e-09, No Iterations 1
smoothSolver:  Solving for k, Initial residual = 4.09102e-07, Final residual = 2.37969e-09, No Iterations 1
PIMPLE: converged in 19 iterations
ExecutionTime = 251702 s  ClockTime = 253133 s
AhmedHafez is offline   Reply With Quote

Reply


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
#0 prinStack(Foam::Ostream&)sh:1 addr2lin: not found addr2line failed jerrry51 OpenFOAM Running, Solving & CFD 0 September 2, 2022 15:33
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 03:50
Cannot run the code properly: very large time step continuity error crst15 OpenFOAM Running, Solving & CFD 9 December 14, 2014 19:17
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 14:38
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 06:24


All times are GMT -4. The time now is 01:10.