NUMERICAL DIFFUSION AND DISSIPATION IN HYDROSTATIC MODELS OF INTERNAL WAVES

Similar documents
Continued Investigation of Small-Scale Air-Sea Coupled Dynamics Using CBLAST Data

A Multiscale Nested Modeling Framework to Simulate the Interaction of Surface Gravity Waves with Nonlinear Internal Gravity Waves

A Direct Simulation-Based Study of Radiance in a Dynamic Ocean

Turbulent Premixed Combustion with Flamelet Generated Manifolds in COMSOL Multiphysics

Coupling of STAR-CCM+ to Other Theoretical or Numerical Solutions. Milovan Perić

NUMERICAL SIMULATION OF THE SHALLOW WATER EQUATIONS USING A TIME-CENTERED SPLIT-IMPLICIT METHOD

Phase-field simulation of two-phase micro-flows in a Hele-Shaw cell

Faculty of Mechanical and Manufacturing Engineering, University Tun Hussein Onn Malaysia (UTHM), Parit Raja, Batu Pahat, Johor, Malaysia

On the Resolution Necessary to Capture Dynamics of Unsteady Detonation

Realistic Animation of Fluids

2D numerical simulation of ocean waves

FLOWING FLUIDS AND PRESSURE VARIATION

Parallelization study of a VOF/Navier-Stokes model for 3D unstructured staggered meshes

Thompson/Ocean 420/Winter 2005 Internal Gravity Waves 1

Animation of Fluids. Animating Fluid is Hard

Lagrangian and Eulerian Representations of Fluid Flow: Kinematics and the Equations of Motion

Moving Interface Problems: Methods & Applications Tutorial Lecture II

Table of contents for: Waves and Mean Flows by Oliver Bühler Cambridge University Press 2009 Monographs on Mechanics. Contents.

Quantifying the Dynamic Ocean Surface Using Underwater Radiometric Measurement

Microwell Mixing with Surface Tension

Three Dimensional Numerical Simulation of Turbulent Flow Over Spillways

MIKE 21 & MIKE 3 FLOW MODEL FM. Transport Module. Short Description

COMPUTATIONAL FLUID DYNAMICS ANALYSIS OF ORIFICE PLATE METERING SITUATIONS UNDER ABNORMAL CONFIGURATIONS

A Direct Simulation-Based Study of Radiance in a Dynamic Ocean

Wave Uplift on Platforms or Docks in Variable Depth Jiin-Jen Lee and C.P. Lai"

Analytical Solution and Direct Numerical Simulations of Particulate Turbulent Flows in a Channel. Manjura Maula Nayamatullah

Possibility of Implicit LES for Two-Dimensional Incompressible Lid-Driven Cavity Flow Based on COMSOL Multiphysics

MIKE 21 & MIKE 3 Flow Model FM. Transport Module. Short Description

Numerical Wave Tank Modeling of Hydrodynamics of Permeable Barriers

SIMULATION OF INTERFACIAL FLOWS USING FRONT TRACKING APPROACH

ITU/FAA Faculty of Aeronautics and Astronautics

Numerical simulations of internal solitary waves interacting with uniform slopes using an adaptive model

Coastal impact of a tsunami Review of numerical models

Quantifying the Dynamic Ocean Surface Using Underwater Radiometric Measurement

Aurélien Thinat Stéphane Cordier 1, François Cany

FEMLAB Exercise 1 for ChE366

Comparison Between Numerical & PIV Experimental Results for Gas-Solid Flow in Ducts

NUMERICAL VISCOSITY. Convergent Science White Paper. COPYRIGHT 2017 CONVERGENT SCIENCE. All rights reserved.

MODELLING THE FLOW AROUND AN ISLAND AND A HEADLAND: APPLICATION OF A TWO MIXING LENGTH MODEL WITH TELEMAC3D. Nicolas Chini 1 and Peter K.

IMPROVING THE NUMERICAL ACCURACY OF HYDROTHERMAL RESERVOIR SIMULATIONS USING THE CIP SCHEME WITH THIRD-ORDER ACCURACY

WAVE PATTERNS, WAVE INDUCED FORCES AND MOMENTS FOR A GRAVITY BASED STRUCTURE PREDICTED USING CFD

Driven Cavity Example

Application of Hydrodynamics and Dynamics Models for Efficient Operation of Modular Mini-AUVs in Shallow and Very-Shallow Waters

CFD MODELING FOR PNEUMATIC CONVEYING

Non-Newtonian Transitional Flow in an Eccentric Annulus

Simulation of Turbulent Axisymmetric Waterjet Using Computational Fluid Dynamics (CFD)

CS205b/CME306. Lecture 9

Keywords: flows past a cylinder; detached-eddy-simulations; Spalart-Allmaras model; flow visualizations

A Comparative CFD Analysis of a Journal Bearing with a Microgroove on the Shaft & Journal

Advanced Numerical Methods for NWP Models

Example 13 - Shock Tube

Modeling Khowr-e Musa Multi-Branch Estuary Currents due to the Persian Gulf Tides Using NASIR Depth Average Flow Solver

A mass-conservative version of the semi- Lagrangian semi-implicit HIRLAM using Lagrangian vertical coordinates

CFD Project Workflow Guide

A Direct Simulation-Based Study of Radiance in a Dynamic Ocean

Numerical Simulation of Coastal Wave Processes with the Use of Smoothed Particle Hydrodynamics (SPH) Method

Realtime Water Simulation on GPU. Nuttapong Chentanez NVIDIA Research

ALE Seamless Immersed Boundary Method with Overset Grid System for Multiple Moving Objects

Navier-Stokes & Flow Simulation

ATM 298, Spring 2013 Lecture 4 Numerical Methods: Horizontal DiscreDzaDons April 10, Paul A. Ullrich (HH 251)

Experimental Validation of the Computation Method for Strongly Nonlinear Wave-Body Interactions

Debojyoti Ghosh. Adviser: Dr. James Baeder Alfred Gessow Rotorcraft Center Department of Aerospace Engineering

The Interaction and Merger of Nonlinear Internal Waves (NLIW)

Generation and propagation of solitary wave over a steep sloping beach

MODELED MESOSCALE GRAVITY WAVES: CONTINUOUS SPECTRUM AND ENERGY CASCADE Chungu Lu 1, Steven Koch, Fuqing Zhang, and Ning Wang

Lagrangian methods and Smoothed Particle Hydrodynamics (SPH) Computation in Astrophysics Seminar (Spring 2006) L. J. Dursi

Nonlinear Potential Flow Solver Development in OpenFOAM

Calculate a solution using the pressure-based coupled solver.

Investigating The Stability of The Balance-force Continuum Surface Force Model of Surface Tension In Interfacial Flow

Application of Finite Volume Method for Structural Analysis

Solving non-hydrostatic Navier-Stokes equations with a free surface

Extension of NHWAVE to Couple LAMMPS for Modeling Wave Interactions with Arctic Ice Floes

Partial Differential Equations

lecture 8 Groundwater Modelling -1

J. Vira, M. Sofiev SILAM winter school, February 2013, FMI

ENERGY-224 Reservoir Simulation Project Report. Ala Alzayer

Propagation of internal wave packets in the thermocline

A laboratory-dualsphysics modelling approach to support landslide-tsunami hazard assessment

Particle Tracking Model Data Analysis Tools Part 1: Capabilities in SMS

Essay 1: Dimensional Analysis of Models and Data Sets: Similarity Solutions

CFD Simulation for Stratified Oil-Water Two-Phase Flow in a Horizontal Pipe

Tutorial 1. Introduction to Using FLUENT: Fluid Flow and Heat Transfer in a Mixing Elbow

ITTC Recommended Procedures and Guidelines. ITTC Quality System Manual. Recommended Procedures and Guidelines

HIGH PERFORMANCE COMPUTATION (HPC) FOR THE

arxiv: v1 [physics.flu-dyn] 23 Oct 2018

Continuum-Microscopic Models

EVALUATE SHOCK CAPTURING CAPABILITY WITH THE NUMERICAL METHODS IN OpenFOAM

Advanced Numerical Methods for Numerical Weather Prediction

QUASI-3D SOLVER OF MEANDERING RIVER FLOWS BY CIP-SOROBAN SCHEME IN CYLINDRICAL COORDINATES WITH SUPPORT OF BOUNDARY FITTED COORDINATE METHOD

The Ventilated Ocean: What controls ocean stratification and overturning circulation and Lagrangian ocean modeling. Alexey Fedorov

Computational Study of Laminar Flowfield around a Square Cylinder using Ansys Fluent

