|
[Sponsors] |
March 20, 2023, 09:31 |
simplefoam does not stop upon convergence
|
#1 |
New Member
Schweiz
Join Date: Aug 2022
Posts: 8
Rep Power: 4 |
I set the following convergence criterion in the fvSolution dict:
Code:
SIMPLE { residualControl { p 0.005; // default: 1e-4 U 0.005; // default: 1e-4 "(k|omega|epsilon)" 0.005; // default: 1e-4 } nNonOrthogonalCorrectors 0; pRefCell 0; pRefValue 0; } simplefoam "acknowledges" the criterion in the log: Code:
SIMPLE: convergence criteria field p tolerance 0.005 field U tolerance 0.005 field "(k|omega|epsilon)" tolerance 0.005 On t=46 convergence is reached, but it still does not stop but runs to the 50 timesteps as given in the controlDict Code:
Time = 46 smoothSolver: Solving for Ux, Initial residual = 0.00132339, Final residual = 0.000118212, No Iterations 2 smoothSolver: Solving for Uy, Initial residual = 0.00828419, Final residual = 0.000747561, No Iterations 2 smoothSolver: Solving for Uz, Initial residual = 0.00586836, Final residual = 0.000477364, No Iterations 2 GAMG: Solving for p, Initial residual = 0.0446904, Final residual = 0.00266224, No Iterations 2 time step continuity errors : sum local = 5.56276e-05, global = -6.44437e-06, cumulative = -0.000195527 smoothSolver: Solving for epsilon, Initial residual = 0.00314368, Final residual = 0.00022914, No Iterations 1 smoothSolver: Solving for k, Initial residual = 0.00534749, Final residual = 0.000112692, No Iterations 2 ExecutionTime = 2.18 s ClockTime = 4 s controlDict: Code:
startFrom latestTime; startTime 0; stopAt endTime; endTime 50; deltaT 1; |
|
March 21, 2023, 09:48 |
|
#2 |
Senior Member
Nico
Join Date: Jan 2022
Location: Germany
Posts: 122
Rep Power: 6 |
Hi, as far as i can tell, you didn't reach convergence. The criteria applies to the inital residual.
In your case for p = 0.005 The inital residual for p = 0.0446904 For U = 0.005 The initial u residuals: Solving for Ux, Initial residual = 0.00132339 Solving for Uy, Initial residual = 0.00828419 Solving for Uz, Initial residual = 0.00586836 Just increase the endTime and see if the case converges |
|
March 21, 2023, 10:51 |
|
#3 |
New Member
Schweiz
Join Date: Aug 2022
Posts: 8
Rep Power: 4 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Square duct flow with cyclic inlet outlet - simpleFoam Convergence issue | Vino | OpenFOAM Running, Solving & CFD | 7 | January 25, 2019 03:55 |
simpleFoam: simple 1-D channel flow, yet very strange convergence behavior | kishpishar | OpenFOAM Running, Solving & CFD | 2 | June 20, 2013 14:55 |
simpleFoam Convergence Stalling | Greg Givogue | OpenFOAM Running, Solving & CFD | 6 | March 9, 2011 21:23 |
Convergence Problems SimpleFOAM | Kutti | OpenFOAM | 16 | June 14, 2010 09:12 |
Convergence of CFX field in FSI analysis | nasdak | CFX | 2 | June 29, 2009 02:17 |