Hostname: page-component-7b7567c8c-tnzcf Total loading time: 0 Render date: 2026-11-14T22:21:34.226Z Has data issue: false hasContentIssue false

Grid-based calculation of the Lagrangian mean

Published online by Cambridge University Press:  08 April 2022

Hossein A. Kafiabad*
Affiliation:
School of Mathematics and Maxwell Institute for Mathematical Sciences, University of Edinburgh, Edinburgh EH9 3FD, UK
*
†Email address for correspondence: h.kafiabad@ed.ac.uk

Abstract

Lagrangian averaging has been shown to be more effective than the Eulerian mean in separating waves from slow dynamics in two time scale flows. It also appears in many reduced models that capture the wave feedback on the slow flow. Its calculation, however, requires tracking particles in time, which imposes several difficulties in grid-based numerical simulations or estimation from fixed-point measurements. To circumvent these difficulties, we propose a grid-based iterative method to calculate the Lagrangian mean without tracking particles in time, which also reduces computation, memory footprint and communication between processors in parallelised numerical models. To assess the accuracy of this method several examples are examined and discussed. We also explore an application of this method in the context of shallow-water equations by quantifying the validity of wave-averaged geostrophic balance – a modified form of geostrophic balance accounting for the effect of strong waves on slow dynamics.

Information

Type
JFM Papers
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Figure 1.Schematic view of particle trajectories that pass through the grid points $\boldsymbol {X}_i$, $\boldsymbol {X}_j$, $\boldsymbol {X}_p$ and $\boldsymbol {X}_l$ that are marked by black. The trajectories that reach these grid points at $t_k$ are marked in blue and the trajectory that reaches the grid point at $t_{k+1}$ in red. For $\boldsymbol {X}_i$, the times associated with the particle position of red and blue trajectories are shown as well.

Figure 1

Figure 2.(a) The LM velocity of (3.1a–c) calculated for $\epsilon = 0.06$ from $t=0$ to $t=2{\rm \pi} /3$ for $\Delta x = 4.2\times 10^{-3}$ and $\Delta t = 2.6\times 10^{-3}$ using: GBLA (with cubic interpolation) as a function of mean position (magenta); particle tracking as a function of mean position (black); particle tracking as a function of position at the middle of the averaging interval (blue); and particle tracking as a function of position at the end of the averaging interval (green). (b) The error norm $\Vert e \Vert$ of the GBLA scheme using linear interpolation (black dots) and cubic interpolation (red dots). The slope of blue guide line is 1 and that of red line is 2.

Figure 2

Figure 3.The LM velocity of (3.1a–c) over the period of $2{\rm \pi} /3$, calculated for $\epsilon = 0.15$ at different times using: GBLA in terms of mean position (magenta) and particle tracking in terms of position at the middle of the averaging interval (blue).

Figure 3

Figure 4.Instantaneous and LM vorticity field for two like-signed vortices. Panels (a–e) correspond to fields at $t=10$ and ( f–j) to $t=30$. (a, f) Instantaneous vorticity; (b,g) GBLA using linear interpolation and (2.7); (c,h) GBLA using cubic interpolation and (2.7); (d,i) GBLA using cubic interpolation and (2.8); (c,h) LM by particle tracking and using cubic interpolation.

Figure 4

Figure 5.(a) Global error using different spatial resolution. (b) Global error using different averaging time steps. Error norm is calculated for different schemes namely: GBLA with linear interpolation and using (2.7) (red dots); GBLA with cubic interpolation and using (2.7) (black squares); particle tracking with cubic interpolation (blue circles); and GBLA with linear interpolation and using (2.8) (magenta triangles). The blue dashed lines have the slope of 1, and the black line has the slope of 2.

Figure 5

Figure 6.(a) The potential vorticity (PV) at the end of the averaging interval $t=120$. (b) The PV at $t=0$. (c) The LM PV from $t=0$ to $t=120$ using GBLA with a cubic interpolation scheme. (d) Absolute value of the difference between (a,c). Panels (a–c) share the same colour bar, which is different from that of panel (d).

Figure 6

Figure 7.Stokes terms computed by GBLA (a–c) and from analytical expression in (3.12a,b) (d–f): (a,d) $\overline {u}^{ {\hspace {0.5mm}\small S}}$; (b,e) $\overline {v}^{ {\hspace {0.5mm}\small S}}$; (c, f) $\overline {h}^{ {\hspace {0.5mm}\small S}}$. The averaging interval is set to $2{\rm \pi} /\omega$.

Figure 7

Figure 8.The vectors of Lagrangian- and Eulerian-mean Coriolis forces and height gradients (scaled by $g$) using GBLA: black arrows, $\boldsymbol {f} \times \overline {\boldsymbol {u}}^{{\hspace {0.5mm}\small L}}$ (a) and $\boldsymbol {f} \times \bar {\boldsymbol {u}}$ (b); Magenta arrows, $g \overline {\boldsymbol {\nabla } h}^{{\hspace {0.5mm}\small L}}$ (a) and $g {\boldsymbol {\nabla } \bar {h}}$ (b). The background colour shows $\boldsymbol {\nabla } \times \overline {\boldsymbol {u}}^{{\hspace {0.5mm}\small L}}$ (a) and $\boldsymbol {\nabla } \times \bar {\boldsymbol {u}}$ (b). Only a part of resolved domain is shown.

Figure 8

Figure 9.The profiles of different components of Coriolis force and (scaled) height gradient at $y=0$. All the quantities in (a) are Lagrangian averaged, and in (b) Eulerian averaged.

Figure 9

Figure 10.The scaled height gradient as a function of the Coriolis force after Lagrangian averaging (in red) and Eulerian averaging (in green). The black line is $y=x$, which represents the geostrophic balance. Every marker represents the mean values for a computation grid point in space: (a,b) $g=H=1$; (c,d) $g=H=6$; (e, f) $g=H=10$. All other parameters are kept the same as those in figures 8 and 9.

Figure 10

Figure 11.Similar figure to figure 8 for two opposite-sign vortices described in (4.11a–c). The entire computational domain is shown in this figure.

Figure 11

Figure 12.Similar figure to figure 9 for two opposite-sign vortices described in (4.11a–c).

Figure 12

Figure 13.Similar figure to figure 10 for two opposite-sign vortices described in (4.11a–c).