General Curvilinear Ocean Model (GCOM): Enabling Thermodynamics

Similar documents
Introduction to Atmospheric Circulation

ATS 421/521. Climate Modeling. Spring 2015

centrifugal acceleration, whose magnitude is r cos, is zero at the poles and maximum at the equator. This distribution of the centrifugal acceleration

Environmental Fluid Dynamics

The Shallow Water Equations

Control Volume. Dynamics and Kinematics. Basic Conservation Laws. Lecture 1: Introduction and Review 1/24/2017

Lecture 1: Introduction and Review

Thomas Pierro, Donald Slinn, Kraig Winters

2. FLUID-FLOW EQUATIONS SPRING 2019

Donald Slinn, Murray D. Levine

1 Introduction to Governing Equations 2 1a Methodology... 2

OpenFOAM selected solver

1/3/2011. This course discusses the physical laws that govern atmosphere/ocean motions.

OCEAN MODELING. Joseph K. Ansong. (University of Ghana/Michigan)

Prof. Simon Tett, Chair of Earth System Dynamics & Modelling: The University of Edinburgh

Contents. Parti Fundamentals. 1. Introduction. 2. The Coriolis Force. Preface Preface of the First Edition

WQMAP (Water Quality Mapping and Analysis Program) is a proprietary. modeling system developed by Applied Science Associates, Inc.

Appendix B. Coordinate Transformation

1/18/2011. Conservation of Momentum Conservation of Mass Conservation of Energy Scaling Analysis ESS227 Prof. Jin-Yi Yu

Planetary Atmospheres. Structure Composition Clouds Photochemistry Meteorology Atmospheric Escape

Governing Equations of Fluid Dynamics

Lecture 3. Turbulent fluxes and TKE budgets (Garratt, Ch 2)

2 Equations of Motion

Chapter 1. Governing Equations of GFD. 1.1 Mass continuity

NWP Equations (Adapted from UCAR/COMET Online Modules)

Torben Königk Rossby Centre/ SMHI

Chapter 5. The Differential Forms of the Fundamental Laws

Dynamics and Kinematics

Turbulence: Basic Physics and Engineering Modeling

Geophysics Fluid Dynamics (ESS228)

Eddy viscosity. AdOc 4060/5060 Spring 2013 Chris Jenkins. Turbulence (video 1hr):

OCEAN HYDRODYNAMIC MODEL

Some remarks on climate modeling

ESS Turbulence and Diffusion in the Atmospheric Boundary-Layer : Winter 2017: Notes 1

Conservation of Mass Conservation of Energy Scaling Analysis. ESS227 Prof. Jin-Yi Yu

Needs work : define boundary conditions and fluxes before, change slides Useful definitions and conservation equations

Non-hydrostatic pressure in σ-coordinate ocean models

The Johns Hopkins Turbulence Databases (JHTDB)

Math background. Physics. Simulation. Related phenomena. Frontiers in graphics. Rigid fluids

Horizontal buoyancy-driven flow along a differentially cooled underlying surface

Wind Flow Modeling The Basis for Resource Assessment and Wind Power Forecasting

Daniel J. Jacob, Models of Atmospheric Transport and Chemistry, 2007.

Computational Fluid Dynamics 2

GFD 2012 Lecture 1: Dynamics of Coherent Structures and their Impact on Transport and Predictability

Atmosphere, Ocean and Climate Dynamics Fall 2008

Fluid Animation. Christopher Batty November 17, 2011

Before we consider two canonical turbulent flows we need a general description of turbulence.

21 Rotating flows. Lecture 21 Spring J Nonlinear Dynamics II: Continuum Systems The Taylor-Proudman theorem

Chapter 7. Geophysical Fluid Dynamics of Coastal Region

The Planetary Circulation System

Governing Equations and Scaling in the Tropics

ADAPTATION OF THE REYNOLDS STRESS TURBULENCE MODEL FOR ATMOSPHERIC SIMULATIONS

Meteorology 6150 Cloud System Modeling

meters, we can re-arrange this expression to give

Model equations for planetary and synoptic scale atmospheric motions associated with different background stratification

Water Stratification under Wave Influence in the Gulf of Thailand

Lecture The Oceans

PDE Solvers for Fluid Flow

LES of wind turbulence and heat environment around dense tall buildings

ESCI 485 Air/Sea Interaction Lesson 1 Stresses and Fluxes Dr. DeCaria

Q.1 The most abundant gas in the atmosphere among inert gases is (A) Helium (B) Argon (C) Neon (D) Krypton

Colloquium FLUID DYNAMICS 2012 Institute of Thermomechanics AS CR, v.v.i., Prague, October 24-26, 2012 p.

