-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi!
I have been interested in computing the conserved velocity when moving from a curvilinear grid like a Tripolar grid to a rectilinear/lat-lon grid in Oceananigans.jl.
I think the correct approach would be to identify the intersection faces of the source grid that lie within the destination grid cell. We could then integrate u and v on these face to get a net u_transport_src and v_transport_src. We then rotate these two components to be orthogonal to the destination grid and compute the new u_transport_dst and v_transport_dst there. Finally, we divide by the destination grid cell face area to get u_dst and v_dst.
The key issue here is identifying the intersection faces to integrate over, particularly as most are partial grid cell faces. I think I have an idea that I can add to the Oceananigans extension.