the Creative Commons Attribution 4.0 License.
the Creative Commons Attribution 4.0 License.
Plume spreading test case for coastal ocean models
Vera Fofonova
Tuomas Kärnä
Knut Klingbeil
Alexey Androsov
Ivan Kuznetsov
Dmitry Sidorenko
Sergey Danilov
Hans Burchard
Karen Helen Wiltshire
We present a test case of river plume spreading to evaluate numerical methods used in coastal ocean modeling. It includes an estuary–shelf system whose dynamics combine nonlinear flow regimes with sharp frontal boundaries and linear regimes with crossshore geostrophic balance. This system is highly sensitive to physical or numerical dissipation and mixing. The main characteristics of the plume dynamics are predicted analytically but are difficult to reproduce numerically because of numerical mixing present in the models. Our test case reveals the level of numerical mixing as well as the ability of models to reproduce nonlinear processes and frontal zone dynamics. We document numerical solutions for the Thetis and FESOMC models on an unstructured triangular mesh, as well as ones for the GETM and FESOMC models on a quadrilateral mesh. We propose an analysis of simulated plume spreading which may be useful in more general studies of plume dynamics. The major result of our comparative study is that accuracy in reproducing the analytical solution depends less on the type of model discretization or computational grid than it does on the type of advection scheme.
 Article
(26826 KB)  Fulltext XML

Supplement
(1610 KB)  BibTeX
 EndNote
