Journal of Advances in Modeling Earth Systems (Jun 2024)

A Pressure Projection Scheme With Near‐Spectral Accuracy for Nonhydrostatic Flow in Domains With Open Boundaries

  • K. B. Winters,
  • Mariona Claret,
  • M.‐Pascale Lelong,
  • Yann Ourmières

DOI
https://doi.org/10.1029/2023MS004040
Journal volume & issue
Vol. 16, no. 6
pp. n/a – n/a

Abstract

Read online

Abstract We describe a pressure projection scheme for the simulation of incompressible flow in cubic domains with open boundaries based on fast Fourier transforms. The scheme is implemented in flow_solve, a numerical code designed for process studies of rotating, density‐stratified flow. The main algorithmic features of the open‐boundary code are the near‐spectral accuracy of the discrete differentiation and a dynamic two‐dimensional domain decomposition that scales efficiently to large numbers of processors. The simulated flows are not required to be periodic or to satisfy symmetry conditions at the open boundaries owing to the use of mixed series expansions combining cosine and singular Bernoulli polynomial basis functions. These expansions facilitate the imposition of inhomogeneous boundary conditions and allow the code to be used for offline, one‐way nesting within an arbitrarily embedded subdomain of a larger scale simulation. The projection scheme is designed to exploit a simple and powerful numerical engine: inversion of Poisson's equation with homogeneous Neumann boundary conditions using fast cosine transforms. Here, we describe the mathematical transformations used to accommodate the imposition of space‐ and time‐varying boundary conditions. The utility of the approach for process studies and for nesting within submesoscale‐resolving ocean models is demonstrated with simulations of wind‐driven near‐inertial waves in the upper ocean.

Keywords