-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
*Add new update_segment_tracer_reservoirs routine
- The OBC tracer reservoirs were being updated in MOM_tracer_advect - twice each! Update them separately after tracer advection. - The OBC tracer lengthscale was being cubed to get the volume. Change that to a lengthscale times the face area where the advection is happening. - Changes answers if the tracer lengthscales were not set to zero.
- Loading branch information
1 parent
9547fce
commit 5c97200
Showing
3 changed files
with
96 additions
and
90 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
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
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
5c97200
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe that some of the expressions in update_segment_tracer_reservoirs are dimensionally inconsistent. Specifically, the volume fluxes being passed in are in units of [L2 H ~> m3], not [L2 H T-1 ~> m3 s-1], so there should be no need to multiply any of these expressions by a timestep. @kshedstrom, would you be willing to try modifying the code to avoid the multiplication by the timestep on lines 4128, 4130, 4152, and 4154 of MOM_open_boundaries.F90, and see whether you are happy with the results and agree with my diagnosis?