-
Notifications
You must be signed in to change notification settings - Fork 848
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JST Residual stalling #793
Comments
This also occurs when using Lax and JST_KE. I was able to reproduce similar results as @jayantmukho with a 1,000,000,000 CFL |
Have you tried the CENTRAL_JACOBIAN_FIX_FACTOR option introduced in #691? |
The conclusion from #691, which works, makes me think we could be missing something still in the Jacobians for the centered schemes. If we gain stability by improving diagonal dominance, then perhaps we are either adding negative terms to the diagonal, reducing it in the first place, or we could be missing positive terms that should be added to the diagonal. @pcarruscag : when you were working through that, did you see anything that might be amiss? One strategy I have seen folks use is to check the sign of the terms that are added to the diagonal, and if they are negative, either do not add them, or add the fabs() of it instead. We could do checks like this for schemes throughout the code. I know this can have a particular impact for source terms in turbulence models, for instance. |
I derived the Jacobians from scratch and checked against literature, they are correct (apart from Laplacians). |
Oh and for the number of linear solver iterations you need at those values of CFL, BiCGSTAB may be a better choice. |
@jayantmukho did our suggestions help with the issue? |
I think this has been explained. |
Oh yes! I am sorry, forgot to close the issue. Thanks for the help. |
Describe the bug
This is something I have noticed multiple times when running with JST on RANS cases: If the CFL number is increased (>5) the density residual stops changing and the solution essentially stalls:
I am digging into the JST implementation to see what is going on but haven't had any luck so far. Is this something that other people have experienced and have an explanation for?
Changing the LINEAR_SOLVER_PREC sometimes helps. In this flatplate case ILU does better but for other simulations this stalling will persist. Adaptive CFL will almost certainly mess things up (even #790). Sidenote, is there a rule of thumb for which LINEAR_SOLVER_PREC and LINEAR_SOLVER to use?
To Reproduce
This was on the basic flatplate test case that is available with the repo. Including files here for completeness
flatplate_jst_Sa.tar.gz
If the CFL is set to 5, the solution converges as expected. But if it is increased to 8, it stops moving.
Desktop (please complete the following information):
This has been replicated on a variety of systems
The text was updated successfully, but these errors were encountered: