simpleFoam: case only converges with most div schemes set to upwind
3 Attachment(s)
Hi,
I have a case here (several similar cases, in fact) that I want to solve with simpleFoam, but it only converges with div schemes set to Gauss upwind. The only execption to this is Code:
div((nuEff*dev(T(grad(U))))) Gauss linear; Attachment 26602 The first part is with Code:
div((nuEff*dev(T(grad(U))))) Gauss upwind phi; Code:
div((nuEff*dev(T(grad(U))))) Gauss linear; Setting any other scheme to something other than upwind prevents the case from converging; here I continued the previous run with: Code:
div(phi,U) Gauss linear; checkMesh -allGeometry -allTopology reports non-orthogonality as max 49.7, average as 23.3 and no errors. Here are my fvSchemes and fvSolution: Code:
ddtSchemes Code:
solvers Regards Christoph |
Try switching to smoothSolver for U, k and omega (personally I think it makes the case much more stable). Maybe you can also try an intermediate option for your schemes, namely (for instance):
Code:
div(phi,U) Gauss linearUpwind grad(U); A |
The intermediate schemes didn't work with the non-smooth solvers. However, I'm now trying smooth solvers for U, k, and omega as you suggested, with linearUpwind. Let's see what happens...
|
1 Attachment(s)
Unfortunately, that didn't help much. Here are my new fvSchemes and fvSolution:
Code:
ddtSchemes Code:
solvers Attachment 26613 Regards, Christoph |
Where you have:
Quote:
Code:
All the best, A |
2 Attachment(s)
So I corrected the schemes to
Code:
div(phi,U) Gauss linearUpwind grad(U); Attachment 26624 I know the residuals are not the only thing to look for, so I plotted the averaged velocity in main flow direction: Attachment 26625 Here are the first and last timestep from the log: Code:
Time = 14001 Code:
Time = 15000 |
I've prepared a more or less cleaned up case for those who are interested in having a look. Here it is.
Regards Christoph |
Well I've tried more schemes, but to no avail. Does anyone have any idea what else could be wrong here? I have read in many other threads that the mesh caused problems, so I'm now taking a close look at that.
|
All times are GMT -4. The time now is 00:10. |