source: LMDZ6/branches/Amaury_dev/libf/dyn3d_common/conf_planete.F90 @ 5209

Last change on this file since 5209 was 5103, checked in by abarral, 2 months ago

Handle CPP_INLANDSIS in lmdz_cppkeys_wrapper.F90
Remove obsolete key wrgrads_thermcell, _ADV_HALO, _ADV_HALLO, isminmax
Remove redundant uses of CPPKEY_INCA (thanks acozic)
Remove obsolete misc/write_field.F90
Remove unused ioipsl_* wrappers
Remove calls to WriteField_u with wrong signature
Convert .F -> .[fF]90
(lint) uppercase fortran operators
[note: 1d and iso still broken - working on it]

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
File size: 1.6 KB
Line 
1
2! $Id$
3
4SUBROUTINE conf_planete
5
6USE IOIPSL
7USE comconst_mod, ONLY: pi, g, molmass, kappa, cpp, omeg, rad, &
8                        year_day, daylen, daysec, ihf
9USE comvert_mod, ONLY: preff, pa
10IMPLICIT NONE
11
12
13!   Declarations :
14!   --------------
15
16!   local:
17!   ------
18
19! ---------------------------------------------
20! Initialisations de constantes de la dynamique
21! ---------------------------------------------
22! Pi
23pi=2.*asin(1.)
24
25!Reference surface pressure (Pa)
26! 101080 : specific value for CMIP5 aqua/terra planets
27! "Specify the initial dry mass to be equivalent to
28!  a global mean surface pressure (101325 minus 245) Pa."
29preff=101080.
30CALL getin('preff', preff)
31
32! Reference pressure at which hybrid coord. become purely pressure
33! pa=50000.
34pa=preff/2.
35CALL getin('pa', pa)
36
37! Gravity
38g=9.80665
39
40CALL getin('g',g)
41! Molar mass of the atmosphere
42
43molmass = 28.9644
44CALL getin('molmass',molmass)
45! kappa=R/Cp et Cp     
46
47kappa = 2./7.
48CALL getin('kappa',kappa)
49
50cpp=8.3145/molmass/kappa*1000.
51CALL getin('cpp',cpp)
52! Radius of the planet
53
54rad = 6371229.
55CALL getin('radius',rad)
56
57! Length of a standard day (s)
58daysec=86400.
59CALL getin('daysec',daysec)
60
61! Rotation rate of the planet:
62! Length of a solar day, in standard days
63daylen = 1.
64
65CALL getin('daylen',daylen)
66! Number of days (standard) per year:
67
68year_day = 365.25
69CALL getin('year_day',year_day)
70! Omega
71! omeg=2.*pi/86400.
72
73omeg=2.*pi/daysec*(1./daylen+1./year_day)
74CALL getin('omeg',omeg)
75
76! Intrinsic heat flux (default: none) (only used if planet_type="giant")
77ihf = 0.
78CALL getin('ihf',ihf)
79
80END SUBROUTINE conf_planete
Note: See TracBrowser for help on using the repository browser.