Acknowledgements. Prof. Dan Negrut Prof. Darryl Thelen Prof. Michael Zinn. SBEL Colleagues: Hammad Mazar, Toby Heyn, Manoj Kumar

MESHLESS SOLUTION OF INCOMPRESSIBLE FLOW OVER BACKWARD-FACING STEP

OMAE SLOSHING AND SWIRLING IN PARTIALLY LOADED PRISMATIC CHAMFERED TANKS

Figure 2: Water Into Kerosene, Volume Fraction (Left) And Total Density Of Mixture (Right)

A Hybrid Technique Using Particle and Boundary-Element Methods for Wave-Body Interaction Problems

LATTICE-BOLTZMANN METHOD FOR THE SIMULATION OF LAMINAR MIXERS

Stratified Oil-Water Two-Phases Flow of Subsea Pipeline

1. Mathematical Modelling

Numerical and theoretical analysis of shock waves interaction and reflection

Transcription:

NUMERICAL DIFFUSION AND DISSIPATION IN HYDROSTATIC MODELS OF INTERNAL WAVES Ben R. Hodges 1 (A.M., ASCE) and Sarah Kelly Delavan 2 ABSTRACT Analysis of numerical diffusion and dissipation rates in a hydrostatic model of an internal wave are used to illustrate convergence problems associated with hydrostatic modeling of an essentially non-hydrostatic phenomenon. As the model grid is refined in the vertical direction, the numerical diffusion is convergent (i.e. reduces with grid refinement). However as the model grid is refined in the horizontal direction, the diffusive error increases with grid refinement. The error behavior is linked to the development of shorter wavelength horizontal waves that are numerically generated as the internal wave steepens. Higher grid refinement in the horizontal direction allows shorter wavelengths to be developed, which have higher rates of numerical diffusion and dissipation. It is seen that the onset of the shorter wavelengths coincides with a shift in the diffusion and dissipation behavior that is highly grid-dependent. Keywords: internal wave, hydrodynamic numerical model, numerical error INTRODUCTION The behavior of internal waves in lakes and coastal oceans may have an impact on mixing across the thermocline, sediment resuspension as well as the distribution of phytoplankton and nutrients. Due to practical computational limits, models used for lake and coastal ocean systems are typically based on the Reynolds-averaged Navier-Stokes equations with the hydrostatic approximation. As the hydrostatic approximation requires larger horizontal velocity scales than vertical a condition readily met over much of such systems the approximation appears reasonable. However, it is a fundamental tenet of numerical modeling that a good model must be convergent as the grid scale is refined. This brings up a difficulty for models applying the hydrostatic approximation: solutions on refined grids may converge to the wrong equations! That is, as the model grid is refined we reduce numerical errors in dissipation and diffusion, arriving at a better hydrostatic solution for scales where non-hydrostatic behavior may be 1 Corresponding author: Department of Civil Engineering, University of Texas at Austin, Austin, TX 78712, USA, email hodges@mail.utexas.edu, fax 512-471-5870. 2 Department of Civil Engineering, University of Texas at Austin, Austin, TX 78712, USA.

important. We can consider model skill to be how well a model represents the physical phenomena, from which it follows that skill considers both the errors introduced in numerical approximation and the errors introduced by approximation in the governing equations. Thus, a hydrostatic model on a refined grid may not be more skillful than the model on a coarse grid as reduction in numerical error may increase the accumulation of error associated with the hydrostatic approximation. This appears to have a significant impact on accurate modeling of internal waves. Internal waves are affected both by nonlinear steepening and dispersion, the latter being inherently non-hydrostatic and therefore neglected in a hydrostatic model. The evolution of non-breaking internal waves from basin-scale seiches into trains of solitary waves was analyzed and demonstrated in the laboratory by Horn et al. (2001). As hydrostatic models retain the nonlinear terms that steepen an internal wave, there is a tendency for waves in a hydrostatic model to steepen until controlled by dissipation or diffusion (either modeled or numerical). When numerical error controls steepening, the effect will be greater at finer grid scales. The increased steepening can lead to a net reduction of model skill with grid refinement. This effect was first noted as an aside in a conference paper by Laval et al. (2000), but led to much consternation among the reviewers of the subsequent journal paper (Laval et al. 2003) and was excised as being too controversial and parenthetical to the main thrust of the research. The present paper provides a more detailed look at the error behavior associated with grid refinement of internal waves in hydrostatic models. λ/2 H U H P z H L x FIG. 1. Definitional sketch. The following characteristics were used for all simulations: H P = 15 m, H L = 32.92 m, H U = 16.96 m, λ = 2x10 4 m, initial wave amplitude = 2 m. Reference density = 1000 kg/m 3 2

