CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   interIsoFoam runs for maxCo = 10 but not maxCo = 2.5 (https://www.cfd-online.com/Forums/openfoam-solving/229702-interisofoam-runs-maxco-10-but-not-maxco-2-5-a.html)

scleakey August 20, 2020 09:27

interIsoFoam runs for maxCo = 10 but not maxCo = 2.5
 
OpenFOAM uses implicit methods so I thought I would see how far I could push the Courant number before it crashes - isn't the point of implicit methods to get large Courant numbers?

I'm running a multiphase case with interIsoFoam on six processors. Keeping everything else the same, I tried different values for maxCo...

1.0 :D
2.0 :D
2.3 :D
2.5 :( crashed at t = 0.02 after high residual for p_rgh
2.7 :( crashed at t = 0.02 after high residual for p_rgh
3.0 :( crashed at t = 0.02 after high residual for p_rgh
5.0 :D
10.0 :D
20.0 :( crashed at t = 1.31, not sure exactly why

I don't understand how it ran for maxCo = 10 (with very sensible results) but crashed for maxCo = 2.5? I realise there are lots of reasons that it might crash but I thought that decreasing the Courant number would make it more stable, not less :confused:

Has anybody else experienced this?

Bloerb August 20, 2020 15:07

Implicit methods while allowing you to use Co>1 have a smoothing effect on the solution. So high pitched oscillations with a frequency higher than your time step will be smoothed out. This usually means a loss in accuracy. Imagine a sine wave where you only calculate the values between peaks. It is not unreasonable that the same effect applies to errors of said frequency. So depending on your problem this can increase stability in a certain range.

scleakey August 21, 2020 04:43

Quote:

Originally Posted by Bloerb (Post 780943)
Implicit methods while allowing you to use Co>1 have a smoothing effect on the solution. So high pitched oscillations with a frequency higher than your time step will be smoothed out. This usually means a loss in accuracy. Imagine a sine wave where you only calculate the values between peaks. It is not unreasonable that the same effect applies to errors of said frequency. So depending on your problem this can increase stability in a certain range.

Thanks for your reply :) I think I understand what you mean


All times are GMT -4. The time now is 23:30.