Discontinuous Cs when using dynamic Smagorinsky model #4962
zwei961120
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!
I am using the dynamic Smagorinsky model, and I am noticing some unexpected behavior in the computed dynamic coefficient Cs.
Below is an example of what I observe (horizontally-averaged Cs and update every 1 iteration):
What happens is:
What I currently suspect:
This behavior might be related to the variable time stepping. Since the Lagrangian averaging procedure uses the time step to compute the running average, changes in Δt can affect how the averaging is performed. As turbulence develops, the CFL-based time step typically decreases, which may introduce inconsistencies in the Lagrangian averaging and lead to the discontinuous Cs behavior I observed. So when I fix the time step, the problem seems much less severe or does not appear, and the evolution of Cs shows like:
So, my question is:
Is this behavior known or expected for the dynamic Smagorinsky model? I could not find references in previous literature reporting this, so I wonder if it may indicate an implementation issue or a model limitation.
Here is the code:
Any guidance or clarification would be greatly appreciated! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions