-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'mark-petersen/ocean/barotropic-edge-thickness' (PR #5195)
Fix barotropic thickness on edge in split explicit subcycling Barotropic thickness at the edge must match the sum of baroclinic thicknesses at that edge. This PR corrects a long-standing problem of noise in the vertVelocityTop variable, which is the Eulerian (fixed-frame) velocity for momentum. The vertTransportVelocityTop variable for tracer and thickness transport was smooth, both before and after this change. Currently in the code, the thickness at an edge used for volume (SSH) transport in the barotropic subcycling is thicknessSum = sshEdge + min(bottomDepth(cell1), bottomDepth(cell2)) That is, the thickness at an edge is taken as the shallower of the two neighboring cells. This was inconsistent with the baroclinic mode, which takes the average thickness of the two neighboring cells. [CC]
- Loading branch information
Showing
1 changed file
with
37 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters