Replies: 4 comments 13 replies
-
Thanks for pointing this out. I'll try to think though and get back to you! |
Beta Was this translation helpful? Give feedback.
-
I wanted to revisit the MultiLayerQG docs to add a derivation from the continuous QG equations to the discrete, layered version. I'll try to do that and in the process think about the denominators of g'. :) |
Beta Was this translation helpful? Give feedback.
-
For further clarification of this possible issue, I have made a couple of plots. Both plots can be reproduced using my script found in a branch of this repo that I made for this issue. Reduced gravity is defined here in GeophysicalFlows.jl/src/multilayerqg.jl Line 355 in f8fd4b4 In the plots "original g'" refers to the current definition used by GeophysicalFlows.jl (and pyqg; shown above) and "constant The first plot compares results comparing use of the two definitions of reduced gravity under scrutiny, when using low absolute values of density (i.e., The second plot compares results using One further point is that layer-wise conservation of volume is already an assumption in QG models that uses the Boussinesq approximation (pointed out to me by Stephen Griffies). From these results it is suggested that (a) the denominator in the definition of reduced gravity be changed to a constant reference density, (b) the Phillips BCI example's density values should be changed to Happy to discuss any of this further! |
Beta Was this translation helpful? Give feedback.
-
Hi all, Ryan Du here, another PhD student of Shafer's at NYU. Matt (@mpudig) and I realized this issue as well. And indeed as @mjclobo points out, pyqg does the same thing. We opened an issue about this in pyqg a while back (pyqg/issues/325). I also think the choice is problematic. With the simplest constant stratification case (which includes Eady), the stretching matrix is not the discretization of dz(dz()), which should be symmetric away from boundary conditions. Vallis 17 has derivations of multi-layer QG on p.185 with the definition of |
Beta Was this translation helpful? Give feedback.
-
With the current definition of reduced gravity in the multi-layer QG model it isn't possible to produce a pure Eady instability. Namely, even with constant stratification, constant vertical shear of horizontal velocity, and zero beta there will still be an interior PV gradient.
This is because the stretching matrix's interior rows won't be symmetric about the center. I.e., using the notation from the documentation, in a pure Eady case we should have$F_{j-1/2,k} = F_{j+1/2,k}$ for rows $k=2,..,n-1$ , because we should have $g_{j-1/2}' = g_{j+1/2}'$ .
But we don't have equal reduced gravities since their denominators will be different! This leads to an interior PV gradient.
To me this seems problematic if one was interested in, for example, the vertical structure of idealized instabilities.
Is this a common convention in QG models? If so, what are the reasons for defining reduced gravity this way? I noticed that pyqg does the same thing as GeophysicalFlows.jl. Though Vallis, 2017, uses the surface value of density in the denominator of his definition of reduced gravity for a QG model.
Thanks for your time, and thanks so much for this amazing model! I've learned so much just by digging through the code, and hope to use a version of the model for some of my PhD research :)
Beta Was this translation helpful? Give feedback.
All reactions