tomchor / Oceanostics.jl

Diagnostics for Oceananigans
https://tomchor.github.io/Oceanostics.jl/
MIT License
24 stars 8 forks source link

Implements `RichardsonNumber` that respects gravity direction when domain is rotated #98

Closed tomchor closed 1 year ago

tomchor commented 1 year ago

The previous version of the Richardson number was just a simple abstract operation. The new version is a KernelFunctionOperation that finds out what is the direction of the true gravity (through model.buoyancy) and calculates the richardson number accordingly. Useful for rotated domains.