RESULTS AND DISCUSSION To illustrate the error increase associated with grid refinement in a model of an internal wave, we can consider a simple inviscid two-dimensional domain (Fig. 1). The initial condition is a horizontal-mode-one, basin-scale cosine wave with the density profile obtained from a hyperbolic tangent. The result is a pycnocline (H P ) with an almost linear density profile that smoothly transitions between two regions of essentially constant density. For a system with zero viscosity and zero scalar diffusivity, the theoretical wave evolution provides strict conservation of energy. Furthermore, while kinetic and available potential energy should smoothly oscillate with the wave motion, the background potential energy (i.e. the lowest potential energy possible for an adiabatically resorted density field, e.g. Winters et al., 1995) must remain constant. Thus, by applying a model with zero physical viscosity and zero physical diffusivity, we can use the energy changes to quantify the errors associated with numerical dissipation and diffusion as the grid is refined. The model used in this study is the Centre for Water Research Estuary and Lake Computer Model (CWR-ELCOM), which is based on established methodologies (see Hodges, 2000, for details) and has seven papers on methods and results that are published or in press. CWR-ELCOM solves the three-dimensional unsteady RANS equations using: 1) either 1 st or 2 nd order semi-implicit free surface solution, 2) quadratic semi-lagrangian advection discretization and 3) third-order ULTIMATE QUICKEST (Leonard, 1991) scalar transport. We have conducted a series of model runs at varying grid resolutions illustrated in TABLE 1. Set A refines the grid in the vertical, while holding the horizontal grid fixed. Set B refines the grid in the horizontal while holding the vertical grid fixed. The time step was held constant with 150 time steps per wave period (T/ t = 150). TABLE 1. Model configurations Set A Set B horizontal grid resolution ( λ 0 / x) 60 30 60 120 vertical grid resolution (H P / z) 6 9 12 12 To analyze the system at each time step, we compute the background density as the density field if the internal wave were brought to rest without mass diffusion. The background potential energy (E B ) is the potential energy of this background density field. For an internal wave system with zero mass diffusion, E B should be constant for all time i.e. pure advection cannot cause diffusion, and only diffusion can change E B. Thus, the increase in background potential energy is a direct measure of the accumulated effects of numerical diffusion for this model setup. The available potential energy (E A ) is the difference between the potential energy (E P ) at a time step and the background, ie. EA = EP EB (1) As an internal wave creates an oscillation between E A and kinetic energy (E K ), we can define the 3

dynamic energy (E D ) of the system as their sum: ED = EA + EK (2) For an inviscid internal wave system, E D should be constant for all time. Thus, numerical dissipation can be analyzed from the decline in the dynamic energy. For Set A, refining the vertical grid, the results in Fig 2(a) show that the differences in dynamic energy are small up until ~ 7 wave periods, when the dissipation rate for the more refined grid becomes slightly greater than that for the coarser grids. In Fig 2(b), it is seen that the more highly resolved grid always shows a smaller increase in the background potential energy. Thus, it appears that up until 7 wave periods, refining the vertical grid behaves as we would like a model to behave, i.e. refining the grid reduces both the dissipative and diffusive errors. FIG. 2. Refining vertical grid resolution (Set A). Thick lines are time evolution of a) dynamic energy and b) background potential energy. Vertical grid resolution is defined by the thickness of the pycnocline (H p ) normalized by the vertical grid cell thickness ( z); Dynamic energy, E D, is normalized by the initial dynamic energy, E D (0); Background potential energy, E B, is presented as increase from the initial background potential energy, E B (0), normalized by the initial dynamic energy. Model results are mean values for 1 wave-period bins. Thin lines at bottom of each panel provide standard deviation of bins. 4

