Quasi geostrophic model#

Model#

The two layer quasigeosthropic equations are as following:

(30)#\[\frac{\partial q_1}{\partial t} = -J(\psi _1,q_1) - \beta _1 \frac{\partial q_1}{\partial t} +ssd \]
(31)#\[\frac{\partial q_2}{\partial t} = -J(\psi _2,q_2) - \beta _2 \frac{\partial q_2}{\partial t} -r \nabla ^2 \psi_2 +ssd\]

In the Barotropic vorticity equation we used \(\zeta = \nabla ^2 \psi\) to relate the vorticity with the stream function. In the two layer QG model the vorticity can relate as:

(32)#\[q_1 = \nabla ^2 \psi _1 + F_1(\psi _2 - \psi _1)\]
(33)#\[q_2 = \nabla ^2 \psi _2 - F_2(\psi _2 - \psi _1)\]

Where \(F_1\) and \(F_2\) are defined as:

(34)#\[F_1 = \frac{1}{(\delta + 1)L_d^2}\]
(35)#\[F_1 = \frac{\delta}{(\delta + 1)L_d^2}\]

Where \(L_d\) is set as the Rossby radius deformation. In order to solve equations (30) and (31) we need to invert expressions (32) and (33). This can be accomplished by seeing this system as a 2x2 matrix, which can be invertible.

(36)#\[\begin{split}\begin{gather} \begin{bmatrix} q_{1} \\ q_{2} \end{bmatrix} = \begin{bmatrix} \nabla ^2 \psi _1 & F_1(\psi _2 - \psi _1) \\ \nabla ^2 \psi _2 & F_2(\psi _1 - \psi _2) \end{bmatrix} \end{gather}\end{split}\]

As in the Barotropic vorticity equation, we can take advantage of the fourier transform, and set the equations in a fourier space, with this the system (36) yields as following:

(37)#\[\begin{split}\begin{gather} \begin{bmatrix} \hat{q_{1}} \\ \hat{q_{2}} \end{bmatrix} = \begin{bmatrix} -(k^2 + F_1) & F_1 \\ F_2 & -(k^2 + F_2) \end{bmatrix} \begin{bmatrix} \hat{\psi _1} \\ \hat{\psi _2} \end{bmatrix} \end{gather}\end{split}\]

From the system (37) we can invert it by taking the determinant. With this we are able to update continuisly both streamfunctions. As always, in order to solve this equations we need initial conditions for our vorticity, with this we are able to obtain the streamfunctions to later on evolve in time the potential vorticity.

(38)#\[\begin{split}\begin{gather} \begin{bmatrix} \hat{\psi _1} \\ \hat{\psi _2} \end{bmatrix} = \frac{1}{det} \begin{bmatrix} -(k^2 + F_2) & -F_1 \\ -F_2 & -(k^2 + F_1) \end{bmatrix} \begin{bmatrix} \hat{q_{1}} \\ \hat{q_{2}} \end{bmatrix} \end{gather}\end{split}\]

Where the \(det=k^2(k^2 +F_1 + F_2)\).

Later on we use third-order Adams-Bashforth numerical scheme in order to time step forwards in time as following:

(39)#\[\hat{q_{i}}^{n+3}= f \times [\hat{q_{i}}^{n+2} + \frac{dt}{12}(23 \hat{q_{i}}^{n+2} - 16 \hat{q_{i}}^{n+1} + 5 \hat{q_{i}}^{n})], i=1,2\]

It is important to clarify that in the firts step we use a first-order Adams-Bashforth scheme or more knows as a forward Euler. In the second step a second-order scheme is used.

At last the small scale dissipation is obtain by using a exponential cutoff filter:

(40)#\[\begin{split}f= e^{-18.4(K - k_c)^4} & \text{if } K > K_c\\ f= 1 & K < K_c\end{split}\]

where \(K=\sqrt{(k^2 \Delta x)^2 + (l \Delta y)^2}\) is non-dimensional wavenumber and \(k_c\) refers to the wavenumber cutoff.