source: trunk/LMDZ.MARS/libf/phymars/meso_inc/meso_inc_ini.F @ 331

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

MESOSCALE: * implemented z0 roughness map from Hebrard et al. 2011

  • also possible to prescribe a constant value in namelist.input through init_Z0
  • if there is a missing value [z0=0] or a problem, default value is 1cm
  • note: in surface.nc and geo_em.d01.nc, z0 is in cm

in wrfinput_d01 and LMD physics integrations, z0 is in m

MODIFIED files in the physics [MESOSCALE ONLY]
M 314 LMDZ.MARS/libf/phymars/meso_inc/meso_inc_ini.F
M 314 LMDZ.MARS/libf/phymars/meso_inc/meso_inc_inifisini.F
M 314 LMDZ.MARS/libf/phymars/meso_inc/meso_inc_inifisinvar.F
M 314 LMDZ.MARS/libf/phymars/meso_inc/meso_inc_inifisvar.F

MODIFIED files in the dynamical core and interface
M 314 MESOSCALE/LMD_MM_MARS/SRC/WRFV2/call_meso_inifis1.inc
M 314 MESOSCALE/LMD_MM_MARS/SRC/WRFV2/call_meso_inifis2.inc
M 314 MESOSCALE/LMD_MM_MARS/SRC/WRFV2/call_meso_inifis3.inc
M 314 MESOSCALE/LMD_MM_MARS/SRC/WRFV2/Registry/Registry.EM
M 314 MESOSCALE/LMD_MM_MARS/SRC/WRFV2/dyn_em/module_initialize_real.F
M 314 MESOSCALE/LMD_MM_MARS/SRC/WRFV2/dyn_em/solve_em.F
M 314 MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F

MODIFIED files for geogrid.exe [interpolation on the domain]
M 314 MESOSCALE/LMD_MM_MARS/SRC/WPS/wps_mars/geogrid/GEOGRID.TBL.ARW_Mars
M 314 MESOSCALE/LMD_MM_MARS/SRC/WPS/wps_mars/namelist.wps_TEST
A 0 MESOSCALE/LMD_MM_MARS/WPS_GEOG/rough_GCM



M 314 MESOSCALE_DEV/TESTS/LMD_MM_MARS_FASTCASEnewphys.tar.gz

The manual does not feature the few indications necessary for simulations
with new physics so we took a few notes, commented for the moment
M 314 MESOSCALE_DEV/MANUAL/SRC

File size: 3.4 KB
Line 
1ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
2c MESOSCALE MODEL
3c
4c       No need to use startfi.nc
5c               > part of the job of phyetat0 is done in inifis
6c               > remaining initializations are passed here from the WRF variables
7c               > beware, some operations were done by phyetat0 (ex: tracers)
8c                       > if any problems, look in phyetat0
9c
10c    LMD_MM_MARS
11c       day_ini,tsurf,tsoil,emis,q2,qsurf,co2ice are inputs
12c               and locally saved variables
13c                       (no need to call phyetat0)
14c
15      tsurf(:)=wtsurf(:)
16      PRINT*,'check: tsurf ',tsurf(1),tsurf(ngridmx)
17      tsoil(:,:)=wtsoil(:,:)
18      PRINT*,'check: tsoil ',tsoil(1,1),tsoil(ngridmx,nsoilmx)
19c     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
20c     !!!new physics
21c      PRINT*,'no variable z0 field for the moment. use z0_default.'
22c      z0(:) = z0_default
23c      PRINT*, 'check z0 ', z0(1)
24      inertiedat(:,:)=wisoil(:,:)
25      PRINT*,'check: inert ',inertiedat(1,1),inertiedat(ngridmx,nsoilmx)
26      mlayer(0:nsoilmx-1)=wdsoil(1,:)
27      PRINT*,'check: midlayer ', mlayer(:)
28            !!!!!!!!!!!!!!!!! DONE in soil_setting.F
29            ! 1.5 Build layer(); following the same law as mlayer()
30            ! Assuming layer distribution follows mid-layer law:
31            ! layer(k)=lay1*alpha**(k-1)
32            lay1=sqrt(mlayer(0)*mlayer(1))
33            alpha=mlayer(1)/mlayer(0)
34            do iloop=1,nsoilmx
35              layer(iloop)=lay1*(alpha**(iloop-1))
36            enddo
37
38      PRINT*,'check: layer ', layer(:)
39
40            !!!!!!!!!!!!!!!!! DONE in soil_setting.F
41      tnom(:)=wtnom(:)   !! est rempli dans advtrac.h
42      PRINT*,'check: tracernames ', tnom
43     !!!new physics
44     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
45      emis(:)=wemis(:)
46      PRINT*,'check: emis ',emis(1),emis(ngridmx)
47      q2(:,:)=wq2(:,:)
48      PRINT*,'check: q2 ',q2(1,1),q2(ngridmx,nlayermx+1)
49      qsurf(:,:)=wqsurf(:,:)
50      PRINT*,'check: qsurf ',qsurf(1,1),qsurf(ngridmx,nqmx)
51      co2ice(:)=wco2ice(:)
52      PRINT*,'check: co2 ',co2ice(1),co2ice(ngridmx)
53      day_ini=wday_ini
54
55c       artificially filling dyn3d/control.h is also required
56c       > iphysiq is put in WRF to be set easily (cf ptimestep)
57c       > day_step is simply deduced:
58c
59      day_step=daysec/ptimestep
60      PRINT*,'Call to LMD physics:',day_step,' per Martian day'
61c
62      iphysiq=ptimestep
63c
64      !DO iq=1, nq
65      !  PRINT*, tnom(iq), pq(:,:,iq)
66      !ENDDO
67
68c
69ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
70
71      !!!! see meso_inc_caps
72      !!!! this is a test to change outliers' albedo and thermal inertia
73      !alb_lim = 0.26
74      !lat_lim = 70.
75      !inertie_lim = 800.
76      !PRINT *, 'lat_lim ',lat_lim
77      !PRINT *, 'alb_lim ',alb_lim
78      !PRINT *, 'inertie_lim ',inertie_lim
79      !!!!
80      !!!!
81      !IF ( caps .and. water ) THEN
82      !    do ig=1,ngridmx
83      !      if ( lati(ig)*180./pi .gt. lat_lim ) then
84      !         if ( albedodat(ig) .ge. alb_lim ) then
85      !              albedodat(ig) = alb_surfice
86      !              inertiedat(ig,1) = inertie_lim 
87      !         endif
88      !         if (inertiedat(ig,1) .ge. inertie_lim ) then
89      !              inertiedat(ig,1) = inertie_lim
90      !         endif
91      !      endif  ! (lati, albedodat)
92      !    end do ! (ngridmx)
93      !ENDIF ! (caps)
Note: See TracBrowser for help on using the repository browser.