Ignore:
Timestamp:
Sep 21, 2021, 9:02:49 AM (3 years ago)
Author:
cmathe
Message:

GCM MARS: CO2 clouds microphysics improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/phyetat0_mod.F90

    r2545 r2562  
    88subroutine phyetat0 (fichnom,tab0,Lmodif,nsoil,ngrid,nlay,nq, &
    99                     day_ini,time0,tsurf,tsoil,albedo,emis,q2,qsurf,co2ice, &
    10                      tauscaling,totcloudfrac,wstar,mem_Mccn_co2,mem_Nccn_co2,&
    11                      mem_Mh2o_co2,watercap)
     10                     tauscaling,totcloudfrac,wstar,watercap)
    1211
    1312  use tracer_mod, only: noms ! tracer names
     
    2827!======================================================================
    2928! Auteur(s) Z.X. Li (LMD/CNRS) date: 19930818
    30 !  Adaptation à Mars : Yann Wanherdrick
     29!  Adaptation Mars : Yann Wanherdrick
    3130! Objet: Lecture de l etat initial pour la physique
    3231! Modifs: Aug.2010 EM : use NetCDF90 to load variables (enables using
     
    6665  real,intent(out) :: totcloudfrac(ngrid) ! total cloud fraction
    6766  real,intent(out) :: wstar(ngrid) ! Max vertical velocity in thermals (m/s)
    68   real,intent(out) :: mem_Mccn_co2(ngrid,nlay) ! Memory of CCN mass of H2O and dust used by CO2
    69   real,intent(out) :: mem_Nccn_co2(ngrid,nlay) ! Memory of CCN number of H2O and dust used by CO2
    70   real,intent(out) :: mem_Mh2o_co2(ngrid,nlay) ! Memory of H2O mass integred into CO2 crystal
    7167  real,intent(out) :: watercap(ngrid) ! h2o_ice_cover
    7268!======================================================================
     
    363359            minval(co2ice), maxval(co2ice)
    364360
    365 ! Memory of the origin of the co2 particles
    366 if (startphy_file) then
    367    call get_field("mem_Mccn_co2",mem_Mccn_co2,found,indextime)
    368    if (.not.found) then
    369      write(*,*) "phyetat0: <mem_Mccn_co2> not in file"
    370      mem_Mccn_co2(:,:)=0
    371    endif
    372 else
    373    mem_Mccn_co2(:,:)=0
    374 endif !if (startphy_file)
    375 write(*,*) "phyetat0: Memory of CCN mass of H2O and dust used by CO2"
    376 write(*,*) " <mem_Mccn_co2> range:", &
    377              minval(mem_Mccn_co2), maxval(mem_Mccn_co2)
    378 
    379 if (startphy_file) then
    380    call get_field("mem_Nccn_co2",mem_Nccn_co2,found,indextime)
    381    if (.not.found) then
    382      write(*,*) "phyetat0: <mem_Nccn_co2> not in file"
    383      mem_Nccn_co2(:,:)=0
    384    endif
    385 else
    386   mem_Nccn_co2(:,:)=0
    387 endif ! if (startphy_file)
    388 write(*,*) "phyetat0: Memory of CCN number of H2O and dust used by CO2"
    389 write(*,*) " <mem_Nccn_co2> range:", &
    390              minval(mem_Nccn_co2), maxval(mem_Nccn_co2)
    391 
    392 if (startphy_file) then
    393    call get_field("mem_Mh2o_co2",mem_Mh2o_co2,found,indextime)
    394    if (.not.found) then
    395      write(*,*) "phyetat0: <mem_Mh2o_co2> not in file"
    396      mem_Mh2o_co2(:,:)=0
    397    endif
    398 else
    399    mem_Mh2o_co2(:,:)=0
    400 endif ! if (startphy_file)
    401 write(*,*) "phyetat0: Memory of H2O mass integred into CO2 crystal"
    402 write(*,*) " <mem_Mh2o_co2> range:", &
    403              minval(mem_Mh2o_co2), maxval(mem_Mh2o_co2)
    404 
    405361! Dust conversion factor
    406362if (startphy_file) then
Note: See TracChangeset for help on using the changeset viewer.