-
Notifications
You must be signed in to change notification settings - Fork 201
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
Lagrangian Smagorinsky for 2D flows #4009
base: main
Are you sure you want to change the base?
Conversation
I think we should keep it incompatible with anything but 3D flows. Not only it goes against LES assumptions, but it just doesn't work and the results look terrible (because they violate said assumptions). Personally, I don't see anything to gain from generalizing it. |
I would propose to fix the error and including a warning (or error) when the topology is Flat. |
Agreed. Should we do the same for other LES closures? |
why not, what should we warn against? Probably |
I personally don't really agree with the idea of having "hidden bugs" because of our personal theory about how a closure should work. So I would say this should work in 2D. Otherwise if someone wants to use this code to experiment with different formulations that actually do work in 2D, they will have a mountain to climb for no reason other than we are not friendly. |
We have historically been against trying to tell users our opinion about their physics. I don't think we should adopt a new policy now... |
At the moment, Lagrangian Smagorinsky does not work for 2D flows because nodes on flat topologies return
nothing
.It is a very easy correction to make it work.
However, I know that Lagrangian Smagorinsky is not really meant for 2D flows, so if we want to keep this incompatibility to prevent people from using it, it is also fine (I vote for correcting it anyways).
@tomchor please advise