๐ Recipes and tools for Tools for constructing Oceananigans grids that represent orthogonal meshes of thin spherical shells, which prove particularly useful for ocean simulations.
OrthogonalSphericalShellGrids includes tools for generating spherical shell grids for ocean simulations with Oceananigans.
OrthogonalSphericalShellGrids is developed by the Climate Modeling Alliance.
OrthogonalSphericalShellGrids is a registered Julia package. So to install it,
-
Launch Julia and type
julia> using Pkg
julia> Pkg.add("OrthogonalSphericalShellGrids")
The example examples/visualize_tripolar_grid.jl
generates a visualization of the TripolarGrid
(generated by a series of cofocal ellipses perpendicular to a family of hyperbolae),
producing
A tripolar grid. The North pole singularity (left) has been "healed" by having two poles at 60 degrees latitude. The South pole (right) retained its singularity. This grid is particularly useful in ocean modeling so that we avoid having to deal with numerical issues arising from the North pole singularity within the Arctic ocean.