Weather & Ocean Currents

Relativistic Hydrodynamics L3&4/SS14/ZAH

Direct Numerical Simulations of converging-diverging channel flow

On the validation study devoted to stratified atmospheric flow over an isolated hill

warmest (coldest) temperatures at summer heat dispersed upward by vertical motion Prof. Jin-Yi Yu ESS200A heated by solar radiation at the base

Earth s Climate Patterns

Measurement of Rotation. Circulation. Example. Lecture 4: Circulation and Vorticity 1/31/2017

ESS314. Basics of Geophysical Fluid Dynamics by John Booker and Gerard Roe. Conservation Laws

Air Pollution Meteorology

Buoyancy Fluxes in a Stratified Fluid

Physically Based Simulations (on the GPU)

Study of Forced and Free convection in Lid driven cavity problem

NUMERICAL SIMULATION OF HEAT TRANSFER AND FLUID FLOW IN A SALT GRADIENT POND

An Introduction to Theories of Turbulence. James Glimm Stony Brook University

An Introduction to Coupled Models of the Atmosphere Ocean System

Chapter 2. Quasi-Geostrophic Theory: Formulation (review) ε =U f o L <<1, β = 2Ω cosθ o R. 2.1 Introduction

HWRF Ocean: MPIPOM-TC

Surface Circulation Ocean current Surface Currents:

Lecture 9: Tidal Rectification, Stratification and Mixing

2.3 The Turbulent Flat Plate Boundary Layer

The Structure and Motion of the Atmosphere OCEA 101

Boundary Layers. Lecture 2 by Basile Gallet. 2i(1+i) The solution to this equation with the boundary conditions A(0) = U and B(0) = 0 is

Introduction to Atmospheric Circulation

( ) = 1005 J kg 1 K 1 ;

DYNAMICS OF LIQUEFIED SEDIMENT FLOW. Advances in Natural and Technological Hazards Research Vol. 19

( ) (9.1.1) Chapter 9. Geostrophy, Quasi-Geostrophy and the Potential Vorticity Equation. 9.1 Geostrophy and scaling.

Turbulence and Energy Transfer in Strongly-Stratified Flows

General Circulation. Nili Harnik DEES, Lamont-Doherty Earth Observatory

Ocean Model Development for COAMPS

Winds and Currents in the Oceans

Upper Ocean Circulation

Fundamentals of Weather and Climate

ATM S 111, Global Warming Climate Models

11/2/18. SIO15-18: Lecture15: The Atmosphere and Climate. SIO15-18: Lecture15: The Atmosphere and Climate. source: wikipedia

SAMPLE CHAPTERS UNESCO EOLSS WAVES IN THE OCEANS. Wolfgang Fennel Institut für Ostseeforschung Warnemünde (IOW) an der Universität Rostock,Germany

OCN/ATM/ESS 587. Ocean circulation, dynamics and thermodynamics.

Homework 4 in 5C1212; Part A: Incompressible Navier- Stokes, Finite Volume Methods

Transcription:

General Curvilinear Ocean Model (GCOM): Enabling Thermodynamics M. Abouali, C. Torres, R. Walls, G. Larrazabal, M. Stramska, D. Decchis, and J.E. Castillo AP0901 09

