FV3 Bundle
qg_constants.f90
Go to the documentation of this file.
1 ! (C) Copyright 2009-2016 ECMWF.
2 !
3 ! This software is licensed under the terms of the Apache Licence Version 2.0
4 ! which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
5 ! In applying this licence, ECMWF does not waive the privileges and immunities
6 ! granted to it by virtue of its status as an intergovernmental organisation nor
7 ! does it submit to any jurisdiction.
8 
9 !> Constants for the QG model
10 
12 
13 use kinds
14 implicit none
15 
16 !--- Dimensional parameters
17 
18 real(kind=kind_real),parameter :: domain_zonal=12e6_kind_real !< model domain (m) in zonal direction
19 real(kind=kind_real),parameter :: domain_meridional=6.3e6_kind_real !< meridional model domain (m)
20 real(kind=kind_real),parameter :: scale_length = 1e6_kind_real !< horizontal length scale (m)
21 real(kind=kind_real),parameter :: ubar = 10.0_kind_real !< typical verlocity (m/s)
22 real(kind=kind_real),parameter :: ubar1 = 40.0_kind_real !< mean zonal wind in the top layer (m/s)
23 real(kind=kind_real),parameter :: ubar2 = 10.0_kind_real !< mean zonal wind in the bottom layer (m/s)
24 real(kind=kind_real),parameter :: dlogtheta = 0.1_kind_real !< difference in log(pot. T) across boundary
25 real(kind=kind_real),parameter :: g=10.0_kind_real !< gravity (m^2 s^{-2})
26 real(kind=kind_real),parameter :: f0 = 1e-4_kind_real !< Coriolis parameter at southern boundary
27 real(kind=kind_real),parameter :: bet0 = 1.5e-11_kind_real !< Meridional gradient of f (s^{-1} m^{-1})
28 real(kind=kind_real),parameter :: horog = 2000.0_kind_real !< height of orography (m)
29 real(kind=kind_real),parameter :: worog = 1000e3_kind_real !< e-folding width of orography (m)
30 real(kind=kind_real),parameter :: req = 6371229.0 !< Earth radius at equator (m)
31 real(kind=kind_real),parameter :: omega = 7.2921e-5 !< Rotation rate of the Earth (rad/s)
32 
33 !--- Non-dimensional parameters
34 
35 real(kind=kind_real),parameter :: u1 = ubar1/ubar
36 real(kind=kind_real),parameter :: u2 = ubar2/ubar
37 real(kind=kind_real),parameter :: bet = bet0*scale_length*scale_length/ubar
38 real(kind=kind_real),parameter :: rossby_number = ubar/(f0*scale_length)
39 real(kind=kind_real),parameter :: pi = acos(-1.0)
40 
41 end module qg_constants
real(kind=kind_real), parameter domain_meridional
meridional model domain (m)
real(kind=kind_real), parameter horog
height of orography (m)
real(kind=kind_real), parameter f0
Coriolis parameter at southern boundary.
real(kind=kind_real), parameter g
gravity (m^2 s^{-2})
real(kind=kind_real), parameter ubar2
mean zonal wind in the bottom layer (m/s)
Constants for the QG model.
real(kind=kind_real), parameter rossby_number
real(kind=kind_real), parameter bet
real(kind=kind_real), parameter u1
real(kind=kind_real), parameter ubar1
mean zonal wind in the top layer (m/s)
real(kind=kind_real), parameter req
Earth radius at equator (m)
real(kind=kind_real), parameter omega
Rotation rate of the Earth (rad/s)
real(kind=kind_real), parameter domain_zonal
model domain (m) in zonal direction
real(kind=kind_real), parameter dlogtheta
difference in log(pot. T) across boundary
real(kind=kind_real), parameter bet0
Meridional gradient of f (s^{-1} m^{-1})
real(kind=kind_real), parameter ubar
typical verlocity (m/s)
real(kind=kind_real), parameter u2
real(kind=kind_real), parameter worog
e-folding width of orography (m)
real(kind=kind_real), parameter scale_length
horizontal length scale (m)
real(fp), parameter, public pi