forked from mom-ocean/MOM6
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, F_max was calculated based on the sign of F_bulk, F_layer and phi_*, as follows: F_max = 0.25 * (area_R*(phi_R(k)*h_R(k))) or F_max = 0.25 * (area_L*(phi_L(k)*h_L(k))), This is only based on the concentration at the donor cell and can be problematic (i.e., create new extrema). In addition, this limitor was not being applied in the layer by layer method. This commit adds the following limitor to both methods: F_max = -0.2 * ((area_R*(phi_R(k)*h_R(k)))-(area_L*(phi_L(k)*h_R(k)))) In this case, F_max is based on the tracer *gradient* and, therefore, should not create new extrema. The 0.2 comes from the following: Imagine you have a tracer extrema in the center of the domain at time = 0: t=0 0 0 1 0 0 If diffusion acts on this tracer in all directions (EWNS), the final result should look like the following: t=inf .2 .2.2.2 .2
- Loading branch information
1 parent
248a87c
commit 0525a4c
Showing
1 changed file
with
75 additions
and
35 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