source: trunk/mesoscale/LMD_LES_MARS/modif_mars/module_model_constants.F @ 29

Last change on this file since 29 was 17, checked in by aslmd, 15 years ago

spiga:mineur

File size: 7.3 KB
Line 
1!WRF:MODEL_LAYER:CONSTANTS
2!
3
4 MODULE module_model_constants
5
6   !  2. Following are constants for use in defining real number bounds.
7
8   !  A really small number.
9
10   REAL    , PARAMETER :: epsilon         = 1.E-15
11
12   !  4. Following is information related to the physical constants.
13
14   !  These are the physical constants used within the model.
15
16! JM NOTE -- can we name this grav instead?
17   REAL    , PARAMETER :: g = 3.72  ! acceleration due to gravity (m {s}^-2)
18
19#if ( NMM_CORE == 1 )
20   REAL    , PARAMETER :: r_d          = 192.
21   REAL    , PARAMETER :: cp           = 844.6
22#else
23   REAL    , PARAMETER :: r_d          = 192.
24   REAL    , PARAMETER :: cp           = 844.6
25#endif
26
27   REAL    , PARAMETER :: r_v          = 461.6
28   REAL    , PARAMETER :: cv           = cp-r_d
29   REAL    , PARAMETER :: cpv          = 4.4*r_v
30   REAL    , PARAMETER :: cvv          = cpv-r_v
31   REAL    , PARAMETER :: cvpm         = -cv/cp
32   REAL    , PARAMETER :: cliq         = 4190.
33   REAL    , PARAMETER :: cice         = 2106.
34   REAL    , PARAMETER :: psat         = 610.78
35   REAL    , PARAMETER :: rcv          = r_d/cv
36   REAL    , PARAMETER :: rcp          = r_d/cp
37   REAL    , PARAMETER :: rovg         = r_d/g
38   REAL    , PARAMETER :: c2           = cp * rcv
39   real    , parameter :: mwdry        = 43.49 ! molecular weight of dry air (g/mole)
40
41   REAL    , PARAMETER :: p1000mb      = 610.
42   REAL    , PARAMETER :: t0           = 220.
43   REAL    , PARAMETER :: p0           = 610.
44   REAL    , PARAMETER :: cpovcv       = cp/(cp-r_d)
45   REAL    , PARAMETER :: cvovcp       = 1./cpovcv
46   REAL    , PARAMETER :: rvovrd       = r_v/r_d
47
48   REAL    , PARAMETER :: reradius     = 1./3397200.
49
50!-------------------------------
51!****MARS
52! here some LMD stuff
53! >> TODO: possible modification with startfi.nc values ?
54   REAL    , PARAMETER :: wdaysec       = 88800.     ! duree du sol (s)  ~88775 s
55   REAL    , PARAMETER :: wmugaz        = 43.49      ! Masse molaire de l'atm (g.mol-1) ~43.49
56   REAL    , PARAMETER :: womeg         = 7.0721E-5  ! omega (rad.s-1)
57   REAL    , PARAMETER :: wyear_day     = 669        ! Duree de l'annee (sols) ~668.6
58   REAL    , PARAMETER :: wperiheli     = 206.66     ! Dist.min. soleil-mars (Mkm) ~206.66     
59   REAL    , PARAMETER :: waphelie      = 249.22     ! Dist.max. soleil-mars (Mkm) ~249.22
60   REAL    , PARAMETER :: wperi_day     = 485.       ! Date du perihelie (sols depuis printemps)
61   REAL    , PARAMETER :: wobliquit     = 25.2       ! Obliquite de la planete (deg) ~25.2
62   REAL    , PARAMETER :: wz0           = 1.e-2      ! surface roughness (m) ~0.01
63   REAL    , PARAMETER :: wlmixmin      = 30         ! longueur de melange ~100
64   REAL    , PARAMETER :: wemin_turb    = 1.e-6      ! energie minimale ~1.e-8
65   REAL    , PARAMETER :: wemissiv      = 0.95       ! Emissivite du sol martien ~.95
66   REAL    , PARAMETER :: wemissiceN    = 0.95       ! Emissivite calotte nord
67   REAL    , PARAMETER :: wemissiceS    = 0.95       ! Emissivite calotte sud
68   REAL    , PARAMETER :: walbediceN    = 0.65        ! Albedo calotte nord !0.5
69   REAL    , PARAMETER :: walbediceS    = 0.65        ! Albedo calotte sud  !0.5
70   REAL    , PARAMETER :: wiceradiusN   = 100.e-6    ! mean scat radius of CO2 snow (north)
71   REAL    , PARAMETER :: wiceradiusS   = 100.e-6    ! mean scat radius of CO2 snow (south)
72   REAL    , PARAMETER :: wdtemisiceN   = 0.4  ! time scale for snow metamorphism (north) !2 
73   REAL    , PARAMETER :: wdtemisiceS   = 0.4  ! time scale for snow metamorphism (south) !2
74!
75!-------------------------------
76
77
78
79   REAL    , PARAMETER :: asselin      = .025
80!   REAL    , PARAMETER :: asselin      = .0
81   REAL    , PARAMETER :: cb           = 25.
82
83   REAL    , PARAMETER :: XLV0         = 3.15E6
84   REAL    , PARAMETER :: XLV1         = 2370.
85   REAL    , PARAMETER :: XLS0         = 2.905E6
86   REAL    , PARAMETER :: XLS1         = 259.532
87
88   REAL    , PARAMETER :: XLS          = 2.85E6
89   REAL    , PARAMETER :: XLV          = 2.5E6
90   REAL    , PARAMETER :: XLF          = 3.50E5
91
92   REAL    , PARAMETER :: rhowater     = 1000.
93   REAL    , PARAMETER :: rhosnow      = 100.
94   REAL    , PARAMETER :: rhoair0      = 0.02
95
96   REAL    , PARAMETER :: DEGRAD       = 3.1415926/180.
97   REAL    , PARAMETER :: DPD          = 360./669.
98
99   REAL    , PARAMETER ::  SVP1=0.6112
100   REAL    , PARAMETER ::  SVP2=17.67
101   REAL    , PARAMETER ::  SVP3=29.65
102   REAL    , PARAMETER ::  SVPT0=273.15
103   REAL    , PARAMETER ::  EP_1=R_v/R_d-1.
104   REAL    , PARAMETER ::  EP_2=R_d/R_v
105   REAL    , PARAMETER ::  KARMAN=0.4
106   REAL    , PARAMETER ::  EOMEG=7.0721E-5
107   REAL    , PARAMETER ::  STBOLT=5.67051E-8
108
109   REAL    , PARAMETER ::  prandtl = 1./3.0
110                                         ! constants for w-damping option
111   REAL    , PARAMETER ::  w_alpha = 0.3 ! strength m/s/s
112   REAL    , PARAMETER ::  w_beta  = 1.0 ! activation cfl number
113
114       REAL , PARAMETER ::  pq0=379.90516
115       REAL , PARAMETER ::  epsq2=0.2
116!      REAL , PARAMETER ::  epsq2=0.02
117       REAL , PARAMETER ::  a2=17.2693882
118       REAL , PARAMETER ::  a3=273.16
119       REAL , PARAMETER ::  a4=35.86
120       REAL , PARAMETER ::  epsq=1.e-12
121       REAL , PARAMETER ::  p608=rvovrd-1.
122!#if ( NMM_CORE == 1 )
123       REAL , PARAMETER ::  climit=1.e-20
124       REAL , PARAMETER ::  cm1=2937.4
125       REAL , PARAMETER ::  cm2=4.9283
126       REAL , PARAMETER ::  cm3=23.5518
127!       REAL , PARAMETER ::  defc=8.0
128!       REAL , PARAMETER ::  defm=32.0
129       REAL , PARAMETER ::  defc=0.0
130       REAL , PARAMETER ::  defm=99999.0
131       REAL , PARAMETER ::  epsfc=1./1.05
132       REAL , PARAMETER ::  epswet=0.0
133       REAL , PARAMETER ::  fcdif=1./3.
134       REAL , PARAMETER ::  fcm=0.00003
135       REAL , PARAMETER ::  gma=-r_d*(1.-rcp)*0.5
136       REAL , PARAMETER ::  p400=40000.0
137       REAL , PARAMETER ::  phitp=15000.0
138       REAL , PARAMETER ::  pi2=2.*3.1415926
139       REAL , PARAMETER ::  plbtm=105000.0
140       REAL , PARAMETER ::  plomd=64200.0
141       REAL , PARAMETER ::  pmdhi=35000.0
142       REAL , PARAMETER ::  q2ini=0.50
143       REAL , PARAMETER ::  rfcp=0.25/cp
144       REAL , PARAMETER ::  rhcrit_land=0.75
145       REAL , PARAMETER ::  rhcrit_sea=0.80
146       REAL , PARAMETER ::  rlag=14.8125
147       REAL , PARAMETER ::  rlx=0.90
148       REAL , PARAMETER ::  scq2=50.0
149       REAL , PARAMETER ::  slopht=0.001
150       REAL , PARAMETER ::  tlc=2.*0.703972477
151       REAL , PARAMETER ::  wa=0.15
152       REAL , PARAMETER ::  wght=0.35
153       REAL , PARAMETER ::  wpc=0.075
154       REAL , PARAMETER ::  z0land=0.10
155       REAL , PARAMETER ::  z0max=0.008
156       REAL , PARAMETER ::  z0sea=0.001
157!#endif
158
159
160   !  Earth
161
162   !  The value for P2SI *must* be set to 1.0 for Earth
163   !  Although, now we may not need this declaration here (see above)
164   !REAL    , PARAMETER :: P2SI         = 1.0
165
166   !  Orbital constants:
167
168   INTEGER , PARAMETER :: PLANET_YEAR = 365
169   REAL , PARAMETER :: OBLIQUITY = 23.5
170   REAL , PARAMETER :: ECCENTRICITY = 0.014
171   REAL , PARAMETER :: SEMIMAJORAXIS = 1.0 ! In AU
172   ! Don't know the following values, so we'll fake them for now
173   REAL , PARAMETER :: zero_date = 0.0   ! Time of perihelion passage
174   !  Fraction into the year (from perhelion) of the
175   !  occurrence of the Northern Spring Equinox
176   REAL , PARAMETER :: EQUINOX_FRACTION= 0.0
177
178 CONTAINS
179   SUBROUTINE init_module_model_constants
180   END SUBROUTINE init_module_model_constants
181 END MODULE module_model_constants
Note: See TracBrowser for help on using the repository browser.