Rivers supply coastal areas with fresh water and both organic and inorganic materials. The correct representation of river mouth dynamics and plume spreading in a numerical coastal ocean model is a prerequisite for accurate simulation of biogeochemical water content and ecosystem dynamics. If we consider river plumes to be zones under freshwater influence beginning from the source of fresh water, we would naturally embrace a wide range of processes with different spatial and temporal scales. They would include (but not be limited to) geostrophic currents, frontal processes, and a wide range of mixing processes induced by river momentum, stratified shear, wind, and tidal forcing. The expression of these processes as well as river plume behavior in general depends heavily on local topography at the river mouth, bathymetry detail, discharge characteristics (such as the induced density gradient and discharge rate), and the local Coriolis parameter. These parameters are usually the basis for predicting plume behavior and plume classifications (e.g., Whitehead, 1985; Garvine, 1995, 1987; Yankovsky and Chapman, 1997; Avicola and Huq, 2002, 2003; Chant, 2011; HornerDevine et al., 2015).
The prototypical plume structure (e.g., HornerDevine et al., 2015) assumes the presence of a source zone (where initial buoyancy and momentum fluxes are introduced), a nearfield, a bulge area, and a coastal current (Fig. 1). These areas are differentiated based on the processes which dominate the momentum balance. However, these zones are not mutually independent and should be treated as an interconnected system. Local conditions can prevent the representation of one or another of these plume structural elements (e.g., Garvine, 1984; Yankovsky and Chapman, 1997; Hetland, 2005; HornerDevine et al., 2015, 2009). Furthermore, buoyant plumes can be categorized separately either as bottomadvected, surfaceadvected, or intermediate (Yankovsky and Chapman, 1997). In this work we will only focus on surfaceadvected plumes; they are detached from the bottom and their dynamics are not influenced by nearbottom processes.
According to the review of the subject by HornerDevine et al. (2015), the nearfield zone is a jetlike zone encompassing the mouth area, where river momentum predominates over buoyancy. The socalled “liftoff” region for surfaceadvected plumes can typically be found here; across this region, river water loses contact with the bottom, and the interface rises rapidly seaward. The dynamics of the nearfield zone suggest intense mixing.
The bulge zone (or midfield zone) is the area where Earth's rotation begins to predominate, turning the plume downcoast (anticyclonically in the Northern Hemisphere) and creating a gyre. The bulge zone is pronounced in surfaceadvected plumes if river mouths are relatively narrow compared to the Rossby deformation radius and if large mixing sources and ambient currents are absent (e.g., HornerDevine et al., 2015, 2009; Yankovsky and Chapman, 1997; Garvine, 1995; Avicola and Huq, 2003; Huq, 2009).
Near the coast one portion of the bulge water returns to the gyre, while another transforms into the coastal current. This bifurcation area is characterized by predominance of the nonlinear terms in the momentum balance, with a small effect of the horizontal pressure gradient (e.g., Beardsley et al., 1985; Garvine, 1987). The proportion of water returning to the gyre or transforming into the coastal current and the position of the bifurcation area depend on the water flow characteristic angle in the near and midfield areas (e.g., Garvine, 1987; Avicola and Huq, 2003; HornerDevine et al., 2006; Whitehead, 1985). It should be noted that after a (typically short) time interval of one to two inertial periods from the beginning of the plume history, the gyre enters a gradient–wind balance despite continuing to dilate (Nof and Pichevin, 2001; HornerDevine et al., 2015, 2009).
A coastal current is a feature typical of all plumes (surface and bottomadvected as well as intermediate); it represents a buoyancydriven current in the presence of the Earth's rotation. Being in nearly geostrophic balance, it stays adjacent to the coast and propagates to the right in the Northern Hemisphere.
Despite the fact that plume behavior has been simulated, observed, and reproduced in the laboratory in many configurations (e.g., Whitehead, 1985; Garvine, 1987, 1995; Yankovsky and Chapman, 1997; Fong and Geyer, 2002; Avicola and Huq, 2003; Huq, 2009; de Boer et al., 2009; Liu et al., 2009; Hetland, 2005, 2010; HornerDevine et al., 2015, 2006; Kärnä, 2020; Chawla et al., 2008; Jiang and Xia, 2016; Fischer et al., 2009; Vallaeys et al., 2018; Beardsley and Hart, 1978; Chen et al., 2009; Berdeal et al., 2002), the analysis of the requirements and limitations helping to reproduce plume behavior in a numerical model is still missing. In particular, spurious numerical mixing in circulation models can destroy stratification and frontal features, and it can significantly alter the plume dynamics. Spurious numerical mixing can be attributed to the advection schemes (e.g., Burchard and Rennau, 2008; Klingbeil et al., 2014), vertical grid (Griffies et al., 2000; Hofmeister et al., 2010, 2011; Gibson et al., 2017), discretization, or time stepping. Some idealized test cases allow diagnosing spurious mixing (see, e.g., Ilıcak et al., 2012). Also, the effect of numerical mixing on estuarine processes has been demonstrated in several studies (e.g., Kärnä and Baptista, 2016; Ralston et al., 2017; Burchard, 2020). However, the effect of spurious mixing on plume dynamics is still poorly understood.
We have therefore devised a test case that deals with a geometrically simple river–shelf system which has an analytical solution and is very sensitive to numerical and physical mixing. The existing extensive work on plume dynamics allowed us to predict both qualitatively and quantitatively how the plume would behave in the various zones depending on the initial parameters of the system. We have chosen a river channel oriented perpendicularly to the shelf to ensure that domain geometry is representable with both structured and unstructured meshes. We selected discharge parameters ensuring supercritical flow in the river mouth area. In this case long internal wave disturbances can travel only upstream. Adjusting the configuration further, which included the width of the estuary, discharge rate, density gradient, and Coriolis parameter, we created a system with a thin surfaceadvected plume comprising all the classical zones and characterized by a pronounced bulge (75 % of the river discharge should stay there). Despite the geometrical simplicity of the test case, the analytically predicted behavior of the plume is hard to reproduce numerically. The described bulge features and mouth dynamics with naturally meandering isopycnals are responsible for the sensitivity of the test case to any source of mixing – physical, numerical, vertical, or horizontal. This feature distinguishes the proposed test case from other simulations of natural plume systems, most of which are not as sensitive to numerical mixing. We introduced no additional mixing sources (such as wind or tidal forcing) into the proposed test case and used a zero eddy diffusivity coefficient to be able to compare the numerical results with the analytical solution and to have a transparent diagnostic of numerical mixing.
We describe a set of simple and efficient diagnostics of numerical diffusive transport intended to test the performance of tracer advection schemes, limiters, time stepping, and diffusive filters. The article provides some new insights into plume dynamics. In particular, the theoretical prediction of the plume behavior is derived, explained, and analyzed. The test case has been designed to highlight the effects of numerical diffusion on plume dynamics. Due to availability of the reference solution and spatial design, it can serve multiple purposes: to diagnose how well the numerical solution reproduces the complex multiscale dynamics of the plume formation and spreading, to test stability and quality of tracer advection schemes (with and without limiters), to determine the level of numerical mixing in simulated flows, and to gauge freshwater mass conservation.
Highorder advection schemes (with various limiters) are currently being implemented in coastal models. They are more accurate but also more resourceintensive. It is crucial to understand their limits as well as where and how they can be applied successfully in practice, and the proposed test case is well suited for that. Its advantages include simple preparation and setup, simple output analysis, short simulation periods, and straightforward interpretation of why plume behavior can deviate from the analytical solution. Model users wishing to apply models to explore baroclinically dominated flows may also find it useful because it immediately reveals possible gaps in the dynamics under a given set of parameters and limiters, and it gives a sense of the fidelity of the model.
The article is organized as follows. Section 2 describes the modeling setup including information about basic parameters and notation. In Sect. 3, an analytical solution for the test case is presented. The numerical results are presented in Sect. 5, followed by a discussion and conclusions. Appendix A contains information and analysis of additional runs. Appendix B summarizes the test case configuration for reproducibility purposes.
The test case simulates a surfaceadvected plume with nontrivial nearshore dynamics and all four prototypical zones (Fig. 1). To be able to compare the simulated behavior with the analytical solution the eddy diffusivity coefficient is set to zero. There is no forcing except for river discharge. The integration domain is closed except for the river. The system can be considered a twolayer one for analytical consideration.
The comparison with the analytical solution is focused on the position of the liftoff zone, bulge characteristics at a given time (offshore spread – the width of the bulge, and alongshore diameter – the length of the bulge), the depth of the coastal current, its crossfront width, and velocity. The details of required output are summarized in the last section of the paper.
2.1 The basic notation and parameters
The basic notation and parameters of the test case are presented below. The parameters for the additional set of experiments used in discussion (Sect. 6) are given in brackets.
W=0.5 km is the width of the mouth, h_{0}=10 m is the inflow depth, Q_{r}=3000 (3900) m^{3} s^{−1} is the river discharge rate, $f=\mathrm{1.2}\times {\mathrm{10}}^{\mathrm{4}}$ s^{−1} is the Coriolis parameter, h_{b} is the averaged thickness of the layer occupied by the plume (buoyancy layer) on the shelf, H is the full depth, u_{0}≅0.6(0.78) m s^{−1} (${Q}_{\mathrm{r}}/\left(W{h}_{\mathrm{0}}\right)$) is the river velocity in the channel in a steady regime, u_{b} is the averaged velocity of the layer occupied by the plume, ρ_{r}=1000.65 kg m^{−3} is the density of river water, ρ_{0}=1023.66 kg m^{−3} is the ambient and/or shelf water density, ${g}^{\prime}=g\frac{{\mathit{\rho}}_{\mathrm{a}}{\mathit{\rho}}_{\mathrm{0}}}{{\mathit{\rho}}_{\mathrm{a}}}\approx \mathrm{0.225}$ m s^{−2} is the reduced gravity, ${c}_{\mathrm{0}}=\sqrt{{g}^{\prime}{h}_{\mathrm{0}}}\approx \mathrm{1.5}$ m s^{−1} is the reference phase speed, ${r}_{\mathrm{0}}=\frac{{c}_{\mathrm{0}}}{f}=\mathrm{12.5}$ km is the inflow Rossby radius, ${c}_{\mathrm{b}}=\sqrt{{g}^{\prime}{h}_{\mathrm{b}}}$ is the internal gravity wave speed, ${r}_{\mathrm{b}}=\frac{{c}_{\mathrm{b}}}{f}$ is the internal Rossby radius, ${L}_{\mathrm{0}}=\frac{{u}_{\mathrm{0}}}{f}=\mathrm{5}$ (6.5) km is the inertial radius, ${L}_{\mathrm{b}}=\sqrt[\mathrm{4}]{\frac{\mathrm{2}{Q}_{\mathrm{r}}{g}^{\prime}}{{f}^{\mathrm{3}}}}\approx \mathrm{5.28}$ (5.65) km is the internal Rossby radius for the bulge based on the geostrophic depth, ${\mathit{Fr}}_{\mathrm{0}}=\frac{{u}_{\mathrm{0}}}{{c}_{\mathrm{0}}}=\mathrm{0.4}$ (0.52) is the initial Froude number, and ${T}_{\mathrm{0}}=\frac{\mathrm{2}\mathit{\pi}}{f}=\mathrm{14.54}$ h is the inertial (rotational) period.
2.2 Setup description
We consider a steady flow of fresh water through a narrow channel into a wide, uniformly sloping shelf with relatively dense and initially motionless water. The straight river channel is 10 km long and 0.5 km wide. The shelf zone occupies a rectangular domain 700 km × 500 km (Fig. 1). The river channel divides the shelf coastal line into fragments of 300 and 400 km to the west and east, respectively. The water depth in the channel is 10 m; on the shelf, it increases linearly from 10 m at the coast to 30 m offshore, forming a slope of 0.003; further offshore the depth stays constant at 30 m. The river discharge is set to 3000 m^{3} s^{−1}.
The river water is fresh with zero salinity. The shelf water has salinity 30 in practical scale (“practical scale” is omitted below). For the sake of simplicity, temperature is kept constant at 15 ^{∘}C. In the current work we use mostly monotonic advection schemes (ensured by limiters) and a linear equation of state:
The initial value of salinity in the river channel should be equal to river salinity. We increased the discharge linearly to the reference value of 3000 m^{3} s^{−1} during the first simulated hour to avoid an initial shock.
The offshore boundaries are impermeable to enable tracing the freshwater volume conservation. The Coriolis parameter is $\mathrm{1.2}\times {\mathrm{10}}^{\mathrm{4}}$ s^{−1}. The simulation time is limited to 35 h. In the presented simulations, bottom friction is deactivated. The eddy vertical viscosity is calculated based on a secondorder turbulence model (k−ϵ style), and the horizontal viscosity is set to zero.
We performed the simulations on triangular and quadrilateral meshes with variable resolution. The quadrilateral mesh is a bit coarser in the plume spreading area (Fig. 2). The triangular mesh consists of 76 524 triangles and 37 900 vertices. The quadrilateral mesh consists of 59 706 vertices and 59 122 cells.
The 3D reference grid has ${k}_{max}=\mathrm{40}$ sigma layers zoomed parabolically towards the surface at σ(0):
Note that the sign of the sigma depends on the code realization and how the z axis is directed.
Since our main intention is to learn about the effect of hidden mixing, the experiments mostly differ by the advection schemes and limiters used. Their description is presented in Table 1. The models, advection schemes, and limiters are described below in Sect. 2.3.
Discussion of the viscosity effect is largely based on the additional set of simulations with a constant vertical eddy viscosity coefficient equal to $\mathrm{2.5}\times {\mathrm{10}}^{\mathrm{4}}$ m^{2} s^{−1} and increased discharge equal to 3900 m^{3} s^{−1} (Table A1). (These simulations are not considered in Sect. 5, but only in Sect. 6.)
2.3 Circulation models
2.3.1 FESOMC
FESOMC is a coastal branch of the global Finite volumE Sea ice Ocean Model (FESOM2) (Danilov et al., 2017; Androsov et al., 2019; Fofonova et al., 2019; Kuznetsov et al., 2020). FESOMC solves 3D primitive equations in the Boussinesq, hydrostatic, and traditional approximations for the momentum, continuity, and density constituents, and it uses a terrainfollowing coordinate in the vertical. It has the cell vertex finitevolume discretization (quasiBgrid) and works on any configurations of triangular, quadrangular, or hybrid meshes (Danilov and Androsov, 2015; Androsov et al., 2019). The schemes to compute vertical eddy viscosity and diffusivity can be chosen via the coupled General Ocean Turbulence Model (Burchard et al., 1999).
The numerical scheme of FESOMC splits the fast and slow motions into barotropic and baroclinic subsystems (Lazure and Dumas, 2008). It uses an asynchronous time stepping, assuming that integration of temperature and salinity is halfstepshifted with respect to momentum.
Three schemes have been implemented in FESOMC for horizontal advection (Androsov et al., 2019): upwind, Miura (Miura, 2007), and MUSCLtype (van Leer, 1979). The first two are based on linear reconstruction and are secondorder in space and time. The linear reconstruction upwind scheme and the Miura scheme differ in the implementation of time stepping. The first needs the Adams–Bashforth method to be secondorder with respect to time. The scheme by Miura achieves this by approximately tracking the volumes advected through the faces of control volumes.
The third approach used in the model is based on the gradient reconstruction (MUSCLtype scheme). The idea of this approach is to estimate the tracer at control volume faces by a linear reconstruction using the combination of centered and upwind gradients. It represents a combination of the thirdorder and fourthorder fluxes in space in a fraction of 85 % and 15 %, respectively. The method is secondorder accurate in time.
The upwind advection scheme is used together with a thirdorder scheme in the vertical; the Miura and MUSCLtype schemes use a fourthorder vertical advection.
In all cases, momentum advection is treated with a secondorder upwind scheme.
In this paper, the tracer advection schemes are run in combination with the FCT (fluxcorrected transport) algorithm. We use three options to constrain the antidiffusive flux, which is added to the solution obtained with the positivitypreserving loworder scheme. In the fct1 option the admissible increments for each scalar point are sought over its horizontal neighbors and in the clusters above and below them, which leaves wide bounds because vertical gradients are typically larger. The fct2 option is similar to the fct1 except for the search of vertical bounds, which is done locally (tracer values above and below). In the fct3 option the vertical bounds are taken into account only if they are narrower than the horizontal ones. In all options the admissible increments are computed with respect to the combination of the loworder solution and the solution at the previous time step.
2.3.2 Thetis
Thetis is a 3D hydrostatic circulation model based on discontinuous Galerkin (DG) finiteelement formulation (Kärnä et al., 2018; Kärnä, 2020). Thetis uses an unstructured triangular or quad mesh in the horizontal direction and an extruded prismatic 3D mesh. All prognostic variables are discretized with linear discontinuous elements (${P}_{\mathrm{1}}^{\text{DG}}$); in 3D the elements are ${P}_{\mathrm{1}}^{\text{DG}}$ in both the horizontal and vertical direction. A secondorder strong stabilitypreserving (SSP) Runge–Kutta time integrator is used to march the equations in time. The 3D dynamics are treated explicitly except vertical diffusion, which is treated implicitly; a splitimplicit modesplitting technique is used to solve the free surface dynamics. The 3D mesh tracks the position of the free surface. Tracer advection is implemented with upwind fluxes at element interfaces. In addition, a geometric slope limiter (Kuzmin, 2010) is employed as a postprocess step to suppress overshoots: if the tracer value at a node exceeds the maximum mean value of the neighboring elements, it is marked as an overshoot. The tracer is then redistributed in the element until none of the nodes violate the extrema conditions or the element is fully mixed (i.e., all nodes have the same value). The geometric limiters and the SSP time integration method guarantees that the advection scheme is positive definite; i.e., no spurious overshoots are generated. The same advection scheme is applied to both tracers and momentum. The discretization of the Thetis dynamical core is described in Kärnä et al. (2018).
The Thetis solver is formally secondorder in space and time with the exception of vertical diffusion (firstorder in time) and areas where the slope limiter is active (reducing the scheme to firstorder). The slope limiters do impose some numerical diffusion on the solution, even in the case that tracer diffusion operators are omitted.
2.3.3 GETM
GETM is an opensource coastal ocean model (http://www.getm.eu, last access: 12 November 2021; Burchard and Bolding, 2002). It solves the Reynoldsaveraged Navier–Stokes equations under the Boussinesq approximation together with transport equations for temperature and salinity on a Cstaggered structured finitevolume grid. For the present study the nonhydrostatic option by Klingbeil and Burchard (2013) and the temperature equation are not activated. The numerics of GETM are similar to other coastal ocean models (Klingbeil et al., 2018). The free surface is integrated in a splitexplicit modesplitting procedure. For the present study the 3D time step of 60 s is split into 24 subcycles. In the vertical GETM supports adaptive terrainfollowing coordinates (Hofmeister et al., 2010; Gräwe et al., 2015), but for the present study fixed sigma coordinates according to Eq. (2) are used. Advection of momentum and tracers is carried out by directional splitting with TVD (total variation diminishing) schemes. In the current study the same scheme was used for the advection of both momentum and the tracer. In order to induce minimum numerical mixing (Klingbeil et al., 2014), in the present study the superbee limiter is applied, which is known by its antidiffusive (antiviscous) character, in combination with the secondorder advection scheme (spatially and temporally). Additionally, the HSIMT thirdorder TVD scheme (secondorder temporally) equipped with Sweby's limiter is applied (Wu and Zhu, 2010). If necessary, in individual water columns the vertical advection is automatically iterated to comply with the CFL (Courant–Friedrichs–Lewy) condition in very thin cells. The turbulent vertical viscosity is calculated by the turbulence module of GOTM (Burchard et al., 1999) in terms of stratification and shear provided by GETM.
In this section we summarize the qualitative and quantitative predictions of the plume behavior in the absence of diffusive processes and when they are present in the system (see the respective notes at the end of the subsections) during the first two inertial periods.
3.1 Mouth area and nearfield zone
The mouth area represents a control section for classical hydraulic channel flow (Gill, 1977). The narrow mouth causes rapid shoaling and seaward expansion of the pycnocline, as well as an acceleration of the upper fresh layer with a significant Froude number gradient, reaching supercritical conditions as fresh water comes out of the river channel. In effect this means that the entire disturbance is swept downstream. Shear increases at the base of an accelerating plume, resulting in very pronounced viscous effects. The presence of supercritical conditions causes a nearly fully inertial momentum balance (Garvine, 1987). The acceleration of the plume in the nearmouth area leads to a drop in surface pressure following the Bernoulli principle such that we expect a local drop in sea surface height relative to the channel (e.g., Hetland, 2010). In the limit of zero eddy diffusivity in the tracer equation, for the narrow river mouth and large discharge, the water exchange between the river channel and the shelf is very limited due to constraints imposed by hydraulic control, river momentum (e.g., Gill, 1977; Stommel and Farmer, 1953; Farmer and Armi, 1986; Hetland, 2010; Armi and Farmer, 1986), and the Knudsen (1900) relation.
The experiments with larger discharge – 3900 m^{3} s^{−1} – suppose that the interface in the mouth area between layers of different densities should reach the bottom (the fresh water should extend all the way to the bottom) given the absence of bottom friction and presence of relatively large river velocities (which are larger than the frontier velocities in the lockexchange experiment corresponding to the given pressure gradient). According to Armi and Farmer (1986) we have a case of intermediate barotropic flow (induced by river momentum) when the dense water stays motionless and does not penetrate through the constriction (in our case it is the mouth). Thus, we are expecting the area where the freshwater flow loses contact with the bottom and a plume actually forms to be situated directly in the mouth area (e.g., MacDonald and Geyer, 2005).
The experiments with a smaller discharge – 3000 m^{3} s^{−1} – suppose penetration of the dense water into the river channel only in the case when the large viscous effect initiated by the hydraulic jump is neglected at least partly (e.g., by prescribed upper bounds for the eddy vertical viscosity or only background viscosity in numerical solutions). In the inviscid theory of Armi and Farmer (1986) the barotropic force initiated by the river momentum in this case can be characterized as a transition between moderate to intermediate flow conditions, and penetration of the dense water into the river channel can take place. The viscous effects naturally block the dense water penetration into the river channel; however, numerical mixing may provoke it. Even in the absence of explicit diffusion operators there is some mixing in numerical simulations. Numerical mixing is largely attributed to the advection scheme and the limiters built into it. It can lead to dense water penetration into the river channel and the appearance of new salinity classes in the river channel. For any tracer c, the total (advective plus diffusive) tracer flux per unit area of a transect or isohaline can be defined as ${F}^{c}={u}_{\mathrm{n}}c{K}_{\mathrm{n}}{\partial}_{\mathrm{n}}c$, where u_{n} is the outgoing normal velocity, ∂_{n}c is the tracer gradient normal to the surface, and K_{n} is diffusivity in the direction normal to the surface. Let us take the mouth transect directly upstream from supercritical conditions. It is clear that the presence of a large enough numerical mixing can provoke dense water penetration into the river channel. The density intrusion in this case will have a hydraulically controlled, bluntfaced profile (e.g., Jirka and Arita, 1987). If we apply the equation written above to the isohaline of the freshwater layer and activate vertical eddy diffusivity, we will also get dense water penetrating into the system, with the hydraulic control setting the upper limit of exchange as well as a more complex interface (e.g., MacCready and Geyer, 2001). We will return to this topic in the Discussion section.
3.2 Bulge
Here we revisit the definition of a bulge according to the review by HornerDevine et al. (2015) as a continuation of the nearfield zone in which Earth’s rotation in the momentum balance begins to predominate, turning the plume to the right (in the Northern Hemisphere) and creating a gyre in thermal wind balance. Note that the nearfield zone, bulge, and coastal current have a very complex dynamic structure such that the consideration of various discharge characteristics is needed to clearly describe it. We prefer to avoid this by focusing on the resulting plume spreading characteristics: maximum offshore plume spreading position, internal bulge radius (nearshore radius), and the alongshore bulge length. Avicola and Huq (2003) showed that on average the bulge alongshore spread is longer than its offshore spread and that this ellipticity is constant through time and equal to ∼1.3. Thus, it suffices for us to locate the maximum of bulge offshore spreading and let the alongshore scale be a control point.
We know that when the channel is at a right angle to the coast the bulge grows continuously over time because its increasing size creates a balance between the momentum flux associated with the downstream current and the compensating Coriolis force associated with the migration of the gyre center away from the coast (e.g., Fong et al., 1997; Nof and Pichevin, 2001; HornerDevine et al., 2006, 2009). But the expansion of the bulge leads to radial and advective acceleration terms that are 2 orders of magnitude smaller than the terms of the gradient–wind balance. Accordingly, the gradient–wind balance is expected to apply even for a growing bulge as long as its radius is sufficiently large (HornerDevine et al., 2006, 2009). Recent studies have shown that the bulge offshore radius and displacement of bulge center from the wall (nearshore radius) can be respectively scaled with the internal Rossby radius (L_{0}) and inertial radius (L_{b}), both of which are constant over time (HornerDevine et al., 2009). In our case ${L}^{\ast}=\frac{{L}_{\mathrm{0}}}{{L}_{\mathrm{b}}}\approx \mathrm{1}$, so the river flow is one of the main factors pushing the bulge offshore (the anticyclonic circulation is nearly offshore radii), and the bulge is prone to instability (HornerDevine et al., 2009). Thus, the net shoredirected Coriolis force is small, the angle of incidence of the recirculating bulge flow that it makes with the coast is greater than 90^{∘} (flow directed back upstream) (Whitehead, 1985; HornerDevine et al., 2009), and the majority of the impinging fluid is directed back into the bulge. This feature largely makes the bulge size sensitive to any source of mixing in the model. The laboratory and theoretical studies mentioned above have found that the plume starts turning to the right in the Northern Hemisphere at approximately onefourth of the inertial period at a radius of about L_{0} and reaches thermal wind balance after one to two rotation periods.
To obtain an estimate for the offshore spreading of the bulge in the absence of diffusive processes, we revisit the equations provided by Yankovsky and Chapman (1997) and propose some modifications. We consider flow in the bulge to be in cyclostrophic balance as described by the following momentum equation:
where u_{c} is the azimuthal cyclostrophic velocity at the radial distance r from the anticyclone center, and h_{b} is the thickness of the buoyant layer.
Because of a purely surfaceadvected plume at the shelf, we assume no interaction of the plume with the bottom and a plume thickness of h_{b}, which changes little from the mouth area to the center of the anticyclonic bulge and gradually decreases to zero along the outer edge. This means that $\frac{\partial {h}_{\mathrm{b}}}{\partial r}$ is equal to zero along the streamline from the mouth to the anticyclonic center, and it can be expressed as $\frac{{h}_{\mathrm{c}}}{r}$ from the bulge center to its offshore edge, where h_{c} is the depth of the bulge center and r is the offshore radius of the bulge. Returning to Eq. (3) we get
To get u_{c}, the Bernoulli function for the buoyant layer (Gill, 1982) can be applied:
where u_{b} is the averaged velocity of the layer occupied by the plume. In the absence of diffusion B should be constant along the streamline. In Yankovsky and Chapman (1997), inflow is connected to the outer edge and h_{c}=h_{0} (h_{0} is the inflow depth). This poses two major problems: (i) h_{0} and h_{c} can be significantly different in a purely surfaceadvected plume, as (in our case) a liftoff point is situated immediately at the mouth or even upstream and is accomplished by the hydraulic jump in the mouth; and (ii) the bulge continuously grows over time.
As mentioned above, the gradient–wind balance is expected to apply even to a growing bulge as long as its radius is sufficiently large (HornerDevine et al., 2006, 2009). So (ii) can be addressed as follows: we determine the radius of the bulge when the plume forms even though at that point the coastal current is already in place and the bulge is in thermal wind balance. Our particular test case places no focus on a slow mode of bulge growth (as covered in Nof and Pichevin, 2001); our task is rather to obtain a shortterm prediction once the bulge has reached thermal wind balance. Point (i) can be addressed by introducing the socalled geostrophic depth, h_{g}, or the depth of the plume in the nearfield zone within critical conditions and taking into account the fact that the diffusive processes are absent in our consideration. It is well known that the inflow momentum is the most important factor defining the position of the bulge center (e.g., HornerDevine et al., 2006) and that the depth of the bulge center becomes proportional to the geostrophic depth as soon as the bulge attains thermal wind balance (e.g., Avicola and Huq, 2003; Yankovsky and Chapman, 1997). The equation for h_{g} above is based on consideration of a twolayer Margules front system that has a quiescent lower layer and an upper layer in thermal wind balance or in geostrophic crossshore momentum balance (valid for a coastal current; see below) with uniform vertical shear of the alongshore plume velocity. Then we assume that the entire buoyancy inflow transport (=Q_{r}) accumulates in the frontal zone (e.g., Yankovsky and Chapman, 1997; Fong and Geyer, 2002). Finally, we get
So, we can determine the properties of the bulge when the bulge center is located at this level. Naturally, it takes place only at the beginning of the plume evolution. The bulge continuously grows not only offshore, but also in depth; however, this is at a slower rate. The whole discharge accumulates in the bulge only for a very short period of time prior to the appearance of the coastal current. The front expands at approximately the surface gravity wave speed within the layer h_{g}, so we connect the outer edge to the following flow conditions.
This radius r in Eq. (9) represents an offshore radius of the bulge in our test case as soon as the gyre is in thermal wind balance and its center is about h_{g} thick. Based on the L^{∗} value calculated above, the nearshore radius should be close to the offshore radius. This can be expected after one to two rotational periods based on laboratory experiments and simple calculations from the internal Rossby radius, h_{g} or h_{c}, and associated surface gravity wave speed (e.g., Hetland and MacDonald, 2008; Wright and Coleman, 1971; Hetland, 2010). The predicted radius is consistent with laboratory experiments published by Avicola and Huq (2003) and HornerDevine et al. (2006) after approximately one to two rotational periods as soon as the gyre is in thermal wind balance. However, these experiments predict for such a radius (relatively to the Rossby radius) at least 1.5 times (HornerDevine et al., 2006) or even twice (Avicola and Huq, 2003) as much deepening at the center. HornerDevine et al. (2006) related their findings of a smaller central depth to different measurement techniques. Defining the bulge depth based on reference buoyancy (20 % of the inflow buoyancy) instead of the maximum vertical gradient, one obtains greater deepening. Deepening of the gyre center is a relatively slow process and is usually quasistationary after several rotational periods. Deepening at the center is largely attributed to mixing and dilution processes at the plume base, and the analytical solution does not consider the influence of diffusive processes. In our simulations we omit the physical diffusivity (eddy diffusivity is set to zero in the tracer equation) in order to reproduce the analytical estimations about the bulge offshore spreading. As for the position of the bulge center relative to the x axis, recirculation of the discharged water can take place only to the right of the river mouth. On the other hand, we have defined the bulge in such a way that a part of it is found to the left of the source. Baroclinic instability can also lead to rotated structures in the area of interest due to relatively fast radial (compared to vertical) bulge growth (e.g., Avicola and Huq, 2003). We are therefore not going to find the exact bulge center position by defining it only on the x axis as the site of maximum offshore spreading of the bulge.
Note that in our idealized conditions the bulge becomes nearly symmetrical and tends toward instability, which suggests a solution sensitive to mixing. Any additional diffusion in the bulge zone and/or nearfield zone will directly reduce the bulge external radius, displace its center, and change the angle at which the bulge characteristics impinge upon the coastal zone. A small isohaline area requires greater mixing than a large one to maintain the same freshwater discharge across the isohaline (Hetland, 2005; Burchard, 2020). So either the bulge tends to be less restricted offshore and in parallel deeper, and/or the bulge tends to be less restricted offshore together with a reduced discharge rate associated with the bulge (the bulge will be sliced off and the impingement angle will be changed).
3.3 Coastal current
In this subsection we are going to derive the coastal current characteristics, in particular the bounds for the coastal current depth near the wall, the bounds for the nearwall speed, and the coastal current offshore spread. Typically, the coastal current has a quasitriangular profile in the offshore cross section, so when we are talking about nearwall depth and speed we mean maximum depth and speed at each offshore cross section. Below we will omit “near the wall” for simplicity.
We can calculate the discharge attributed to the coastal current, Q_{cc}, based on the current bulge vorticity (e.g., Nof and Pichevin, 2001).
Based on the obtained Q_{cc} , we arrive at a minimum freshwater layer thickness to be expected for the coastal current.
Naturally, the geostrophic depth h_{g} calculated above gives us the maximum freshwater layer thickness, h_{max}, to be expected in the coastal current if the total discharge from the river goes to the coastal current for some reason. We already know that in our case a large portion of the fresh water stays in the bulge. However, when L^{∗} is large, the bulge may be unstable, separating from and reattaching to the wall and causing a pulsed flow of the coastal current (HornerDevine et al., 2006). Furthermore, when the coastal current forms, a different portion of the fresh water may go with it depending on the time moment. The geostrophic depth therefore provides a good estimate of the maximum depth of the layer influenced by the coastal current.
The coastal current propagates at a speed given by ${c}_{\mathrm{n}}=\sqrt{{g}^{\prime}\cdot h}$, and the propagation speed should therefore be between 0.45 (0.47) and 0.64 (0.67) m s^{−1} taking into consideration h_{min} and h_{max}, respectively. Based on these values we derive a local Rossby radius equal to 3.75 (3.9)–5.3 (5.6) km. We can expect the coastal current to occupy this width in the nose zone at the beginning of the plume history. Predicting the width of the coastal current in the upstream area between the source and the nose is not a trivial task (a problem already identified by Garvine, 1995). However, it is clear that the position of the bulge center should largely determine the coastal current maximum offshore width in the considered time frame. We already know that a nearshore radius of the bulge is about 12 km after one to two rotational periods, which is at about two internal Rossby radii. This result is in agreement with laboratory experiments (Avicola and Huq, 2003; HornerDevine et al., 2006) wherein the width may be up to two local Rossby radii after one to two rotational periods. To summarize, we can provide a relatively wide window for the expected coastal current offshore width; it can vary between 12 km near the source zone for both runs and 3.75 km (3.9 km) in the nose zone.
Note that in the presence of nonzero eddy diffusivity, we can expect a larger amount of the discharge to enter the coastal current because the bulge in the nondiffusive case is nearly symmetrical (in the sense of internal – near coast – and offshore radii) and reaches maximum offshore extension. Therefore, in principle, the coastal current discharge could be used as an indicator for numerical diffusivity. Such an approach is not used here, as it would require considering many rotational periods for a precise estimation.
The coastal current discharge rate and offshore spread as well as asymmetry or the characteristic impingement angle of the bulge can all be considered indirect measures of numerical mixing. However, each of these measures requires additional analysis and has some limitations.
We base our analysis on isohalines and salinity classes following the work by Hetland (2005), Wang et al. (2017), and Burchard (2020). Using the balance equation for salinity and the mass conservation law we obtain a budget equation for the salt content integrated over all salinities between the river salinity S_{r} and the salinity of the isohaline, S:
where f_{diff} is the diffusive salinity flux vector, and n is the outward normal unit vector, both located on the isohaline S. Neglecting physical diffusion and assuming zero river salinity (S_{r}=0), the diahaline flux is related to numerical mixing so that the numerically induced salinity discharge (total salinity transport) through the isohalines S can be calculated as
Note that numerical mixing may also include antidiffusive effects. For further analysis, we divide Eq. (14) by S, which gives the diahaline diffusive freshwater discharge or total freshwater transport across the isohaline (related to numerical mixing):
By dividing the discharges F^{s}(S) and F(S) by the isohaline area, A(S), the respective average diahaline fluxes and transport are obtained:
We further define the diahaline velocity as
and note that only under stationary conditions with ${F}^{s}\left(S\right)=S{Q}_{\mathrm{r}}$ are both w^{dia}(S) and f(S) identical.
For the analysis of the different models results, we will be using timeaveraged transports and fluxes:
where 〈⋅〉 denotes a time average.
For the diagnostics of numerical mixing presented above the salinity range is divided into isohaline classes, and the volume of each class is calculated. These volumes are useful diagnostics as soon as numerical mixing creates the volumes between the first and last salinity classes.
In describing the results, we focus primarily on the first two simulations from Table 1. The differences in the dynamics of these runs facilitate the interpretation of other runs. Additional simulations (see Table 1) have been conducted to illustrate the plume dynamics’ sensitivity to certain parameters. Runs 11, 12, and 13 are performed on a quadrilateral mesh with FESOMC and GETM; their performance is described at the end of this section. When comparing runs 11, 12, and 13 with the others, one should keep in mind that the resolutions of the rectangular and triangular grids are not identical (Fig. 2). The results of these runs are therefore presented separately despite the fact that they are discussed in the same frame.
Figure 3 and Table 2 contains information about the predicted characteristics of the plume's behavior. To summarize, we would expect the bulge's offshore spread to extend for no less than 24 km after two inertial periods accumulating about 75 % of the total freshwater runoff. We would expect its surface to be fresh, with the coastal current transporting only about 25 % of the total freshwater runoff. We stress that these characteristics are not independent, of course, and that if the surface of the plume is fresh, the offshore spread of the bulge can generally be treated as a final indicator of the model's performance.
Figure 3 compares the surface salinity, velocity, and elevation for runs 1 and 2 after one and two inertial periods, i.e., after 20 and 35 h. This figure illustrates that in both simulations, the plume starts turning right after onequarter of the rotational period at a distance of one inertial radius (∼5 km). In both simulations, the coastal current begins to form after one rotational period. But the differences between the way each simulation represents the bulge and the coastal current dynamics are nevertheless substantial, even after one and especially after two inertial periods. The main differences between the two runs are summarized in Table 2.
5.1 Mouth area and nearfield zone
In agreement with observational studies (e.g., Wright and Coleman, 1971; MacDonald and Geyer, 2004), river water leaves the narrow estuary and rapidly shoals over a distance of a few channel widths in both runs. The velocities in the shoaling zone reach initial surface gravity wave speeds of ∼1.5 m s^{−1} or more, which is as expected (e.g., Hetland and MacDonald, 2008; Wright and Coleman, 1971; Hetland, 2010). In both runs, the nearfield area is also characterized by supercritical conditions and a hydraulic jump (see Figs. 4 and 6).
In run 2, dense water penetrates into the river channel, showing a hydraulically controlled bluntfaced profile. We argue that the main reason for such a profile resides either in the fluxlimiting scheme (which should be most active in this area) or in a relatively lowerorder advection scheme. Indeed, the limiters are relatively diffusive horizontally in run 2 (compared to fct1 and fct2 options in FESOMC), and the run used a secondorder advection scheme. To confirm our assessment, we conducted run 4 with a more diffusive limiter definition, fct3 (see Sect. 2 for a description of the limiters), as well as run 5 with the secondorder advection scheme and a relatively low diffusive limiter option, fct1. Figure 5, which shows the results after two inertial periods, confirms that the simulation yields a bluntfaced intrusion profile in both sensitivity runs. Naturally, both the lowerorder advection scheme and the relatively diffusive limiters work toward a more diffusive solution. Interestingly, and as will be shown later, run 2 is characterized by small diahaline diffusivities (which indicates good performance) for the relatively higher salinities in the area of the hydraulic jump – compared to run 1 (Fig. 6) – despite the fact that the latter’s vertical advection scheme is of a higher order than that of run 2. Not only that, the surface salinity in run 2 is also slightly higher than it is in run 1 (Fig. 3).
Note that before the river flow reaches the mouth area during the initialization phase, both simulations take on an appearance typical of lockexchange dynamics experiments. (We initially fill the river channel with river water.) However, this picture vanishes when the river flux reaches the mouth.
We diagnose the internal hydraulics of the model runs by computing the Froude numbers of the plume layer (Fig. 6). The Froude number is computed as $\frac{{u}_{\mathrm{b}}}{\sqrt{{h}_{\mathrm{b}}\cdot {g}^{\prime}}}$ (where h_{b} is the plume layer thickness, u_{b} the mean velocity within this layer, and g^{′} the reduced gravity). The layer thickness is defined by the position of the maximum salinity gradient and maximum stress in runs 1–2 and 2, respectively. (The difference in definition is dictated by different discretization types.) But the plume layer border in both models still follows the isohaline with salinity ∼6.
The locations of the maximum Froude numbers differ between run 1 and run 2 (see Fig. 6). The difference can be traced to the velocity disturbances underneath the plume layer (Fig. 4), which are generated by the eddy vertical viscosity reacting to the shear stress at the nearsurface; the latter is induced by a hydraulic jump. A pronounced salinity finger also appears in the area directly downstream of where the maximum Froude numbers occur. In run 1, the largest velocities (more than initial surface gravity wave speed) are more localized, and the maximum Froude numbers are found directly downstream of the mouth area.
5.2 Bulge and coastal current
Once the bulge (in idealized conditions) becomes nearly symmetric and tends towards instability, it becomes sensitive to any source of mixing: horizontal or vertical, physical or numerical. Therefore, the use of different advection schemes and limiters as well as time stepping results in different dynamics.
The ratio between the length (alongshelf spread) and width (offshore spread) of the bulge, called ellipticity (Avicola and Huq, 2003), is another parameter that indicates the presence of numerical mixing in the system. Generally, numerical mixing tends to reduce the bulge's external radius due to a decreasing salinity gradient (horizontal, vertical, or both) in the nearfield or bulge zone and the resulting reduction in plumeassociated offshore velocities. Numerical mixing leads to a deepening of the bulge and/or to a changed angle of impingement such that the center of the bulge gets closer to the coast: the bulge ends up being sliced off by the coastal wall. Numerical mixing therefore tends to increase the ellipticity. It thus comes as no surprise that in all configurations, including run 1, the ratio is too large compared to the expected number (Table 2). Interestingly, the alongshore length of the bulge in runs 1 and 2 is nearly within the range of analytically predicted values. In run 2 as in all others for which a secondorder advection scheme and/or relatively diffusive limiters are used (i.e., runs 4, 5, 6, 10), the bulge is largely sliced off by the coastal wall. In run 1 (see Figs. 3 and 5), this effect is present to a smaller extent.
Further details of the bulge structure can be derived from the v component of its horizontal velocity. Figure 7 shows the surface v component against x position at a fixed y that equals the internal Rossby radius (∼5.3 km, based on geostrophic depth). Although the line of a fixed y does not cross the bulge center, its approximate x position can still be identified from Fig. 7. Compared to the other runs on a triangular grid, run 1 depicts the bulge’s largest spread leftward from the mouth area. Consequently, the leftward displacement of the bulge’s center is found there; it is also located further from the coastline than it is in run 2.
In run 2, the bulge is less symmetric as expressed by the internal and external offshore radius; consequently, the coastal current's freshwater discharge is nearly twice what it is in run 1. The position of the second cross section in Fig. 2 at the coastal current is quite far from the mouth area. Therefore, while the front of the coastal current in run 2 reaches the cross section after 20 h, in run 1 the only part of the coastal current extending that far after 20 h is the nose area. This explains the difference in the numbers that pertain to the coastal current at 20 and 35 h. On average, the coastal current in run 1 and run 2 respectively transports about 25 % and 40 % of the initial freshwater discharge during the time period under consideration.
The position of the front of the coastal current can also provide a qualitative estimate of the level of numerical diffusion. Numerical mixing tends to move the bulge center closer to the coast, and hence a larger portion of fresh water enters the coastal current. The position of the head of the coastal current, or the magnitude of its discharge (compared to the analytical solution), can be used to diagnose numerical diffusion in the system (Fig. 5). Note that numerical diffusion levels may be even higher if the same small offshore restriction of the bulge parallels a weakly developed coastal current. In such a case, the bulge and the coastal current are excessively thick (see, e.g., run 6, Fig. 5).
Among our triangular discretizations, runs 1 and 3 are characterized by a larger bulge with a fresh surface as well as a slower and wider coastal current that transports less fresh water than it does in other runs and is closest to the analytical solution. Run 3 has slightly different fctlimiting details (it uses the fct2 option; see Sect. 2 for the details). Also, in run 1 as well as some of the additional runs the velocity and elevation fields (see, e.g., Figs. 3 and 5) depict the presence of physical instability at the frontal zones. However, the elevation fields there also depict some noise in the areas adjacent to the plume boundaries (Fig. 3d). The reasons for this noise are the spurious inertial oscillations present on triangular meshes in FESOMC. Due to the absence of tracer diffusivity, specially designed filters (e.g., the biharmonic filter), and the expected low levels of numerical diffusion in run 1, such oscillations are not sufficiently damped there and are present in the simulated patterns.
5.3 Performance on rectangular grid
Here we consider runs 11, 12, and 13. Run 11 employs the same set of options as run 1 but is performed on a rectangular mesh (Table 1). As expected, on a rectangular mesh as in run 11, there are none of the inertial oscillations that appear on a triangular mesh due to the discretization type of FESOMC. Noise occurs only where the grid resolution becomes sharply coarse (see Figs. 2, 8b). The plume in run 11 spreads nearly to the same position as it does in run 1. Due to the coarser grid, the coastal current’s nose extends a bit further here than in run 1. The surface, which is occupied by the plume, is nearly fresh everywhere in run 11. And there is no penetration of dense water into the river channel (Fig. 8a, c).
Run 12, which is characterized by the antidiffusive limiter superbee, shows a generally smaller level of numerical mixing than the bulk of the runs presented on a triangular grid: the offshore spread of the bulge extends for 17 km; the surface layer occupied by the plume is generally fresh (Figs. 3, 5, 8). Both runs 11 and 12 simulate the ratios between alongshore and offshore spreads of the bulge, which are, relative to other runs anyway, close to the expected value of 1.3; they equal ∼1.4 and ∼1.5, respectively. It means that the bulge center is further offshore compared to other runs (Table 2).
Run 13 is characterized by nearly the same offshore plume spread as in run 12. However, the plume’s surface layer is characterized by a salinity of greater than 5, which means that run 13 is more vertically diffusive than runs 11 and 12. This happens due to use of Sweby's limiter in run 13, which is responsible for intense vertical mixing. Excessive vertical mixing is evident in Fig. 8c and d. Also, as expected, the coastal current propagates further in run 13 than it does in runs 11 and 12. Run 13 also shows penetration of dense water into the river channel; however, it has a slightly different interface profile than run 12 due to the different advection scheme of higher order employed in it (Table 2).
5.4 Numerical diffusivity and model performance
In the model runs wherein the physical diffusivity is set to zero any source of mixing of tracers is of numerical origin. In order to contrast it with physical diffusivity, run 7 with the physical diffusivity switched on (Table 1) will also be presented.
To carry out the numerical diffusion diagnostics presented above, we divide the available salinity range ([0, 30]) into 200 classes with the isohaline values ${S}_{\mathrm{i}}={S}_{\mathrm{r}}+i\mathit{\delta}$ with i=1…200, where S_{r}=0 is a salinity of the river water and δ=0.15 is a size of the salinity class. For each salinity class, we calculated the total volume in the system and the isohaline area attributed to it after one and two inertial periods (Fig. 9). For simplicity's sake, we replace the isohaline area with its surface projection in all analyzed runs; the isohaline area is represented by the sum of the control areas of vertexes or elements depending on the discretization. With the exception of the isohaline configurations in the nearfield zone, this is a reasonable assumption given that offshore spreading of the plume and its final deviation from the analytical solution – without additional forcing in the system – are mediated by diffusive processes (this issue is also presented in the Discussion section). We should mention that, for less diffusive solutions that tolerate meandering isohalines, the assumption would slightly overestimate the level of numerical mixing (Figs. 4, 6). Note that the true isohaline areas can readily be taken into account if a more accurate estimate is needed.
The salinity–volume diagram in Fig. 9 allows us to trace the total volume of each salinity class and, most importantly, the volume of the first freshwater class. Generally, numerical diffusion causes the appearance of volumes between the first and last salinity classes (which respectively contain fresh and shelf saline water masses) by reducing the volume of the first salinity class as well as (as in our case) that of the last salinity class. (No open boundaries are presented.) If the total volume of the freshwater class is less than the volume of the river channel (5×10^{7} m^{3}), it means that the dense water penetrates into the river channel (Fig. 9).
The significant shift in the diagram can be attributed to the choice of the advection scheme or limiter; a lowerorder advection scheme and/or relatively diffusive limiter tend to make the layer occupied by the plume saltier (Fig. 9): in run 2, the plume’s surface layer is a bit saltier than in run 1 and has a different structure. When eddy diffusivity is on (run 7), the volume of the higher salinity classes increases with time, whereas volumes remain stable (and very small) across the salinity classes characterized by salinities less than 10. This takes place because (in this case) we have a pronounced mixed layer with a salinity of about 10 in the nearfield, bulge, and coastal current zones (Fig. 5). Also note that, despite the qualitative similarity of diagrams for runs 1, 11, and 12 (not shown), the total volumes of the first salinity class are more than 34 % larger at both 20 and 35 h time moments for the runs performed on a rectangular grid (runs 11, 12). Among all runs, runs 11 and 12 yield maximum freshwater volumes for the first salinity class. The realized fresh water thus largely stays fresh and does not replenish intermediate salinity classes in runs 11 and 12 to the same extent as other runs do. Runs 1 and 11 suggest that quasiB discretization on the triangular grid can be a noticeable source of numerical mixing unless noise is suppressed by a filter. In the case of run 12, we may say that the antidiffusion and antiviscous superbee limiter (for tracer and momentum advection in GETM) is highly effective vertically in conserving the twolayer system with a pronounced interface between the plume and the quiescent layer (Fig. 8c, d).
It is known (e.g., Hetland, 2005; Burchard, 2020) that a larger isohaline area means less mixing for a given level of freshwater discharge through the isohaline. This fact is illustrated in Eq. (16). If we keep the diahaline freshwater discharge (total freshwater transport) F(S) constant and modify the isohaline area, which is situated in the denominator, the respective average diahaline freshwater flux, f(S), would increase. Increased diffusive fluxes, f(S), in turn mean increased mixing, which in our case is purely numerical. Also, the total volume of a particular class can be the same, while mixing levels differ from case to case due to different isohaline areas (Eqs. 14–16).
The volume of the first class can also be larger from one case to another in line with a higher numerical diffusivity level; this would apply, for example, where a plume spreads relatively little and remains relatively thick. To avoid a wrong interpretation of the salinity–volume diagram, one should consider the area of the isohalines (Fig. 10) for each different run.
Figure 10 illustrates the isohaline areas for different salinity classes. Except for run 7 in Fig. 10, which is characterized by the presence of physical eddy diffusivity, all curves have very similar shapes. These shapes reflect the fact that a twolayer system is being considered. The layer occupied by the plume is characterized by low salinities; it is not completely fresh due to the presence of numerical mixing. The plume layer can be characterized by the rapidly growing part of the curve. The curves, which are characterized by larger isohaline areas, mean larger offshore spreading of the plume. Even so, the coastal current in the more diffusive solutions can propagate faster; it is less restricted offshore paired with a bulge (e.g., Fig. 3). The shape of the curve for run 7 with eddy diffusivity turned on is an outlier. It signals the presence of the homogeneous salinity layer occupied by the plume, which is thicker compared to the same run with physical eddy diffusivity turned off (run 1). It is readily apparent that the limiters, which strictly preserve the monotonicity of the advection scheme, effectively reduce its order: the curves for runs 4 and 5 are nearly the same (Fig. 10, Table 1). Note that even use of the relatively close limiting options such as fct1 and fct2 (see Sect. 2 for the details), in the sense of expected numerical diffusion level, produces noticeably different dynamics. In particular, the curve for run 3 crosses the curve for run 1. It means that the plume layer is not so fresh in run 3 as in run 1, but the plume spreads a bit further offshore, which we can already see in Figs. 3 and 5. The vertical resolution also plays a large role: logically, a coarse vertical resolution introduces more numerical diffusion (see below); so, as a result, the curve for run 10 is significantly below the curve for run 5, and the layer occupied by the plume is saltier in run 10 compared to run 5.
Despite the fact that Figs. 9 and 10 indicate the diffusive processes taking place, several aspects remain to be clarified. For example, we have claimed that run 12 has what is among the largest freshwater volumes. However, in Fig. 10 the curve for run 12 starts below that for runs 1, 3, and 4. Also, additional steps are required before a quantitative estimation of the level of numerical mixing can be made. For this, we make use of the characteristics introduced in Sect. 4.
We will start by considering the total salinity discharge through different isohalines divided by the salinity of the current isohaline (called “freshwater discharge”, Fig. 11a). Figure 11a allows one to trace the nonmonotonic solution: run 6 accepts a discharge larger than $\sim \mathrm{3000}$ m^{3} s^{−1} because no limiters are introduced for the tracer advection scheme. For the less diffusive solutions, the absolute value of the discharge rapidly decreases, signalling that a relatively fresh surface layer is forming; it is growing and accumulating the fresh water. For run 7, the discharge is nearly equal to $\sim \mathrm{3000}$ m^{3} s^{−1} up through a salinity class of ∼10, so the plume forms a layer with a salinity of ∼10 even at the surface. The curve for run 13 has a similar shape. It signals that the limiter used for vertical advection works quite similarly to a physical vertical eddy diffusivity. The smallest numerical freshwater discharge can be attributed to the runs performed on a rectangular grid (runs 11, 12), with the best result attributed to run 12, meaning that the layer occupied by the plume is fresher than in other solutions. This explains the large freshwater volume in the system with a good (but relatively moderate) offshore spread of the plume as described above.
Figure 11b shows the mean transport through different isohalines: freshwater discharge through different isohalines (Fig. 11a) divided by the corresponding isohaline areas (Fig. 10). Transport naturally tends to decrease as the considered isohaline increases, but even so, the discharge can be the same (see, e.g., run 7 or run 13 in Figs. 10, 11a). Figure 11b sheds some light on vertical nearsurface dynamics. For example, Fig. 11b shows that run 2 has a large crossisohaline transport for low salinities. Therefore, despite its generally good performance, this run is characterized by a blurry surface layer (Fig. 3). We also see the principal difference between runs 7 and 13: transport through the freshwater isohaline is largest for 13 but then rapidly decreases, and there is no pronounced mixed layer as there is in run 7.
As we already mentioned, Fig. 11a can lead to a misunderstanding because of the total transport or freshwater discharge being considered. For a more transparent diagnostic, we draw the total salinity discharge through different isohalines, normalized by the isohaline area (Fig. 11c, d). In other words, Fig. 11c and d show the averaged diffusive salinity fluxes per unit area of the particular isohaline, which makes it easy to identify the more diffusive numerical solutions. With nonzero physical eddy diffusivity (run 7), the diahaline flux curve contains both physical and numerical components. Note that activating eddy diffusivity contributes to a smoother velocity field, so an “absolute” numerical diffusivity (with and without physical eddy diffusivity) is out of the question. But turning on physical eddy diffusivity in this particular test case will generally decrease numerical diffusivity (see the second local minimum of the solution). The numbers in Fig. 11c show the sum of the diahaline fluxes multiplied by 10^{3}, so they demonstrate the level of numerical mixing for the current solution. Run 2 in comparison with runs 1, 4, and 5 demonstrates a higher diffusion level for the layer occupied by the plume, a lower level of diffusion for the higher salinity classes, and even antidiffusion for the last salinity class. We came to a similar conclusion when we inspected surface salinity in Fig. 3. Run 10 clearly demonstrates that the coarser resolution causes a higher numerical mixing level and a blurry top plumerelated layer. Here, we would like to stress that runs 11 and 12 have the lowest levels of numerical mixing. We have excluded run 3 with the fct2 version of the limiter from consideration here, since in run 3 the level of numerical mixing is very close to what was obtained in run 1 with the fct1 option (although slightly smaller, with a sum of salinity fluxes equal to $\mathrm{4.9}\times {\mathrm{10}}^{\mathrm{3}}$ psu m s^{−1}). Note that the fct2 option does not work nearly as well on a rectangular grid, which is a reaction to the rectangular grid’s relative coarseness (not shown; the sum of salinity fluxes is equal to $\mathrm{7.2}\times {\mathrm{10}}^{\mathrm{3}}$ psu m s^{−1}).
Some interesting and not obvious behavior of the system can be tracked by looking at the velocities through different salinity classes (Fig. 11d, e). It can be noticed that some solutions have a positive peak at the low salinity classes. Some runs, in particular, 1, 4, 5, 11, and 12, do not have this feature, demonstrating a nearly symmetric diahaline velocity pattern through salinity classes.
All models (e.g., runs 1, 2, and 12) accurately track the total freshwater volume in the system. Run 2 tends to underestimate the volume by roughly 2 %. This discrepancy is due to the weakly imposed river boundary condition in Thetis; the model itself is massconservative. The applied advection schemes with limiters (except run 6, which is not equipped with a limiter; see Table 1) are nearly monotone; the overshoots and undershoots for runs 1, 2, 3, 5, and 7–11 for salinity after 20 h of simulations are not more than 10^{−10} in practical scale. Runs 4, 12, and 13 are strictly monotone.
In this section we discuss the sensitivity experiments and interpretation of the results. In particular, the effect of vertical resolution, penetration of the dense water into the river channel, and the role of vertical viscosity in the simulated plume behavior are clarified.
6.1 Vertical resolution
Runs 9 and 10 with a reduced number of sigma layers (20 instead of 40) reduce bulge offshore spreading by 4 %–8 % (Fig. 12). Also, even though these runs use different advection schemes (the hybrid MUSCLtype and Miura, respectively), they both generate a more saline surface layer compared to the reference runs 1 and 5 (Table 1).
In the case of run 9, the bulge is slightly reduced offshore by 4 % compared to run 1 and not fresh at the surface. However, there is no pronounced redistribution of the discharge rates between the bulge and coastal current. Numerical mixing increases by 26 % in run 9 compared to run 1 (the sum of salinity fluxes is equal to $\mathrm{6.3}\times {\mathrm{10}}^{\mathrm{3}}$ psu m s^{−1} in run 9).
In the case of run 10 there is a slightly thicker plume, a bulge offshore spread reduced by 8 %, and a coastal current propagating further compared to run 5. The numerical mixing increases by 35 % in run 10 compared to run 5 (the sum of salinity fluxes is equal to $\mathrm{7.8}\times {\mathrm{10}}^{\mathrm{3}}$ psu m s^{−1} in run 10). We can note that the run with a relatively lowerorder advection scheme (run 10 vs. run 9) reacts more strongly to the coarsening of the vertical resolution.
As expected, a coarser vertical mesh increases numerical mixing, which in turn modifies the plume behavior and final characteristics. It also restricts the minimum thickness of the plume. However, the effect remains moderate as the grid resolution is focused towards the surface.
6.2 Penetration of the dense water into the river channel
The dense water penetration into the river channel is sensitive to the details of the configuration. Since the resolution of triangular and rectangular grids is similar in the vicinity of a river mouth (Fig. 2), we concentrate on other factors. We have shown that numerical mixing related to limiters or upwind fluxes in the advection scheme can cause the penetration of the dense water into the river channel. However, in run 12 we observe penetration of dense water into the channel, although it has lower numerical mixing than run 1 in which penetration does not occur. Therefore, the relationship between numerical mixing and penetration depends on the source of numerical mixing. As we already mentioned the increased level of numerical mixing in run 1 compared to runs 11 and 12 is likely related to residual effects of spurious inertial oscillations supported by the discretization type.
The area of hydraulic jump and shelf–river channel interface are also highly sensitive to the discretization of the momentum equation, in particular to calculation of the pressure gradient, momentum advection, and vertical viscosity. The latter is of prime importance. According to hydraulic theory the penetration of the dense water should occur if the liquid is inviscid. Obviously the vertical viscosity works oppositely to numerical mixing in this respect: relatively high viscosity blocks penetration of the dense water into the river channel. To show this, we carried out several sensitivity runs with only constant vertical background viscosity, and no limiting was applied in the vertical advection of momentum. Figure 13 visualizes some of them (runs 8a, b, and c; Table 1). This demonstrates the dynamics of the plume with a standard set of options on a triangular grid (as in run 1) except for the vertical viscosity (the horizontal viscosity was set to zero). If the viscosity equals $\mathrm{3}\times {\mathrm{10}}^{\mathrm{4}}$ m^{2} s^{−1}, the penetration takes place and has a typical lockexchange profile. When the viscosity is increased to 10^{−3} m^{2} s^{−1}, a much slower penetration is simulated. For an extreme value of background vertical viscosity of 0.1 m^{2} s^{−1}, no penetration is seen.
Among all runs, only run 12 uses limiters for the advection of momentum. The superbee limiter used is characterized by locally antiviscous (antidiffusive) behavior. Runs 8a, b, and c show that higher viscosity inhibits the penetration of dense waters into the channel. Also, we have shown that in all cases with a relatively lowerorder (up to secondorder spatially) advection scheme the penetration occurs and has a bluntfaced profile (runs 2, 5, 6, 12; Figs. 3, 5). The results suggest that the penetration occurs in run 12 due to the combination of a secondorder tracer advection scheme and antiviscous limiter for the advection of momentum.
In addition, we investigated the influence of the river discharge on the penetration of dense waters. For all the runs wherein penetration occurred we increased the discharge to 3900 m^{3} s^{−1}. As predicted by Armi and Farmer (1986) (see Sect. 3 for some details) in this case the penetration of dense waters did not occur in all simulations. Also, we should note that in the absence of bottom friction the penetration did not influence the plume characteristics considered by us. For example, run 12 has slightly larger offshore spread – about 1 km – compared to the old realization, as it should according to the analytical solution (Fig. 14).
6.3 Viscous processes
This subsection is largely based on an additional set of experiments with a slightly increased discharge of 3900 m^{3} s^{−1} and a constant vertical viscosity equal to $\mathrm{2.5}\times {\mathrm{10}}^{\mathrm{4}}$ m^{2} s^{−1} (Table A1). The slightly larger discharge is preferable because it results in a thicker plume layer. The analytical prediction for the major plume characteristics in this case is given in brackets in Sect. 3.
The experiments described above make clear that the vertical viscosity and the details of the momentum equation discretization play a significant role in the simulated plume dynamics. The analytical solution approximates the flow as a twolayer system with a plume layer having a uniform shear and a motionless lower layer. If the vertical background viscosity in simulations is lower than $\mathrm{2}\times {\mathrm{10}}^{\mathrm{5}}$ m^{2} s^{−1} (the horizontal viscosity is set to zero), all models participating in this study cannot preserve the twolayer system; the coastal current has an average salinity above 10 and anomalously high speed. An example is given for run 12 (Table A1 and Fig. 14, middle), which gives one of the best results but still contains these artifacts. It could also be that stability conditions cannot be met for a reasonable time step above 1 s for the baroclinic mode. The reason is the presence of numerical mixing in the system, which dilutes the thin freshwater layer, and other numerical inaccuracies, which in this case have pronounced consequences. With the vertical viscosity of about 10^{−3} m^{2} s^{−1} the solutions are significantly damped: the offshore spread of the plume is restricted together with a reduced coastal current, and the plume layer is too thick (e.g., Fig. 13). If the viscosity has an order of 10^{−4} m^{2} s^{−1}, all solutions are relatively close to each other compared to the runs with eddy viscosity turned on in terms of the bulge size and strength of the coastal current (Fig. A2). Note that with this level of background viscosity FESOMC results on triangular and quad meshes (runs 1 and 11 in Table A1) are also much closer to each other, suggesting that the noise triggered by the triangular grid in FESOMC is already partly damped or not generated in such conditions. The eddy viscosity calculated based on turbulence closures (see, e.g., runs 1b, 12c; Table A1) in the area of plume spreading has a mean value of the order of 10^{−4} m^{2} s^{−1}, with the maximum reaching an order of 10 m^{2} s^{−1}. This naturally means that the background value of the order of 10^{−4} m^{2} s^{−1} is too small and too large for the different subareas compared to the eddy viscosity based on turbulence closures (see, e.g., Fig. A1).
For the runs with only background viscosity the level of numerical mixing and agreement with the analytical solution are not in a direct correspondence: in this case the differences between the runs are largely reflected in the volume of intermediate salinity classes, which are to a degree separated from the surface dynamics if there is no eddy viscosity. So, the new run 6 has a fresher surface and larger offshore spread compared to run 2, but a higher level of numerical mixing (see, e.g., Figs. A3, A4). Also, run 9 with a number of vertical levels 2 times smaller shows better performance with respect to the level of numerical mixing and offshore spread compared to run 1 with the same set of options, but with the larger number of layers. Run 12 with antiviscous and antidiffusive limiters shows the best performance among all runs in the sense of numerical mixing (Fig. A4).
We note that the thickness of the plume layer at the coastal current has a different structure in all these runs compared to the runs with eddy viscosity: in particular, it does not reach a maximum near the wall as in analytical and laboratory studies (see Fig. A2). An additional issue is the absence of the bulge symmetry predicted by the laboratory studies (they were conducted with viscid liquids), in particular an offshore extent of the bulge that is too large compared to its alongshore size. All numerical solutions have different builtin viscosity and it is hardly possible to find one value of background viscosity which would account for the difference without damping the dynamics significantly. When the eddy viscosity is turned on, the details of momentum equation discretization become less important (as in the case of eddy diffusivity, the presence of physical eddy viscosity makes the level of numerical viscosity smaller) and the level of numerical mixing can be estimated by offshore plume position. The last point was crucial for the current test case, which has a focus largely on numerical diffusivity. Therefore, we used the turbulence closure for eddy viscosity instead of constant viscosity in all runs beyond the ones presented in Sect. 6. The choice of turbulent closure for the vertical eddy viscosity coefficient impacts the way different zones function. For this reason we highly recommend employing secondorder turbulence models (e.g., see review in Umlauf and Burchard, 2005) to be able to carefully compare results with the results presented here.
We mention that the presence of supercritical conditions in addition to numerical mixing can be a reason for the underestimations of the bulge offshore spreading by the numerical solutions. However, the analytical solution is given for a wide time range (one inertial period); this ensures the feasibility of the numerical solution to reach an analytical one. The prime results of runs 11 and 12 demonstrate this (Fig. 8).
6.4 Model type
In the test case three models with different discretizations have been applied: most runs were carried out with the FESOMC, a quasiBgrid finitevolume model with different advection schemes and flux limiters. Run 2 was performed using the Thetis DG finiteelement model that uses a secondorder advection scheme and geometric slope limiters. Runs 12 and 13 were carried out with the Cgrid GETM. The most salient differences in the simulations, however, were due to the order of the advection scheme and the quality of the limiters, not the model type itself. However, some differences in the dynamics can be found due to the model and discretization type. In the case of the quasiBgrid finitevolume model the velocity field exhibits noise on triangular grids. The latter issue is well known and can be dealt with using a biharmonic filter operator (e.g., Danilov and Androsov, 2015). The DG model is less diffusive in the layer not occupied by the plume and more diffusive in the plume layer compared to the GETM and FESOMC runs with the secondorder (horizontally) advection scheme. As a result, in the Thetis run the surface is saltier and smoother, but the system has a pronounced twolayer character and the layer occupied by the plume is not thick. While there is no obvious explanation for this behavior, most probably it is caused by a combination of the vertical discretization, current advection scheme, and the geometric DG limiter. More experiments are needed in the same frame to further clarify details.
As expected, all models reproduce the four prototypical zones shown in Fig. 1, preserve freshwater volume in the system, and are stable. However, substantially different dynamics in each zone can be obtained using the same model but with different transport schemes. The major result of our comparative study is that accuracy in reproducing the analytical solution depends less on the applied model discretization or grid type than on the advection scheme. Table 3 illustrates how the choice of an advection scheme and limiter affects the performance. All runs listed there were carried out with the same number of vertical sigma layers and the same turbulence closure for vertical viscosity (eddy diffusivity is set to zero). Table 3 presents two final characteristics: the maximum offshore bulge spreading and total salinity fluxes after two inertial periods, enabling a better evaluation of the simulation. The total salinity fluxes characterize the net level of numerical diffusion in the system, or how closely the system adheres to the expected twolayer system with only two salinity classes. The smaller the absolute value of salinity fluxes, the lower the level of numerical mixing in the considered simulation.
In runs wherein eddy vertical viscosity is turned on, the level of numerical diffusion and simulated plume characteristics are interrelated (Table 3, Sect. 5). If numerical mixing is larger, we get a smaller bulge offshore extent, a thicker plume, a bulge center closer to the coast, and a larger coastal current discharge. However, although they are related, they complement each other: the bulge spreading largely characterizes the horizontal part of the dynamics, whereas total salinity fluxes characterize the vertical. When eddy viscosity is replaced by a constant background value (Sect. 6.2, 6.3), horizontal and vertical dynamics become less dependent.
The order of accuracy of a given scheme is as important as the type of limiter. The fct1, fct2, geometrical, and superbee limiters outperformed fct3 and Sweby's limiters in the sense of two considered characteristics (Table 3). In general, the superbee limiter, with its antidiffusive properties, can be marked as the best limiter and the Sweby's as the worst (however, only in the vertical dimension) for the considered task. Among the considered advection schemes, the best performer was a hybrid MUSCLtype advection scheme (third to fourth order). Combined with the fct1 limiter, it gives the best result for the runs for which eddy vertical viscosity was calculated based on turbulence closure. However, for a highly accurate advection solution, noise may appear, which is attributed to the discretization type (or of other origin). Among the tested secondorder advection schemes, the Miura and TVD schemes performed better than the upwind scheme.
In realistic cases, many other factors, such as physical mixing, influence the plume dynamics in addition to the numerical mixing. We therefore refrain from selecting the best scheme based solely on the results presented above. However, knowledge of the extent to which numerical mixing may affect the solution is an important preliminary step, and we hope that the approach of this paper will be of interest to other modelers.
B1 Summary of the test case, major points
The test case presents a river–shelf system: there is a source of fresh water and momentum separated from the shelf by a perpendicular river channel, and there are no additional forcing terms and no open boundaries (i.e., the total water volume entering the domain stays there). Models of eddy diffusivity should be set to zero, which makes the diagnostic of the numerical mixing very transparent and allows us to consider the plume behavior at some aspects in terms of a twolayer paradigm (see Sect. 3 for details). The eddy vertical viscosity should be calculated based on a secondorder turbulence model (see, e.g., review in Umlauf and Burchard, 2005), preferably the k−ϵ model. The test case assumes the usage of a linear equation of state in which the density difference between the river and shelf water masses is equal to 23.01 kg m^{−3}. However, if the user does not have access to the equation of state and would like to try a nonmonotonic advection scheme or advection schemes with flexible limiters, we suggest, for example, using a salinity of 2 and 32 for the river and shelf waters, respectively, to avoid negative salinity in the numerical solutions at the frontiers areas; the most important aspect is to keep the density difference between the river and shelf water masses (23.01 kg m^{−3}). In this case the visualizations should be the same as presented in the current article, and only the color bar or salinity range should be shifted toward high salinity. The bottom friction should be turned off. In the simulation, 40 sigma layers (41 levels) should be prescribed with the parabolic distribution defined by Eq. (2). If the same vertical grid cannot be utilized, running of a test case still makes sense; however, the numerical diffusivity level and output plume characteristics given in the article (Tables 2, 3) should not be used for the intercomparison.
The total simulation time is 35 h and the grid contains ∼ 76×10^{3} triangles ($\sim \mathrm{60}\times {\mathrm{10}}^{\mathrm{3}}$ rectangles), so the task can be calculated within an appropriate time even by models running on laptops.
The further details of the setup are specified in Sect. 2.
B2 Summary of the analytical solution
After ∼8.2 h of the total simulation time the plume is expected to start turning right at an approximate distance of 5 km from the coast. After 20–35 h the offshore spread of the bulge should reach ∼ 24 km. The surface layer occupied by plume should be fresh.
The estimated maximum and minimum thicknesses of the coastal current are about 1.8 and 0.9 m, respectively, and maximum velocity (the nearwall speed in the layer occupied by the plume) is in the range from 0.45 to 0.64 m s^{−1}. The crossshore width of the coastal current can vary from 3.75 to 12 km after one to two rotation periods.
The surface salinity, the profile of dense water intrusion into the river channel (if present), its speed, the coastal current's discharge rate, offshore spread, and asymmetry or the characteristic impingement angle of the bulge can all be considered indirect measures of numerical mixing. However, the simplest way is to consider the offshore spread of the bulge and its surface salinity. Numerical mixing tends to reduce the offshore spread of the bulge, make it deeper, and increase its surface salinity. In addition, the bulge center tends to shift towards the coast, thus lowering the impingement angle and increasing the strength of the coastal current.
B3 Output requirements and corresponding definitions
In the current test case we are focusing on the final characteristics of the plume spreading, in particular the position of the liftoff zone, bulge characteristics at a given time (offshore, nearshorewide, and alongshorelong), depth of coastal currents, crossfront width, and velocity. These characteristics should be extracted at two time moments: 20 and 35 h from the beginning of the simulation time (20 h is approximately the time it takes for fresh water to reach the mouth area, plus one inertial period; Fig. 1).
For users interested in detailed analysis of the model performance, we recommend filling in the Table 2 and performing full numerical diffusivity analysis or at least reproducing the metrics in Fig. 11c.
Tracing the level of numerical diffusive transport and checking the prediction against the analytical solution require the following output: (a) surface velocities as well as elevation and 3D salinity fields and (b) velocity profiles for two transects (Fig. 2) at the specified times. The calculation of the mean isopycnal areas within the second inertial period can be simplified to the calculation of the surface projection of each considered isohaline (sum of vertex or, depending on the type of discretization, element or edge control areas, where particular salinity S is present at any depth) at two time moments – 20 and 35 h – and its further averaging. The full range of salinity values should be split into 200 salinity classes with the salinity difference between neighboring classes equaled to 0.15. The first and last classes can be larger if a nonmonotonic advection scheme is used (it is important to cover the whole salinity range presented in the model).
The layer thickness occupied by the plume should be defined by the maximum salinity or velocity gradient depending on the discretization (one field can be noisier than another); the shape of the bulge is identified by the surface plot of salinity: the salinity contour 29 in practical scale should be considered a border to identify the bulge spread and coastal current position.
The shortest version of the analysis includes only surface visualization of the salinity at 35 h. Ideally in the system after 35 h the bulge offshore extent should be more than 24 km (and the coastal current nose should not reach 40 km on the x scale), and the layer occupied by a plume should be fresh. The minimum acceptable result is that the bulge spreads offshore at about 16 km (and the coastal current extent is less than 70 km).
To verify volume conservation the total water volume in the system should be checked after 20 h. An increase in volume compared to the initial state should be 0.2052 km^{3} plus the amount of fresh water which flows during the first hour when river discharge is ramped up – 0.0054 km^{3}.
The experimental data can be downloaded from https://doi.org/10.5281/zenodo.4389353 (Fofonova et al., 2020). The grid files are attached to the article as the Supplement. Thetis, GETM/GOTM, and FESOMC versions used to carry out the presented experiments have been archived on Zenodo: https://doi.org/10.5281/zenodo.4683743 (Kärnä et al., 2021), https://doi.org/10.5281/zenodo.4695259 (Klingbeil, 2021), and https://doi.org/10.5281/zenodo.4696058 (Fofonova et al., 2021), respectively.
The supplement related to this article is available online at: https://doi.org/10.5194/gmd1469452021supplement.
VF built a test case, its analytical solution, description, structure, and general framework of the analysis and prepared the results. TK actively participated in improvement of the test cases in all aspects from setup to analysis and of the text, created the final triangular grid, made run 2, took part in all discussion rounds, wrote the Thetis model description, and prepared Fig. 1 and output from run 2. KK made valuable and extensive comments through the whole paper, prepared several runs and their output as well as the GETM description, and initiated activity on the current test case. AA prepared the rectangular grid and FESOMC model description and actively took part in discussion. SD and HB controlled the scientific quality of the paper, significantly improved the structure of the paper, and took part in the results discussion. IK and DS provided very valuable technical support, significantly improved the text of the paper, and gave valuable comments about the structure of the paper. KHW supervised the work.
The authors declare that they have no conflict of interest.
Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
We would like to thank Natalja Rakowsky and Sven Harig for the valuable technical support. Also, we are grateful to Peter Arlinghaus for the valuable comments and remarks at the beginning of the current work. We are thankful for the original discussions with Florian Lemarié and Laurent Debreu. We are also grateful to the reviewers for their efforts to improve the article. The authors wish to acknowledge the CSC–IT Center for Science, Finland, for computational resources.
This research has been supported by the German Research Foundation for the Collaborative Research Center TRR181 on Energy Transfers in Atmosphere and Ocean (project 274762653, subproject M5).
The article processing charges for this openaccess publication were covered by the Alfred Wegener Institute, Helmholtz Centre for Polar and Marine Research (AWI).
This paper was edited by Sandra Arndt and reviewed by Marco Bajo and one anonymous referee.
Androsov, A., Fofonova, V., Kuznetsov, I., Danilov, S., Rakowsky, N., Harig, S., Brix, H., and Wiltshire, K. H.: FESOMC v.2: coastal dynamics on hybrid unstructured meshes, Geosci. Model Dev., 12, 1009–1028, https://doi.org/10.5194/gmd1210092019, 2019. a, b, c
Armi, L. and Farmer, D. M.: Maximal twolayer exchange through a contraction with barotropic net flow, J. Fluid Mech., 164, 27–51, https://doi.org/10.1017/S0022112086002458, 1986. a, b, c, d
Avicola, G. and Huq, P.: Scaling analysis for the interaction between a buoyant coastal current and the continental shelf: Experiments and observations, J. Phys. Oceanogr., 32, 3233–3248, https://doi.org/10.1175/15200485(2002)032<3233:SAFTIB>2.0.CO;2, 2002. a
Avicola, G. and Huq, P.: The characteristics of the recirculating bulge region in coastal buoyant outflows, J. Mar. Res., 61, 435–463, https://doi.org/10.1357/002224003322384889, 2003. a, b, c, d, e, f, g, h, i, j, k
Beardsley, R. C. and Hart, J.: A simple theoretical model for the flow of an estuary onto a continental shelf, J. Geophys. Res., 83, 873, https://doi.org/10.1029/jc083ic02p00873, 1978. a
Beardsley, R. C., Limeburner, R., Yu, H., and Cannon, G. A.: Discharge of the Changjiang (Yangtze River) into the East China Sea, Cont. Shelf Res., 4, 57–76, https://doi.org/10.1016/02784343(85)900226, 1985. a
Berdeal, I., Hickey, B. M., and Kawase, M.: Influence of wind stress and ambient flow on a high discharge river plume, J. Geophys. Res.Oceans, 107, 131–1324, https://doi.org/10.1029/2001JC000932, 2002. a
Burchard, H.: A universal law of estuarine mixing, J. Phys. Oceanogr., 50, 81–93, https://doi.org/10.1175/JPOD190014.1, 2020. a, b, c, d
Burchard, H. and Bolding, K.: GETM – a General Estuarine Transport Model. Scientific Documentation, Tech. Rep. EUR 20253 EN, JRC23237, European Commission, available at: http://publications.jrc.ec.europa.eu/repository/handle/JRC23237 (last access: 9 November 2021), 2002. a
Burchard, H. and Rennau, H.: Comparative quantification of physically and numerically induced mixing in ocean models, Ocean Model., 20, 293–311, https://doi.org/10.1016/j.ocemod.2007.10.003, 2008. a
Burchard, H., Bolding, K., and RuizVillarreal, M.: GOTM, a general ocean turbulence model. Theory, implementation and test cases., Tech.Rep. EUR 18745 EN, available at: https://www.iowarnemuende.de/tl_files/staff/burchard/pdf/papers/report.pdf (last access: 9 November 2021), 1999. a, b
Chant, R. J.: Interactions between Estuaries and Coasts: River Plumes – Their Formation, Transport, and Dispersal, in: Treatise on Estuarine and Coastal Science, Academic Press, vol. 2, 213–235, https://doi.org/10.1016/B9780123747112.002096, 2011. a
Chawla, A., Jay, D. A., Baptista, A. M., Wilkin, M., and Seaton, C.: Seasonal Variability and Estuary–Shelf Interactions in Circulation Dynamics of a Riverdominated Estuary, Estuar. Coast., 31, 269–288, https://doi.org/10.1007/s1223700790227, 2008. a
Chen, F., MacDonald, D. G., and Hetland, R. D.: Lateral spreading of a nearfield river plume: Observations and numerical simulations, J. Geophys. Res.Oceans, 114, C07013, https://doi.org/10.1029/2008JC004893, 2009. a
Danilov, S. and Androsov, A.: Cellvertex discretization of shallow water equations on mixed unstructured meshes, Ocean Dynam., 65, 33–47, https://doi.org/10.1007/s102360140790x, 2015. a, b
Danilov, S., Sidorenko, D., Wang, Q., and Jung, T.: The FinitevolumE Sea ice–Ocean Model (FESOM2), Geosci. Model Dev., 10, 765–789, https://doi.org/10.5194/gmd107652017, 2017. a
de Boer, G. J., Pietrzak, J. D., and Winterwerp, J. C.: SST observations of upwelling induced by tidal straining in the Rhine ROFI, Cont. Shelf Res., 29, 263–277, https://doi.org/10.1016/j.csr.2007.06.011, 2009. a
Farmer, D. M. and Armi, L.: Maximal twolayer exchange over a sill and through the combination of a sill and contraction with barotropic flow, J. Fluid Mech., 164, 53–76, https://doi.org/10.1017/S002211208600246X, 1986. a
Fischer, E., Burchard, H., and Hetland, R. D.: Numerical investigations of the turbulent kinetic energy dissipation rate in the Rhine region of freshwater influence, Ocean Dynam., 59, 629–641, https://doi.org/10.1007/s1023600901874, 2009. a
Fofonova, V., Androsov, A., Sander, L., Kuznetsov, I., Amorim, F., Hass, H. C., and Wiltshire, K. H.: Nonlinear aspects of the tidal dynamics in the SyltRømø Bight, southeastern North Sea, Ocean Sci., 15, 1761–1782, https://doi.org/10.5194/os1517612019, 2019. a
Fofonova, V., Kärnä, T., Klingbeil, K., Androsov, A., Kuznetsov, I., Sidorenko, D., Danilov, S., Burchard, H., and Wiltshire, K. H.: Plume spreading test case data, Zenodo [data set], https://doi.org/10.5281/zenodo.4389353, 2020. a
Fofonova, V., Androsov, A., Kuznetsov, I., and Danilov, S.: FESOMC_v2 source_code_plume_spreading_test_case, Zenodo [code], https://doi.org/10.5281/zenodo.4696058, 2021. a
Fong, D. A. and Geyer, W. R.: The alongshore transport of freshwater in a surfacetrapped river plume, J. Phys. Oceanogr., 32, 957–972, https://doi.org/10.1175/15200485(2002)032<0957:TATOFI>2.0.CO;2, 2002. a, b
Fong, D. A., Geyer, W. R., and Signell, R. P.: The windforced response on a buoyant coastal current: Observations of the western Gulf of Maine plume, J. Marine Syst., 12, 69–81, https://doi.org/10.1016/S09247963(96)000899, 1997. a
Garvine, R. W.: Radial spreading of buoyant, surface plumes in coastal waters (model), J. Geophys. Res., 89, 1989–1996, https://doi.org/10.1029/JC089iC02p01989, 1984. a
Garvine, R. W.: Estuary plumes and fronts in shelf waters: a layer model, J. Phys. Oceanogr., 17, 1877–1896, https://doi.org/10.1175/15200485(1987)017<1877:epafis>2.0.co;2, 1987. a, b, c, d, e
Garvine, R. W.: A dynamical system for classifying buoyant coastal discharges, Cont. Shelf Res., 15, 1585–1596, https://doi.org/10.1016/02784343(94)00065U, 1995. a, b, c, d
Gibson, A. H., Hogg, A. M., Kiss, A. E., Shakespeare, C. J., and Adcroft, A.: Attribution of horizontal and vertical contributions to spurious mixing in an Arbitrary Lagrangian–Eulerian ocean model, Ocean Model., 119, 45–56, https://doi.org/10.1016/j.ocemod.2017.09.008, 2017. a
Gill, A.: The hydraulics of rotatingchannel flow, J. Fluid Mech., 80, 641–671, https://doi.org/10.1017/S0022112077002407, 1977. a, b
Gill, A.: AtmosphereOcean Dynamics, Academic Press, New York, USA, 30, 1–662, 1982. a
Gräwe, U., Holtermann, P. L., Klingbeil, K., and Burchard, H.: Advantages of vertically adaptive coordinates in numerical models of stratified shelf seas, Ocean Model., 92, 56–68, https://doi.org/10.1016/j.ocemod.2015.05.008, 2015. a
Griffies, S. M., Pacanowski, R. C., and Hallberg, R. W.: Spurious Diapycnal Mixing Associated with Advection in azCoordinate Ocean Model, Mon. Weather Rev., 128, 538–564, https://doi.org/10.1175/15200493(2000)128<0538:sdmawa>2.0.co;2, 2000. a
Hetland, R. D.: Relating River Plume Structure to Vertical Mixing, J. Phys. Oceanogr., 35, 1667–1688, https://doi.org/10.1175/JPO2774.1, 2005. a, b, c, d, e
Hetland, R. D.: The effects of mixing and spreading on density in nearfield river plumes, Dynam. Atmos. Oceans, 49, 37–53, https://doi.org/10.1016/j.dynatmoce.2008.11.003, 2010. a, b, c, d, e
Hetland, R. D. and MacDonald, D. G.: Spreading in the nearfield Merrimack River plume, Ocean Model., 21, 12–21, https://doi.org/10.1016/j.ocemod.2007.11.001, 2008. a, b
Hofmeister, R., Burchard, H., and Beckers, J.M.: Nonuniform adaptive vertical grids for 3D numerical ocean models, Ocean Model., 33, 70–86, https://doi.org/10.1016/j.ocemod.2009.12.003, 2010. a, b
Hofmeister, R., Beckers, J.M., and Burchard, H.: Realistic modelling of the exceptional inflows into the central Baltic Sea in 2003 using terrainfollowing coordinates, Ocean Model., 39, 233–247, https://doi.org/10.1016/j.ocemod.2011.04.007, 2011. a
HornerDevine, A. R., Fong, D. A., Monismith, S. G., and Maxworthy, T.: Laboratory experiments simulating a coastal river inflow, J. Fluid Mech., 555, 203–232, https://doi.org/10.1017/S0022112006008937, 2006. a, b, c, d, e, f, g, h, i, j, k
HornerDevine, A. R., Jay, D. A., Orton, P. M., and Spahn, E. Y.: A conceptual model of the strongly tidal Columbia River plume, J. Marine Syst., 78, 460–475, https://doi.org/10.1016/j.jmarsys.2008.11.025, 2009. a, b, c, d, e, f, g, h, i
HornerDevine, A. R., Hetland, R. D., and MacDonald, D. G.: Mixing and transport in coastal river plumes, Annu. Rev. Fluid Mech., 47, 569–594, https://doi.org/10.1146/annurevfluid010313141408, 2015. a, b, c, d, e, f, g, h
Huq, P.: The role of kelvin number on bulge formation from estuarine buoyant outflows, Estuar. Coast., 32, 709–719, https://doi.org/10.1007/s122370099162z, 2009. a, b
Ilıcak, M., Adcroft, A. J., Griffies, S. M., and Hallberg, R. W.: Spurious dianeutral mixing and the role of momentum closure, Ocean Model., 45–46, 37–58, https://doi.org/10.1016/j.ocemod.2011.10.003, 2012. a
Jiang, L. and Xia, M.: Dynamics of the Chesapeake Bay outflow plume: Realistic plume simulation and its seasonal and interannual variability, J. Geophys. Res.Oceans, 121, 1424–1445, https://doi.org/10.1002/2015JC011191, 2016. a
Jirka, G. H. and Arita, M.: Density currents or density wedges: Boundary layer influence and control methods, J. Fluid Mech., 177, 187–206, https://doi.org/10.1017/S0022112087000910, 1987. a
Kärnä, T.: Discontinuous Galerkin discretization for twoequation turbulence closure model, Ocean Model., 150, 101619, https://doi.org/10.1016/j.ocemod.2020.101619, 2020. a, b
Kärnä, T. and Baptista, A. M.: Evaluation of a longterm hindcast simulation for the Columbia River estuary, Ocean Model., 99, 1–14, https://doi.org/10.1016/j.ocemod.2015.12.007, 2016. a
Kärnä, T., Kramer, S. C., Mitchell, L., Ham, D. A., Piggott, M. D., and Baptista, A. M.: Thetis coastal ocean model: discontinuous Galerkin discretization for the threedimensional hydrostatic equations, Geosci. Model Dev., 11, 4359–4382, https://doi.org/10.5194/gmd1143592018, 2018. a, b
Kärnä, T., Kramer, S., Mitchell, L., Wallwork, J., Angeloudis, A., tpkarnacmop, Clare, M., Ham, D. A., Barral, N., McRae, A. T. T., swarder, and Piggott, M.: thetisproject/thetis: Thetis coastal ocean model (Thetis_20210413), Zenodo [code], https://doi.org/10.5281/zenodo.4683743, 2021. a
Klingbeil, K.: FofonovaPlume GETM/GOTM codes, Zenodo [code], https://doi.org/10.5281/zenodo.4695259, 2021. a
Klingbeil, K. and Burchard, H.: Implementation of a direct nonhydrostatic pressure gradient discretisation into a layered ocean model, Ocean Model., 65, 64–77, https://doi.org/10.1016/j.ocemod.2013.02.002, 2013. a
Klingbeil, K., MohammadiAragh, M., Gräwe, U., and Burchard, H.: Quantification of spurious dissipation and mixing – Discrete variance decay in a finiteVolume framework, Ocean Model., 81, 49–64, https://doi.org/10.1016/j.ocemod.2014.06.001, 2014. a, b
Klingbeil, K., Lemarié, F., Debreu, L., and Burchard, H.: The numerics of hydrostatic structuredgrid coastal ocean models: state of the art and future perspectives, Ocean Model., 125, 80–105, https://doi.org/10.1016/j.ocemod.2018.01.007, 2018. a
Knudsen, M.: Ein hydrographischer Lehrsatz, Hydrogr. Mar. Meteorol., 28, 316–320, 1900 (in German). a
Kuzmin, D.: A vertexbased hierarchical slope limiter for hpadaptive discontinuous Galerkin methods, J. Comput. Appl. Math., 233, 3077–3085, https://doi.org/10.1016/j.cam.2009.05.028, 2010. a
Kuznetsov, I., Androsov, A., Fofonova, V., Danilov, S., Rakowsky, N., Harig, S., and Wiltshire, K. H.: Evaluation and application of newly designed finite volume coastal model FESOMC, effect of variable resolution in the Southeastern North Sea, Water (Switzerland), 12, 1412, https://doi.org/10.3390/w12051412, 2020. a
Lazure, P. and Dumas, F.: An external–internal mode coupling for a 3D hydrodynamical model for applications at regional scale (MARS), Adv. Water Resourc., 31, 233–250, https://doi.org/10.1016/j.advwatres.2007.06.010, 2008. a
Liu, Y., MacCready, P., Hickey, B. M., Dever, E. P., Kosro, P. M., and Banas, N. S.: Evaluation of a coastal ocean circulation model for the Columbia river plume in summer 2004, J. Geophys. Res.Oceans, 114, C00B04, https://doi.org/10.1029/2008JC004929, 2009. a
MacCready, P. and Geyer, W. R.: Estuarine salt flux through an isohaline surface, J. Geophys. Res.Oceans, 106, 11629–11637, https://doi.org/10.1029/2001jc900006, 2001. a
MacDonald, D. G. and Geyer, W. R.: Turbulent energy production and entrainment at a highly stratified estuarine front, J. Geophys. Res.Oceans, 109, C05004, https://doi.org/10.1029/2003JC002094, 2004. a
MacDonald, D. G. and Geyer, W. R.: Hydraulic control of a highly stratified estuarine front, J. Phys. Oceanogr., 35, 374–387, https://doi.org/10.1175/JPO2692.1, 2005. a
Miura, H.: An upwindbiased conservative advection scheme for spherical hexagonalpentagonal grids, Mon. Weather Rev., 135, 4038–4044, 2007. a
Nof, D. and Pichevin, T.: The ballooning of outflows, J. Phys. Oceanogr., 31, 3045–3058, https://doi.org/10.1175/15200485(2001)031<3045:TBOO>2.0.CO;2, 2001. a, b, c, d
Ralston, D. K., Cowles, G. W., Geyer, W. R., and Holleman, R. C.: Turbulent and numerical mixing in a salt wedge estuary: Dependence on grid resolution, bottom roughness, and turbulence closure, J. Geophys. Res.Oceans, 122, 692–712, https://doi.org/10.1002/2016jc011738, 2017. a
Stommel, H. and Farmer, H. G.: Control of salinity in an estuary by a transition, J. Mar. Res., 12, 13–20, 1953. a
Umlauf, L. and Burchard, H.: Secondorder turbulence closure models for geophysical boundary layers. A review of recent work, Cont. Shelf Res., 25, 795–827, https://doi.org/10.1016/j.csr.2004.08.004, 2005. a, b
Vallaeys, V., Kärnä, T., Delandmeter, P., Lambrechts, J., Baptista, A. M., Deleersnijder, E., and Hanert, E.: Discontinuous Galerkin modeling of the Columbia River's coupled estuaryplume dynamics, Ocean Model., 124, 111–124, https://doi.org/10.1016/j.ocemod.2018.02.004, 2018. a
van Leer, B.: Towards the Ultimate Conservative Difference Scheme, V. A Second Order Sequel to Godunov's Method, J. Comput. Phys., 32, 101–136, 1979. a
Wang, T., Geyer, W. R., and MacCready, P.: Total Exchange Flow, Entrainment, and Diffusive Salt Flux in Estuaries, J. Phys. Oceanogr., 47, 1205–1220, https://doi.org/10.1175/JPOD160258.1, 2017. a
Whitehead, J. A.: The deflection of a baroclinic jet by a wall in a rotating fluid, J. Fluid Mech., 157, 79–93, https://doi.org/10.1017/S0022112085002312, 1985. a, b, c, d
Wright, L. D. and Coleman, J. M.: Effluent expansion and interfacial mixing in the presence of a Salt Wedge, Mississippi River Delta, J. Geophys. Res., 76, 8649–8661, https://doi.org/10.1029/JC076i036p08649, 1971. a, b, c
Wu, H. and Zhu, J.: Advection scheme with 3rd highorder spatial interpolation at the middle temporal level and its application to saltwater intrusion in the Changjiang Estuary, Ocean Model., 33, 33–51, https://doi.org/10.1016/j.ocemod.2009.12.001, 2010. a
Yankovsky, A. E. and Chapman, D. C.: A simple theory for the fate of buoyant coastal discharges, J. Phys. Oceanogr., 27, 1386–1401, https://doi.org/10.1175/15200485(1997)027<1386:ASTFTF>2.0.CO;2, 1997. a, b, c, d, e, f, g, h, i
 Abstract
 Introduction
 Modeling setup
 Analytical prediction for the plume behavior
 Diagnostic of the numerical diffusivity
 Results
 Discussion
 Conclusions
 Appendix A: Additional runs
 Appendix B: User information
 Code and data availability
 Author contributions
 Competing interests
 Disclaimer
 Acknowledgements
 Financial support
 Review statement
 References
 Supplement
 Abstract
 Introduction
 Modeling setup
 Analytical prediction for the plume behavior
 Diagnostic of the numerical diffusivity
 Results
 Discussion
 Conclusions
 Appendix A: Additional runs
 Appendix B: User information
 Code and data availability
 Author contributions
 Competing interests
 Disclaimer
 Acknowledgements
 Financial support
 Review statement
 References
 Supplement