#360 implemented the ability of U(y) in SingleLayerQG module.
- If imposed zonal flow is constant ($U_0$) then term $- i k_x U_0$ is included in the L operator & the $U_0 \partial_x \eta$ term in N.
- If imposed zonal flow varies with y ($U(y)$) then all extra advection terms are added in N.
A potential improvement is that we should take any prescribed imposed zonal flow $U(y)$ and decompose it into its y-mean and deviation from that, e.g.,
$$ U(y) = U_0 + u(y)$$
with $\int u(y) \mathrm{d} y = 0 $. Then we add the $U_0$ via L (as 1 above) and the rest via N (as 2 above).
cc @mncrowe
#360 implemented the ability of
U(y)in SingleLayerQG module.A potential improvement is that we should take any prescribed imposed zonal flow$U(y)$ and decompose it into its y-mean and deviation from that, e.g.,
with$\int u(y) \mathrm{d} y = 0 $ . Then we add the $U_0$ via L (as 1 above) and the rest via N (as 2 above).
cc @mncrowe