New diagnostic and background flow functionality for SurfaceQG
module
#376
Labels
🤥 enhancement
New feature or request
SurfaceQG
module
#376
It would be useful to have the background flow functionality that we recently implemented in the 1-layer model included in the SQG model. I'll have a look at doing this when I get a chance.
Also, regarding diagnostics, I think there's three things we need; surface kinetic energy, buoyancy variance and domain integrated energy. The first two are already added but if the finite depth option gets added, some of the comments might need to be updated. The third isn't (I think) included currently but probably should be.
Let's define the Dirichlet-to-Neumann operator relating the streamfunction and buoyancy as:
where
We can now define our three diagnostics as:
up to mathematical errors. We can now conclude that the buoyancy variance and SKE are the same in the infinite depth case (up to a factor of 2) with both conserved (in the inviscid case). However, in the finite depth case they differ, with the SKE no longer conserved. Therefore I think the DE makes a better metric as it's always conserved so we should add this.
TLDR: I think we should add domain integrated (or averaged) energy to the
SurfaceQG
module. Happy to do this. We should also copy across the background flow functionality fromSingleLayerQG
.The text was updated successfully, but these errors were encountered: