Skip to main content
Log in

ADMESH: An advanced, automatic unstructured mesh generator for shallow water models

  • Published:
Ocean Dynamics Aims and scope Submit manuscript

Abstract

In this paper, we present the development and application of a two-dimensional, automatic unstructured mesh generator for shallow water models called Admesh. Starting with only target minimum and maximum element sizes and points defining the boundary and bathymetry/ topography of the domain, the goal of the mesh generator is to automatically produce a high-quality mesh from this minimal set of input. From the geometry provided, properties such as local features, curvature of the boundary, bathymetric/topographic gradients, and approximate flow characteristics can be extracted, which are then used to determine local element sizes. The result is a high-quality mesh, with the correct amount of refinement where it is needed to resolve all the geometry and flow characteristics of the domain. Techniques incorporated include the use of the so-called signed distance function, which is used to determine critical geometric properties, the approximation of piecewise linear coastline data by smooth cubic splines, a so-called mesh function used to determine element sizes and control the size ratio of neighboring elements, and a spring-based force equilibrium approach used to improve the element quality of an initial mesh obtained from a simple Delaunay triangulation. Several meshes of shallow water domains created by the new mesh generator are presented.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14

Similar content being viewed by others

References

  • Armstrong CG, Tam TKH, Robinson DJ, McKeag RM, Price MA (1991) Automatic generation of well structured meshes using medial axis and surface subdivision. Advances in Design Automation 32–2:136–146

    Google Scholar 

  • Bilgili A, Smith KW, Lynch DR (2006) BatTri: a two-dimensional bathymetry-based unstructured triangular grid generator for finite element circulation modeling. Comput Geosci 32:632–642

    Article  Google Scholar 

  • Bossen FJ, Heckbert PS (1996) A Pliant method for anisotropic mesh generation. In: Proceedings of the 5th international meshing roundtable, Sandia National Laboratories pp 63–74

  • Bourguignon D, Cani MP (2000) Controlling anisotropy in mass-spring systems. In: Eurographics workshop on computer animation and simulation (EGCAS), pp 113–123

  • Conroy CJ (2010) ADmesh: an advanced mesh generator for hydrodynamic models. Masters Thesis, The Ohio State University

  • Dawson C, Kubatko EJ, Westerink JJ, Trahana C, Mirabito C, Michoskia C, Panda N (2011) Discontinuous Galerkin methods for modeling hurricane storm surge. Adv Water Resour 34 (9):1165–1176

    Article  Google Scholar 

  • Engeln-Mullges G, Uhlig F (1996) Numerical algorithms with C. Springer, New York

    Book  Google Scholar 

  • Field DA (2000) Qualitative measures for initial meshes. Int J Numer Meth Eng 47:887–906

    Article  Google Scholar 

  • Gnoffo P (1982) A vectorized, finite-volume, adaptive-grid algorithm for Navier–Stokes calculations. Appl Math Comput 10:819–835

    Article  Google Scholar 

  • Gnoffo P (1983) A finite-volume, adaptive grid algorithm applied to planetary entry flowfields. AIAA J 21(9):1249–1254

    Article  Google Scholar 

  • Gorman GJ, Piggott MD, Pain CC, de Oliveria CRE, Umpleby AP, Goddard AJH (2006) Optimisation based bathymetry approximation through constrained unstructured mesh adaptivity. Ocean Model 12:436–452

    Article  Google Scholar 

  • Gorman GJ, Piggott MD, Wells MR, Pain CC, Allison PA (2008) A systematic approach to unstructured mesh generation for ocean modeling using GMT and Terreno. Comput Geosci 34:1721–1731

    Article  Google Scholar 

  • Greenberg MD (1998) Advanced engineering mathematics. Prentice–Hall, New Jersey

    Google Scholar 

  • Greenberg DA, Dupont F, Lyard FH, Lynch DR, Werner FE (2007) Resolution issues in numerical models of oceanic and coastal circulation. Cont Shelf Res 27:1317–1343

    Article  Google Scholar 

  • Hagen SC, Horstmann O, Bennett RJ (2002) An unstructured mesh generation algorithm for shallow water modeling. Int J Comput Fluid D 16:83–91

    Article  Google Scholar 

  • Hagen SC, Parrish DM (2004) Meshing requirements for tidal modeling in the Western North Atlantic. Int J Comput Fluid D 18: 585–595

    Article  Google Scholar 

  • Hagen SC, Westerink JJ, Kolar RL (2000) One-dimensional finite element grids based on a localized truncation error analysis. Int J Numer Meth Fluids 32:241–261

    Article  Google Scholar 

  • Hagen SC, Westerink JJ, Kolar RL, Horstman O (2001) Two dimensional, unstructured mesh generation for shallow water models: comparing a wavelength-based approach to a localized truncation error analysis. Int J Numer Meth Fluids 35:669–686

    Article  Google Scholar 

  • Hagen SC, Zundel AK, Kojima S (2004) Automatic, unstructured mesh generation for tidal calculations in a large domain. Int J Comput Fluid D 18:585–595

    Article  Google Scholar 

  • Huthnance JM (1995) Circulation, exchange and water masses at the ocean margin: the role of physical processes at the shelf edge. Prog Oceanogr 35:353–431

    Google Scholar 

  • Lambrechts J, Comblen R, Legat V, Remacle JF (2008) Multiscale mesh generation on the sphere. Ocean Dyn 58:461–473

    Article  Google Scholar 

  • Legrand S, Deleergnijder E, Delhez E, Legat V (2007) Unstructured anisotropic mesh generation for the Northwestern European continental shelf, the continental slope and the neighboring ocean. Cont Shelf Res 27:1344–1356

    Article  Google Scholar 

  • Leuttich RA, Westerink JJ (1995) Continental shelf scale convergence studies with a barotropic tidal model. In: Quantitative Skill Assessment for Coastal Ocean Models Coastal and Estuarine Studies 47:349–371. American Geophysical Union, Washington DC

    Google Scholar 

  • Loder JW (1980) Topographic rectification of tidal currents on the sides of the Georges Bank. J Phys Oceanogr 10:1399–1416

    Article  Google Scholar 

  • Maggi AL (2011) Discontinuous Galerkin methods for shallow water flow: developing a computational infrastructure for mixed element meshes. Masters Thesis, The Ohio State University

  • Mauch S (2003) Efficient algorithms for solving static Hamilton–Jacobi equations. PhD Thesis, CalTech

  • Meshkat SN, Sakkas CM (1987) Voroni diagram for multiply-connected polygonal domains II: implementation and application. IBM J Res Dev 31:373–381

    Article  Google Scholar 

  • National Geophysical Data Center (n.d.) National Oceanic and Atmospheric Administration’s Bathymetry & Global Relief. http://www.ngdc.noaa.gov/mgg/bathymetry/relief.html. Accessed 2012

  • National Geophysical Data Center (n.d.) National Oceanic and Atmospheric Administration’s Coastline Extractor. http://www.ngdc.noaa.gov/mgg/coast/. Accessed 2012

  • Palmerio B (1994) An attraction-repulsion mesh adaption model for flow solution on unstructured grids. Comput Fluids 23(3):487–506

    Article  Google Scholar 

  • Persson PO (2005) Mesh generation for implicit geometries. PhD Thesis, Massachusetts Institute of Technology

  • Persson PO (2006) Mesh size functions for implicit geometries and pde-based gradient limiting. Eng Comput 22(2):95–109

    Article  Google Scholar 

  • Persson PO (2012) DisstMesh - A simple mesh generator in Matlab. http://persson.berkeley.edu/distmesh/. Accessed 2012

  • Persson PO, Strang G (2004) A simple Mesh generator in Matlab. SIAM Rev 46(2):329–345

    Article  Google Scholar 

  • Rouy E, Tourin A (1992) A viscosity solutions approach to shape-from-shading. SIAM J Numer Anal 29(3):867–884

    Article  Google Scholar 

  • Sethian JA (1999) Level set methods and fast marching methods. Cambridge University Press, New York

    Google Scholar 

  • Siddiqi K, Bouix S, Tannenbaum A, Zucker SW (2002) Hamilton–Jacobi skeletons. Int J Comput Vis 48(3):215–231

    Article  Google Scholar 

  • Westerink JJ, Luettich RA, Hagen SC (1994a) Meshing requirements for large scale ocean tidal models. In: Computational Methods in Water Resources. Kluwer Academic, Dordrecht, 10:1323–1330

  • Westerink JJ, Luettich RA, Muccino JC (1994b) Modeling tides in the Western North Atlantic using unstructured graded grids. Tellus 46A:178–199

    Google Scholar 

  • Xing J, Davies AM (1998) A three-dimensional model of internal tides on the Malin-Hebrides shelf and shelf edge. J Geophys Res 103:27821–27847

    Article  Google Scholar 

  • Yao C, Rokne J (1991) A straightforward algorithm for computing the medial axis of a simple polygon. Int J Comput Math 39:51–60

    Article  Google Scholar 

  • Zhu J, Blacker T, Smith R (2002) Background overlay grid size functions. In: Proceedings of 11th international meshing roundtable. Springer, New York

    Google Scholar 

  • Zundel AK, Jones NL (1996) An integrated surface water modeling system. Hydroinformatics 1 & 2:231–237

Download references

Acknowledgements

The authors were supported by the National Science Foundation grants DMS–0915118 and DMS–1045151. The authors would also like to give a special thanks to David Dibling for his assistance in creating the figures in this paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Colton J. Conroy.

Additional information

Responsible Editor: Sergey Danilov

This article is part of the Topical Collection on Multi-scale modelling of coastal, shelf and global ocean dynamics

Rights and permissions

Reprints and permissions

About this article

Cite this article

Conroy, C.J., Kubatko, E.J. & West, D.W. ADMESH: An advanced, automatic unstructured mesh generator for shallow water models. Ocean Dynamics 62, 1503–1517 (2012). https://doi.org/10.1007/s10236-012-0574-0

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10236-012-0574-0

Keywords

Navigation