the Creative Commons Attribution 4.0 License.
the Creative Commons Attribution 4.0 License.
The discontinuous Galerkin coastal and estuarine modelling system (DGCEMS v1.0.0): a three-dimensional, mode-nonsplit, implicit-explicit Runge–Kutta hydrostatic model
Abstract. Numerical method of discontinuous Galerkin (DG) discretization for coastal ocean modelling have advanced significantly, but there are still challenges in accurately simulating phenomena such as wetting and drying process and baroclinic flows in coastal and estuarine regions. This study develops a novel 3D coastal and estuarine modelling system, DGCEMS, using a quadrature-free nodal DG method. The model adopts σ-coordinates, employs a non-split mode framework, and integrates a semi-implicit Runge–Kutta scheme with second-order accuracy in both space and time. A series of numerical experiments demonstrate the model’s second-order convergence, low spurious mixing, and capability to simulate salt-freshwater interactions in the presence of wetting and drying boundaries.
- Preprint
(5785 KB) - Metadata XML
- BibTeX
- EndNote
Status: open (until 30 May 2025)
-
RC1: 'Comment on gmd-2024-240', Anonymous Referee #1, 28 Feb 2025
reply
In this paper, the authors describe their development of a novel 3D coastal and estuarine modelling system called DGCEMS based on the nodal discontinuous Galerkin method. Through some tests, it has been demonstrated that the model has second-order convergence, low spurious mixing, and capability to simulate salt-freshwater interactions in the presence of wetting and drying boundaries. The subject of the paper is well presented, and definitely of interest to the modeling community. I’d recommend the paper for publication, after addressing the following comments.
1.In the governing equations, no specific vertical stratification was given, but Figure 1 shows 2 layers, while 10(Line 230) and 20 layers(Line 254) were used in Section 3.1 and 3.2, respectively. How is vertical stratification determined?
2.When presenting the model algorithm, it is necessary to highlight the innovative points of the solution, which can help readers better understand.
3.In model validation, the sources of analytical and experimental solutions should be provided first. In other words, from cases in Section 3.1 to 3.4, which ones are referenced from others and which ones are used for the first time, there should be more specific explanations.
Citation: https://doi.org/10.5194/gmd-2024-240-RC1 -
AC1: 'Reply on RC1', Qinghe Zhang, 28 Feb 2025
reply
Thank you for the suggestions and evaluation.
Answer1: The vertical layering of the model can theoretically be arbitrary. The more layers there are, the higher the accuracy of vertical flow velocity will be, but it will not increase the convergence order of the solution and will also increase the calculation time of the model. The two layers shown in Figure 1 are intended to clearly express the spatial distribution of interpolation nodes in the vertical direction. We will add necessary explanations in the revised version.
Answer2: Thank you. We will emphasize the significance of using the wet dry treatment and limiters in the mode nonsplit model algorithm. The 3D limiters are always applied after achieving the physical field to prevent pathological solutions, and then we can obtain the vertically averaged physical field. The WD treatment is carried out after obtaining the vertically averaged physical field to ensure the conservation of water elevation and depth-average momentum.
Answer3: Thanks for the suggestion. The artificial analytical solution in Section 3.1 is a re-derivation of the analytical expression in the sigma coordinate system based on Kärnä et al. (2018). The case in Section 3.4 is inspired by the examples used in Chen et al. (2022) and conducted research using our own designed grid.
Citation: https://doi.org/10.5194/gmd-2024-240-AC1
-
AC1: 'Reply on RC1', Qinghe Zhang, 28 Feb 2025
reply
-
CC1: 'Comment on gmd-2024-240', Ange Ishimwe, 22 Apr 2025
reply
The paper presents an interesting coastal and estuarine modelling system based on discontinuous Galerkin methods. The model is three-dimensional, hydrostatic, and employs a mode-nonsplit, implicit-explicit (IMEX) Runge–Kutta time integration. It is built using a quadrature-free nodal formulation and is claimed to be second-order accurate in both space and time. The mathematical formulation and notation are clearly presented, and the numerical methods are well described.
My main concern lies in the claim of second-order accuracy in time. The IMEX approach treats the vertical diffusion term implicitly, while all other terms are handled explicitly. When these two components are considered separately, the explicit scheme corresponds to a second-order Runge–Kutta method:
y^1 = y^n + dt f(y^n)
y^n+1 = y^n + dt/2 ( f(y^n) + f(y^1))
In contrast, the implicit part used for vertical diffusion is essentially a first-order implicit Euler method:
y^n+1 = y^n + dt f(y^n+1)
This means that when vertical diffusion is active, even if it is not dominant, the scheme loses second-order temporal accuracy and becomes effectively first-order in time for those terms.
Unfortunately, the numerical experiments do not adequately support the claim of second-order accuracy in time. The first test, based on a manufactured solution, excludes diffusion and only assesses spatial convergence. No temporal convergence is shown, so the second-order accuracy in time is not validated in this case. Moreover, since diffusion is excluded, the test cannot address the concern regarding the implicit treatment of vertical diffusion. The second test case, a lock-exchange with constant viscosity, primarily aims to evaluate spurious horizontal mixing and shows coherent evolution of the reference potential energy. However, it does not assess the temporal accuracy of the scheme either.
Could the authors clarify how second-order accuracy in time is ensured when vertical diffusion is included? Maybe additional numerical evidence demonstrating this, or further discussion on the temporal discretization strategy, would greatly strengthen the manuscript.
Citation: https://doi.org/10.5194/gmd-2024-240-CC1 -
AC2: 'Reply on CC1', Qinghe Zhang, 23 Apr 2025
reply
Thank you for the thoughtful comments. We now respond to the concern regarding the temporal accuracy of our IMEX time discretization, particularly in the presence of vertical diffusion treated implicitly.
As correctly pointed out, the vertical diffusion term is discretized using a backward Euler scheme, which is first-order accurate in time. However, our time integration strategy is based on a class of additive Runge‒Kutta methods known as IMEXRK schemes, which allow for a second-order explicit scheme to be coupled with a first-order implicit treatment, while still maintaining overall second-order accuracy. In this second-order IMEX framework, the implicit terms do not need to be of the same order as the explicit terms. As long as the overall scheme satisfies the conditions for second-order accuracy, or if the numerical error is dominated by the explicit terms, the method can still achieve second-order accuracy.
In another word, you may find in Eq. (27) that the implicit step does not use y^n, but y^(2) instead. Here the final physical fields results are calculated by the values from the second prediction step. Besides, the coefficients in each stage must jointly satisfy the Butcher tableau in order for the coupling of the second-order explicit and first-order implicit time discretizations to achieve overall second-order accuracy. The present study follows the second-order IMEX Runge–Kutta scheme used in the Thetis model (Kärnä et al, 2018), which provides justification for the second-order accuracy in time.
We agree with the reviewer that verifying the temporal order of accuracy through convergence tests is a meaningful effort. However, designing such test cases requires carefully eliminating the influence of spatial discretization errors and involves consideration of multiple factors. We plan to conduct a more in-depth investigation on this in future work.
Citation: https://doi.org/10.5194/gmd-2024-240-AC2
-
AC2: 'Reply on CC1', Qinghe Zhang, 23 Apr 2025
reply
Viewed
HTML | XML | Total | BibTeX | EndNote | |
---|---|---|---|---|---|
138 | 26 | 10 | 174 | 10 | 10 |
- HTML: 138
- PDF: 26
- XML: 10
- Total: 174
- BibTeX: 10
- EndNote: 10
Viewed (geographical distribution)
Country | # | Views | % |
---|
Total: | 0 |
HTML: | 0 |
PDF: | 0 |
XML: | 0 |
- 1