source: trunk/LMDZ.MARS/libf/phymars/meso_inc/meso_inc_inifisini.F @ 250

Last change on this file since 250 was 250, checked in by aslmd, 13 years ago

MESOSCALE: corrected a problem of passing an integer as a real between module_lmd_driver and inifis. it was apparently not a problem but it is better to avoid this.

File size: 2.9 KB
Line 
1c------------------------------------------------------
2c  Fill some parameters in the 'include' files
3c  >> Do part of the job previously done by phyetat0.F
4c  >> Complete list of parameters is found in tabfi.F
5c------------------------------------------------------
6c
7c Values are defined in the module_model_constants.F WRF routine
8c     
9      ! in 'comcstfi.h'
10      omeg=womeg               
11      mugaz=wmugaz 
12      print*,"check: rad,cpp,g,r,rcp,daysec,omeg,mugaz"
13      print*,rad,cpp,g,r,rcp,daysec,omeg,mugaz
14   
15      ! in 'planet.h'
16      year_day=wyear_day
17      periheli=wperiheli
18      aphelie=waphelie
19      peri_day=wperi_day
20      obliquit=wobliquit
21      emin_turb=wemin_turb
22      lmixmin=wlmixmin
23      print*,"check: year_day,periheli,aphelie,peri_day,obliquit"
24      print*,year_day,periheli,aphelie,peri_day,obliquit
25      print*,"check: emin_turb,lmixmin"
26      print*,emin_turb,lmixmin
27
28      ! in 'surfdat.h'
29      emissiv=wemissiv
30      emisice(1)=wemissiceN
31      emisice(2)=wemissiceS
32      albedice(1)=walbediceN
33      albedice(2)=walbediceS
34      iceradius(1)=wiceradiusN
35      iceradius(2)=wiceradiusS
36      dtemisice(1)=wdtemisiceN
37      dtemisice(2)=wdtemisiceS
38      z0_default=wz0
39      print*,"check: z0def,emissiv,emisice,albedice,iceradius,dtemisice"
40      print*,z0_default,emissiv,emisice,albedice,iceradius,dtemisice
41
42c
43c Values are defined in the WPS processing
44
45        albedodat(:)=walbedodat(:)
46        !!!!! ***WRF inertiedat was moved, new physics !!
47        !inertiedat(:)=winertiedat(:)
48        phisfi(:)=wphisfi(:)
49        print*,"check: albedodat(1),phisfi(1)"
50        print*,albedodat(1),phisfi(1)
51        print*,"check: albedodat(end),phisfi(end)"
52        print*,albedodat(ngrid),phisfi(ngrid)
53
54        ! NB: usually, gravity wave scheme is useless in mesoscale modeling
55        ! NB: we however keep the option for coarse grid case ...       
56        zmea(:)=wzmea(:)
57        zstd(:)=wzstd(:)
58        zsig(:)=wzsig(:)
59        zgam(:)=wzgam(:)
60        zthe(:)=wzthe(:)
61        print*,"check: gw param"
62        print*,zmea(1),zmea(ngrid)
63        print*,zstd(1),zstd(ngrid)
64        print*,zsig(1),zsig(ngrid)
65        print*,zgam(1),zgam(ngrid)
66        print*,zthe(1),zthe(ngrid)
67
68        !
69        ! in slope.h
70        !
71        theta_sl(:)=wtheta(:)
72        psi_sl(:)=wpsi(:)
73        print*,"check: theta_sl(1),psi_sl(1)"
74        print*,theta_sl(1),psi_sl(1)
75        print*,"check: theta_sl(end),psi_sl(end)"
76        print*,theta_sl(ngrid),psi_sl(ngrid)
77
78        !
79        ! in comsoil.h
80        !
81        volcapa=wvolcapa
82        print*,"check: volcapa"
83        print*,volcapa
84
85c*****************************************************
86c Since it comes from WRF settings, we have to
87c fill dtphys in the include file
88c It must be set now, because it is used afterwards
89c*****************************************************
90        dtphys=wdt*ptimestep
91        print*,'Physical timestep (s) ',dtphys
Note: See TracBrowser for help on using the repository browser.