4 CONCLUSIONS
A new fully discrete mass– and total-energy–
conserving finite difference model for the simulation
of shallow-water flows in bay-like domains with com-
plex boundaries was developed. Having taken the
SWEs written in the divergent form, we involved the
idea of operator splitting coupled with the Crank-
Nicolson approximation and constructed absolutely
stable second-order finite difference schemes that al-
low accurate simulation of shallow-water flows in
spherical domains of arbitrary shapes. An important
integral invariant of motion of the SWEs, the potential
enstrophy, proved to be bounded for an inviscid un-
forced fluid, oscillating in time within a narrow range.
Hence, the numerical solution is mathematically ac-
curate and provides physically adequate results. Due
to the method of splitting the developed model can
straightforwardly be implemented for distributed sim-
ulation of shallow-water flows on high-performance
parallel computers. Numerical experiments with a
simple inviscidunforced closed shallow-watersystem
and with a viscous open wind-driven shallow-water
model simulating a real situation nicely confirmed the
skills of the new method.
ACKNOWLEDGEMENTS
This research was partially supported by the grants
No. 14539 and No. 26073 of the National Sys-
tem of Researchers of Mexico (SNI), and is part of
the projects PAPIIT-UNAM IN104811 and PAPIME-
UNAM PE103311, Mexico.
REFERENCES
Agoshkov, V. I. and Saleri, F. (1996). Recent developments
in the numerical simulation of shallow water equa-
tions. part iii: Boundary conditions and finite element
approximations in the river flow calculations. Math.
Modelling, 8:3–24.
Arakawa, A. and Lamb, V. R. (1981). A potential enstrophy
and energy conserving scheme for the shallow-water
equation. Mon. Wea. Rev., 109:18–36.
Bouchut, F., Sommer, J. L., and Zeitlin, V. (2004). Frontal
geostrophic adjustment and nonlinear wave phenom-
ena in one-dimensional rotating shallow water. part
ii: High-resolution numerical simulations. J. Fluid
Mech., 514:35–63.
Heikes, R. and Randall, D. A. (1995). Numerical integra-
tion of the shallow-water equations on a twisted icosa-
hedral grid. part i: Basic design and results of tests.
Mon. Wea. Rev., 123:1862–1880.
Jirka, G. H. and Uijttewaal, W. S. J., editors (2004). Shallow
Flows, London. Taylor & Francis.
Kundu, P. K., Cohen, I. M., and Dowling, D. R. (2012).
Fluid Mecanics. Academic Press, 5th edition.
LeVeque, R. J. and George, D. L. (2007). High-resolution
finite volume methods for the shallow-water equations
with bathymetry and dry states. In Yeh, H., Liu,
P. L., and Synolakis, C. E., editors, Advanced Numeri-
cal Models for Simulating Tsunami Waves and Runup,
pages 43–73. World Scientific Publishing, Singapore.
Marchuk, G. I. (1982). Methods of Computational Mathe-
matics. Springer-Verlag, Berlin.
Oliger, J. and Sundstrom, A. (1978). Theoretical and prac-
tical aspects of some initial boundary value problems
in fluid dynamics. SIAM J. Appl. Anal., 35:419–446.
Pedlosky, J. (1987). Geophysical Fluid Dynamics. Springer,
2nd edition.
Press, W. H., Teukolsky, S. A., Vetterling, W. T., and Flan-
nery, B. P. (2007). Numerical Recipes: The Art of Sci-
entific Computing. Cambridge University Press, Cam-
bridge.
Ringler, T. D. and Randall, D. A. (2002). A potential en-
strophy and energy conserving numerical scheme for
solution of the shallow-water equations on a geodesic
grid. Mon. Wea. Rev., 130:1397–1410.
Sadourny, R. (1975). The dynamics of finite-difference
models of the shallow-water equations. J. Atmos. Sci.,
32:680–689.
Salmon, R. (2009). A shallow water model conserving en-
ergy and potential enstrophy in the presence of bound-
aries. J. Mar. Res., 67:1–36.
Shokin, Y. I. (1988). Completely conservative difference
schemes. In de Vahl Devis, G. and Fletcher, C., edi-
tors, Computational Fluid Dynamics, pages 135–155.
Elsevier, Amsterdam.
Simonnet, E., Ghil, M., Ide, K., Temam, R., and Wang, S.
(2003). Low-frequency variability in shallow-water
models of the wind-driven ocean circulation. part i:
Steady-state solution. J. Phys. Ocean., 33:712–728.
Skiba, Y. N. (1995). Total energy and mass conserving finite
difference schemes for the shallow-water equations.
Russ. Meteorol. Hydrology, 2:35–43.
Skiba, Y. N. and Filatov, D. M. (2008). Conservative arbi-
trary order finite difference schemes for shallow-water
flows. J. Comput. Appl. Math., 218:579–591.
Skiba, Y. N. and Filatov, D. M. (2009). Simulation of
soliton-like waves generated by topography with con-
servative fully discrete shallow-water arbitrary-order
schemes. Internat. J. Numer. Methods Heat Fluid
Flow, 19:982–1007.
Vol’tsynger, N. E. and Pyaskovskiy, R. V. (1977). Theory of
Shallow Water. Gidrometeoizdat, St. Petersburg.
Vreugdenhil, C. B. (1994). Numerical Methods for
Shallow-Water Flow. Kluwer Academic, Dordrecht.
SimulationofShallow-waterFlowsinComplexBay-likeDomains
31