General Curvilinear Ocean Model (GCOM): Enabling Thermodynamics M. Abouali,1, C. Torres, R. Walls, G. Larrazabal, M. Stramska, D. Decchis 1, and J.E. Castillo 1. 1 San Diego State University Corresponding author: mabouali@sciences.sdsu.edu Abstract: General Curvilinear Ocean Model (GCOM) is a coastal ocean model curvilinear in 3 dimensions, developed by Carlos Torres et al. The model uses a direct numerical simulation (DNS) approach to solve the primitive Navier-Stokes equations and uses boundary fitted Curvilinear coordinates; therefore, it is possible to use GCOM in various topographies and meshes. GCOM is currently being coupled with heat and salinity conservation (or thermohaline dynamics) equations. GCOM is designed in a modular fashion, which will make it possible to easily add biogeochemical submodels to study different phenomenon, such as phytoplankton blooms, transport of pollution, or biogeochemical cycling. In a separate project an Atmosphere-Ocean Interaction model is developed, which will be coupled later to GCOM. Keywords: Ocean Model, General Curvilinear Coordinate, Navier-stokes, Thermodynamics 1 Introduction About two third of the Earth is covered with oceans and seas. Beside the complex ecosystem existing inside the ocean and being on of the main sources of food for human being, the ocean is interacting with the Earth Atmosphere and controlling its properties. Hence, indirectly affecting our other sources on lands. Furthermore, the oceans are one of the main sources of solid particles required in the formation of the clouds. The huge specific heat capacity of the ocean has made it a big natural heat and energy storage. During the summer, while there exist excess of solar energy, the heat energy is absorbed and stored in the ocean and during the winter this excess of energy is released and helps to have a milder weather. Not just throughout the year, the ocean also helps to distribute the energy from those regions of the earth, which receive more energy, such as the equator, to those regions where solar energy budget is much less; thus, keeping the weather from being too cold or too warm. It is well known that the thermohaline circulation in the ocean had affected the ice age in the past. It is no further needed to emphasize the importance and how strongly the ocean is affecting us, the human, and other animals. There are couple of methods used to study the ocean and its impact which can be categorized as: (1) Observational, () Analytical, (3) Laboratory, and (4) Numerical studies. The focus of this paper is on the latest, i.e. numerical studies and numerical models. In this paper we introduce the General Curvilinear Ocean Model, abbreviated as GCOM, which was originally developed by Prof. C. Torres and Prof. J.E. Castillo [6] [5]. GCOM uses full 3D general curvilinear coordinate system. This feature enables the model to adapt very well to the real physical boundary of the study area both in vertical and horizontal; unlike the sigma coordinate which is designed to adapt just to the bathymetry; hence, the vertical direction. GCOM currently uses nondimensional primitive Navier-Stokes equations with Boussinesq approximation and it was previously used in many projects. In next section, we will explain the main equations building the core of the GCOM model. Later, we explain the thermodynamic equations, which are under process of being added to the model. As the curvilinear equations are being used, we need to transfer both the grid and the underlying equations into a rectangular uniform grid to ease the implementation in the computer and applying the boundary conditions [1] []. Therefore, we explain the necessary steps and relations needed for this transformation in 3 dimensional spaces. At the end, the future

of the model is explained. Governing Equations In this section we introduce the core equations used in GCOM, i.e. Navier-Stokes (NS) equations [7]. we focus on both dimensional and non-dimensional form of the NS equations [4] [3]..1 Momentum equation The dimensional form of the Navier-Stokes equation is: u t + u u = gˆk ω u 1 ρ p + ν u (1) where u is the velocity, g is the acceleration due to gravity, ω is the coriolis, ρ 0 is the density, ν is the viscosity, and p is the pressure. Each term has its unique meaning. from left to right: Term I: is the storage of the momentum. Term II: is the advection. Term III: is the Effect of the gravity/ Term IV: is the effect of Coriolis Forces, due to the rotation of the earth. Term forces. V: is the pressure gradient Term VI: is the influence of the viscous stresses. Using the Reynolds number, i.e. R e = V L ν, Froude Number, i.e. F r = V, gl and Rossby Number, i.e. R o = V Lf the above equation can be written in its nondimensional form as follow: u t +u u = ρ Fr ˆk + 1 ( ) vî uĵ p+ 1 u R o R e () where V is the reference velocity and L is the reference length, chosen by the user to non-dimensionalize the equations.. Continuity Equation The continuity is given as: ρ + ρ u = 0 (3) t.3 Poisson Equation The Navier-Stokes equation does not provide any relation for the pressure. Thus, we need to find a method to calculate the pressure. One of the commonly used method is to apply a divergence operator on the momentum equation,, and then by the use of continuity equation, 3, derive a simplified equation for the pressure. Although we used the term simplified, but it does not mean that the the resulting equation is easy to solve. As the matter of fact, the resulting equation is called the poisson equation for the pressure and is one of the expensive part of the numerical model to solve. The resulting poisson equation for pressure is given in the 4. It has to be noted that this equation is mostly due to numerical purposes and does not have a physical meaning. ( ) p = 1 F ρˆk r where we have: + 1 R e D D t + 1 R o 3 Transformation [(u ) u ] ( ) vî uĵ (4) D = u (5) As mentioned earlier, GCOM uses curvilinear coordinate system. Therefore, it is possible to use GCOM in the variety of the bathymetry and grids. But both the grids and the equation are needed to be transformed to a rectangular uniform grid as in 1.

