Wet point Coriolis scheme and bugfix in GM tapering#2729
Wet point Coriolis scheme and bugfix in GM tapering#2729simone-silvestri merged 30 commits intomainfrom
Conversation
|
This is interesting. I like the concept of reusing the Another possibility is to add another kwarg. |
Co-authored-by: Gregory L. Wagner <[email protected]>
|
Yes, I think we should probably put the high-order reconstructions in |
|
We can also do |
| # curvilinear grids). | ||
|
|
||
| using Oceananigans.Advection: AbstractAdvectionScheme, _left_biased_interpolate_yᵃᶜᵃ, _right_biased_interpolate_xᶜᵃᵃ | ||
| using Oceananigans.Advection: |
There was a problem hiding this comment.
Just curious: why put this in a separate file rather than adding to hydrostatic_spherical_coriolis.jl?
When we give an advection scheme to |
|
The advection-like Coriolis scheme was a non-sequitur because On the other hand, upwinding The only thing I can think to increase the order of velocity interpolation in the Coriolis force is to use a centered high-order scheme to interpolate velocity, but that would not help with the noise since a centered scheme is dispersive in nature. I converted this PR to implement a A comparison of the output of this scheme in a global 1 degree setup will follow |
|
additionally a very small but significant bug has been corrected in the GM tapering, where, if we had This is very rare occasion but it was happening with some particular initial conditions |
|
Comparison with the default |
...urbulenceClosures/turbulence_closure_implementations/isopycnal_skew_symmetric_diffusivity.jl
Outdated
Show resolved
Hide resolved
glwagner
left a comment
There was a problem hiding this comment.
Great work. Just a doc string and minor clean up needed.
| slope_y = - by / bz | ||
| slope² = ifelse(bz < 0, zero(grid), slope_x^2 + slope_y^2) | ||
|
|
||
| # in case of an |
There was a problem hiding this comment.
of a stable buoyancy gradient (bz > 0), the slope is set to zero
is this right though? should we taper the slope of the diffusivity?
There was a problem hiding this comment.
sorry the slope or the diffusivity?
|
Also perhaps merge main because I think 0.77.3 is the current version. |

A Simple preliminary way to use our advection reconstruction stencils to do high-order Coriolis reconstruction
this PR is here just to test the idea, but the design will probably change