-
Notifications
You must be signed in to change notification settings - Fork 32
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
Improvements in TwoDNavierStokes #174
Conversation
…ierFlows/GeophysicalFlows.jl into ncc/better-twodnavierstokes
Ready for review! 🎉 |
end | ||
|
||
function test_twodnavierstokes_energyenstrophy(dev::Device=CPU()) | ||
nx, Lx = 128, 2π | ||
ny, Ly = 128, 3π | ||
ny, Ly = 126, 3π |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had not noticed there was a test using an anisotropic domain and grid spacing, particularly since all of the examples use nx=ny and dx=dy. Are anisotropic grids supported across all the modules?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, your compression of the dissipation function looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had not noticed there was a test using an anisotropic domain and grid spacing, particularly since all of the examples use nx=ny and dx=dy. Are anisotropic grids supported across all the modules?
Yes!
This PR:
@docs
refs in the Docs/TwoDNavierStokes module pageenergy_dissipation
andenergy_drag
and also the corresponding diagnostics forenstrophy
This PR introduces breaking changed and should come with the minor release.