a = b = c = d = e = q = ξx + ξy + ξz ηx + ηy + ηz ζx + ζy + ζz ξ x η x + ξ y η y + ξ z η z ζ x η x + ζ y η y + ζ z η z ξ x ζ x + ξ y ζ y + ξ z ζ z (10) 4 Thermodynamic Equations Figure 1: Transforming the grid Once the grid is transformed we also need to transform the equations. As we have just transformed the grid, this means that just the spatial derivative are needed to be transformed and there is no need to transform the time derivative. The transformed spatial derivative can be easily obtained using the chain-rule in derivation as follow: x = ξ x ξ + η x η + ζx ζ y = ξ y ξ + η y η + ζy ζ z = ξ z ξ + η z η + ζz ζ (6) where ξ x, η x, are called the metrix of the transformation and can be obtained using: x ξ x η x ζ y ξ y η y ζ z ξ z η z ζ ξ x ξ y ξ z η x η y η z = I (7) ζ x ζ y ζ z The three dimensional transformed Laplacian operator is: (f) = where we have: L(f) = L(x) [ξ x (f) ξ L(y) [ξ y (f) ξ L(z) [ξ z (f) ξ a (f) ξ + b (f) η L(f) + η x (f) η + η y (f) η + η z (f) η (f) + ζx ζ ] + ζy (f) ζ ] + ζz (f) + c (f) ζ + ζ ] (8) [d (f) ξη + e (f) ζη + d (f) ξζ ] (9) and the coefficients in 9 are defined as follow: The original GCOM code was not coupled with the thermodynamic equations; thus, its usage was limited to the neutral condition. As the development, the thermodynamics equations are being coupled with the model. In equation, the amount of potential temperature and salinity are two important factor. These two scalar variable, together with pressure define what the density is in the certain location of the ocean. The equation which relates the pressure, salinity, and the potential temperature to the density is called Equation of State: ρ = f (p, θ, S) (11) 4.1 Conservation of Heat The heat equation is given by: θ t + u θ = ν θ θ + Q θ (1) where ν θ is the thermal diffusivity and Q θ is the sink or source term and it is invariant to coordinate transformation. Different model has to be executed to account for incoming solar radiation, amount of evaporation, or any other interactions between the ocean and the atmosphere. 4. Salinity Equation or Conservation of Heat The conservation of Salinity can be written as: t + u S = ν S S + Q S (13) where ν S is the salinity diffusivity and Q S is the sink or source term and it is invariant to coordinate transformation. As an example, if we have precipitation, which is of different salinity than the ocean, It must be take care of in this term.

5 Solution Method In previous sections different equations that are used in GCOM were discussed. But the order that these equations are executed is as follow: Step 1: First all fields are initialized and the model parameters are read from a text file. Step : The Poisson equation for the pressure is solved and the new pressure field is obtained. Step 3: The momentum equation is solved and the new velocity field is obtained. Step 4: Using the updated velocity field the Thermodynamic equations, both conservation of heat and conservation of salinity, are solved. Step 5: Using the equation of the state a new density field is recalculated. Step 6: Different fields are prepared for the next iteration. Required fields for post processing are written to text file. Step 7 The time is advanced by d t I and f the desired time interval has not reached, we continue on step. 6 Future of the GCOM GCOM was originally developed in FOR- TRAN 77 in a single file. It is more desired to change the code in to a modular fashion, by using different subroutines. The code is also rewritten in FORTRAN 90 using its parallel and vector operation capabilities. Furthermore, the GCOM is currently using second order central finite difference. It has been shown that higher order mimetic orders behave much better in such a highly non-linear and complex system of equations. Therefore, the numerical scheme of the code is also being changed to the mimetic method developed by Prof. Castillo. This method replaces the divergence and the gradient operator with its equivalent discrete operator. Currently the code solves the given equation directly. This requires a very fine mesh at the Kolmogorov scale. For high Reynolds number and real application, this requires a very fine mesh; hence, a huge amount of memory and computation time, which is not available even on the most powerful existing supercomputers, and it is believed that this amount of memory will not be available in near future either. Therefore, a closure model, or a sub-grid model is required to account for the energy and the effect of small scale eddies. This step is being currently studied and added to the code. References [1] S.T. Chiang and K.A. Hoffmann, Computational fluid dynamics for engineers, ISBN:096373176. [] P. Knupp and S. Steinberg, Fundamentals of grid generation, ISBN:0-8493- 8987-9. [3] J. Pedlosky, Geophysical fluid dynamics,, ISBN:0-387-96388-X, ISBN:0-387- 96388-X ISBN:0-387-96388-X. [4] R.B. Stull, An introduction to boundary layer meteorology, ISBN:90-77-769-4. [5] C.R. Torres and J.E. Castillo, A new 3d curvilinear coordinates numerical model for oceanic flow over arbitrary bathymetry, Desarrollos Recientes en Metodos Numericos (00), 105 11. [6], Stratified rotating flow over complex terrain, Applied Numerical Mathematics 47 (003), 531 541. [7] C.R. Torres, H. Hanazaki, J. Ochoa, J.E. Castillo, and van Woert M.L., Flow past a sphere moving vertically in a stratified diffusive fluid, Journal of Fluid Mechanics 417 (000), 11 36.