-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conceptual bug in Redi slope triad calculation #113
Comments
pinging @mark-petersen in particular for thoughts. |
also noting that the Griffies 1998 paper on this does say 'isoneutral diffusion in z-coordinate models', so I think for z* we need an alteration and for PBCs too I think |
I'm not sure about this. I called the variable |
I don't quite understand what you are saying. My thinking is the slope needs to be in z-space and now it is in model coordinate space (or middle of the cell space). The diffusion should be along the isopycnal and I think you'd want the horizontal derivative to be on a fixed z not between model levels. I guess a simple test would be to modify the parabolic bowl to have large horizontal variations in thickness with steep isopycnals and see if the diffusion remains isopycnal |
@vanroekel I thought more about this, and I agree with your code alteration. I was tripped up by your wording previously. You said
I thought you meant that
OK, so let's start at the beginning. Let's call
Looking back at the Griffies et al. 1998 paper, our The Griffies paper only considers a z-level model, as those were the models they were writing for at the time (MOM and POP). Note that the term |
Thanks @mark-petersen I see the confusion now. Sorry for that. I think we are fully on the same page. In thinking about this, the one place I think it might matter most is near ice shelf cavities. Let me put the proposed changes into master and do a G-case with and without the changes as a first step. |
Currently the slope triad computations (the critical ingredient of the redi parameterization) are defined to do horizontal gradients in model index space, see here
https://github.com/E3SM-Project/E3SM/blob/master/components/mpas-ocean/src/shared/mpas_ocn_gm.F#L304-L322
Given this quantity should be the isopycnal slope in physical space, I believe we need to redefine
as
where dTdz and dzdx would be edge based quantities (similar to how the PGF zmid is calculated). Through much of the global ocean this won't matter, but will matter near bathymetry and at the ice cavity transition. A similar change is needed for salinity (dSdx) I think.
The text was updated successfully, but these errors were encountered: