Ignore:
Timestamp:
Sep 7, 2011, 12:57:29 PM (13 years ago)
Author:
aslmd
Message:

LMDZ.MARS:

AS: J'ai fait ce commit et fait a la main un merge avec les modifications entre temps

24/08/11 == TN

Attempts to tune the water cycle by adding outliers

+ A few structural changes !!

  • watercap.h is now obsolete and removed -- all is in surfdat.h
  • watercaptag initialized in surfini.F (up to 7 areas defined) instead of initracer.F
    • settings proposed by AS commented
    • experiments by TN decommented. use with caution.
  • water ice albedo and thermal inertia in callphys.def and inifis.F
  • water ice albedo in surfini.F
  • water ice albedo computation in albedocaps.F90
  • alb_surfice is now obsolete in physiq.F, albedo_h2o_ice is used instead
  • frost_albedo_threshold defined in surfdat.h
  • water ice thermal inertia in soil.F

TODO: * calibrate thermal inertia and ice albedo

  • have a look at subgrid-scale ice with dryness ?
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/physiq.F

    r277 r283  
    128128
    129129#include "chimiedata.h"
    130 #include "watercap.h"
    131130#include "param.h"
    132131#include "param_v3.h"
     
    191190      REAL fluxgrd(ngridmx)          ! surface conduction flux (W.m-2)
    192191      REAL qsurf(ngridmx,nqmx)       ! tracer on surface (e.g. kg.m-2)
    193       REAL q2(ngridmx,nlayermx+1)    ! Turbulent Kinetic Energy
     192      REAL q2(ngridmx,nlayermx+1)    ! Turbulent Kinetic Energy
     193     
     194      REAL watercapflag(ngridmx)     ! water cap flag
    194195
    195196c     Variables used by the water ice microphysical scheme:
     
    197198      REAL nuice(ngridmx,nlayermx)   ! Estimated effective variance
    198199                                     !   of the size distribution
    199 c     Albedo of deposited surface ice
    200       !!REAL, PARAMETER :: alb_surfice = 0.4 ! 0.45
    201       REAL, PARAMETER :: alb_surfice = 0.45 !!TESTS_JB
    202200
    203201c     Variables used by the slope model
     
    422420
    423421        IF (tracer.AND.water.AND.(ngridmx.NE.1)) THEN
    424           write(*,*)"physiq: water_param Surface ice alb:",alb_surfice
     422          write(*,*)"physiq: water_param Surface water ice albedo:",
     423     .                  albedo_h2o_ice
    425424        ENDIF
    426425                   
     
    10951094#endif
    10961095c       -------------------------------------------------------------
    1097 c       Change of surface albedo (set to 0.4) in case of ground frost
     1096c       Change of surface albedo in case of ground frost
    10981097c       everywhere except on the north permanent cap and in regions
    10991098c       covered by dry ice.
     
    11021101         do ig=1,ngrid
    11031102           if ((co2ice(ig).eq.0).and.
    1104      &        (qsurf(ig,igcm_h2o_ice).gt.0.005)) then
    1105               albedo(ig,1) = alb_surfice
    1106               albedo(ig,2) = alb_surfice
     1103     &        (qsurf(ig,igcm_h2o_ice).gt.frost_albedo_threshold)) then
     1104              albedo(ig,1) = albedo_h2o_ice
     1105              albedo(ig,2) = albedo_h2o_ice
     1106c              write(*,*) "frost thickness", qsurf(ig,igcm_h2o_ice)
     1107c              write(*,*) "physiq.F frost :"
     1108c     &        ,lati(ig)*180./pi, long(ig)*180./pi
    11071109           endif
    11081110         enddo  ! of do ig=1,ngrid
     
    15121514     &                       'surface h2o_ice',
    15131515     &                       'kg.m-2',2,qsurf(1,igcm_h2o_ice))
     1516
     1517            if (caps) then
     1518             do ig=1,ngridmx
     1519                if (watercaptag(ig)) watercapflag(ig) = 1
     1520             enddo
     1521             CALL WRITEDIAGFI(ngridmx,'watercaptag',
     1522     &                         'Ice water caps',
     1523     &                         '',2,watercapflag)
     1524            endif
     1525            CALL WRITEDIAGFI(ngridmx,'albedo',
     1526     &                         'albedo',
     1527     &                         '',2,albedo(1:ngridmx,1))
    15141528           endif !(water)
    15151529
Note: See TracChangeset for help on using the changeset viewer.