Add local timestep + CFL as volume output#2060
Conversation
|
Thanks, please add yourself to AUTHORS.md |
|
Hi @pcarruscag, just wanted to follow up with you on something about this: it looks like to me that the volume output |
|
Our reference for time is always 1 so they should match physical time even if they appear non-dimensional. What area of the code made it look nondimensional? |
|
Oh interesting, just to be fully complete here's what made me think that: 1.I have a well-converged steady-state solution and outputted the minimum DT's for each cell when running with a CFL=1.0, no adaptive. I was unable to restart this for an unsteady one with no changes in BCs without using a DT orders-of-magnitude smaller.
Setting of local timestep: SU2/SU2_CFD/include/solvers/CFVMFlowSolverBase.hpp Lines 506 to 522 in b80e4ce Calculation of Lambda's: SU2/SU2_CFD/include/solvers/CFVMFlowSolverBase.hpp Lines 413 to 444 in b80e4ce GetProjVel: SU2/SU2_CFD/include/variables/CEulerVariable.hpp Lines 244 to 254 in b80e4ce Then at this point admittedly I just assumed that the |
|
You are right, but in nondim mode all outputs are the nondim ones, so this is consistent. |
|
Would it be worthwhile to output the time step reference line for steady simulations in the "Solver Preprocessing" section as well then? This is only done for unsteady simulations. |
|
Sure sounds good |

Proposed Changes
Added local timestep and local CFL as volume output for both the flow and turbulence variables
Related Work
In relation to #2056
PR Checklist
Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.