Changeset 283 for trunk/LMDZ.MARS/libf/phymars/physiq.F
- Timestamp:
- Sep 7, 2011, 12:57:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/physiq.F
r277 r283 128 128 129 129 #include "chimiedata.h" 130 #include "watercap.h"131 130 #include "param.h" 132 131 #include "param_v3.h" … … 191 190 REAL fluxgrd(ngridmx) ! surface conduction flux (W.m-2) 192 191 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 194 195 195 196 c Variables used by the water ice microphysical scheme: … … 197 198 REAL nuice(ngridmx,nlayermx) ! Estimated effective variance 198 199 ! of the size distribution 199 c Albedo of deposited surface ice200 !!REAL, PARAMETER :: alb_surfice = 0.4 ! 0.45201 REAL, PARAMETER :: alb_surfice = 0.45 !!TESTS_JB202 200 203 201 c Variables used by the slope model … … 422 420 423 421 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 425 424 ENDIF 426 425 … … 1095 1094 #endif 1096 1095 c ------------------------------------------------------------- 1097 c Change of surface albedo (set to 0.4)in case of ground frost1096 c Change of surface albedo in case of ground frost 1098 1097 c everywhere except on the north permanent cap and in regions 1099 1098 c covered by dry ice. … … 1102 1101 do ig=1,ngrid 1103 1102 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 1106 c write(*,*) "frost thickness", qsurf(ig,igcm_h2o_ice) 1107 c write(*,*) "physiq.F frost :" 1108 c & ,lati(ig)*180./pi, long(ig)*180./pi 1107 1109 endif 1108 1110 enddo ! of do ig=1,ngrid … … 1512 1514 & 'surface h2o_ice', 1513 1515 & '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)) 1514 1528 endif !(water) 1515 1529
Note: See TracChangeset
for help on using the changeset viewer.