For Set B, refining the horizontal grid, the results in Fig 3(a) are similar to Fig. 2(a), showing only small differences in dissipation up until ~ 7 wave periods, where the dissipation rate increases and the more refined grids have greater dissipation. Fig. 3(b) is dramatically different than Fig. 2(b) in that it shows that horizontal grid refinement leads to substantially greater diffusive error after ~ 7 wave periods. FIG. 3. Refining horizontal grid resolution (Set B). Thick lines are time evolution of a) dynamic energy and b) background potential energy. Horizontal grid resolution is defined by the initial condition wavelength (λ 0 ) normalized by the horizontal grid cell length ( x); Other normalization and lines as in Fig 2. To understand why the characteristics of the error change around 7 wave periods, we can examine the power spectral density (PSD) of the internal wave displacement at each time step. In Fig 4, the evolution of the PSD is presented in terms of the normalized wavelength, so that at the start of the simulation all the power is concentrated in a wave whose normalized wavelength is unity. There can be seen a distinct transition around t/t=7, when the energy substantially transitions into shorter wavelengths. The nonlinear terms allow the wave to steepen and, without any dynamic pressure to limit steepening, the wave front becomes a propagating bore and begins to transfer energy to shorter wavelengths. In both the coarse grid (Fig 4a) and the fine grid (Fig 4b) it can be seen that energy is initially transferred to a short wavelength. As the simulation progresses, the peak energy appears in longer and longer wavelengths (converging 5

back on unity) so that the figures appear to show the energy cascading up to larger scales. However, this is an artifact of the normalization method used to emphasize the energy at the smaller wavelengths. The PSD in Fig 4 is of the normalized wave displacement for each wave period. Since the wave displacement grows smaller with time (due to numerical dissipation), the structure of the PSD is difficult to decipher unless normalized. Since the overall energy is decaying with time, the apparent transfer of energy from small to larger wavelengths can be better understood as increased dissipation of the energy at the smaller wavelengths, which results in the peak energy shifting back towards the larger scale. FIG. 4. Wave-period averaged time evolution of relative power spectral density (PSD) computed from internal wave displacement normalized by maximum displacement in each wave period. Panel a) shows PSD for low horizontal grid resolution (λ 0 / x = 30). Panel b) shows PSD for high horizontal grid resolution (λ 0 / x = 120). CONCLUSIONS While the above results do not exhaustively analyze the possible data space associated with internal wave modeling, they are indicative of a fundamental problem with hydrostatic modeling of internal waves. As the model grid is refined in the horizontal direction, the steepening of the wave due to the lack of non-hydrostatic pressure results in energy transfer to smaller wavelengths where numerical diffusion and dissipation are enhanced. If the vertical grid spacing is refined 6

while holding the horizontal grid spacing constant, then a model is enforcing a greater hydrostatic aspect ratio on the computation and the model diffusive error is convergent. However, when the horizontal grid is refined while holding the vertical grid constant, the diffusive error is not convergent, but increases with grid refinement. ACKNOWLEDGMENTS This research was supported by the Office of Naval Research under Young Investigator Program Grant N00014-01-1-0574, Program Officer Dr. Theresa Paluszkiewicz. REFERENCES Hodges, B.R. (2000), Numerical techniques in CWR-ELCOM. Centre for Water Research, University of Western Australia. Technical Report WP 1422-BH, 37 pgs. Horn, D.A., J. Imberger, and G.N. Ivey (2001), The Degeneration of Large-Scale Interfacial Gravity Waves in Lakes, Journal of Fluid Mechanics 434: 181-207. Laval, B., B.R. Hodges, and J. Imberger (2000), Vertical transport in large stratified lakes. Fifth International Symposium on Stratified Flows, Vancouver, Canada, pp. 343-8. Laval, B., J. Imberger, B.R. Hodges, and R. Stocker (2003), Modeling Circulation in Lakes: Spatial and Temporal Variations, Limnology and Oceanography 48: (3): 983-994. Leonard, B.P. (1991), The ultimate conservative difference scheme applied to unsteady one-dimensional advection, Computer Methods in Applied Mechanics and Engineering, 88: 17-74. Winters, K.B., P.N. Lombard, J.J. Riley, and E.A. D'Asaro (1995), Available potential energy and mixing in density-stratified fluids, Journal of Fluid Mechanics 289: 115-128. APPENDIX I. NOTATION λ ρ x z E A E B E D E K E P H L H P H U L T t wavelength local density anomaly grid spacing in horizontal grid spacing in vertical available potential energy background potential energy dynamic energy kinetic energy total potential energy thickness of the lower density layer thickness of pycnocline thickness of the upper density layer basin horizontal length horizontal mode-one theoretical internal wave period time 7