Changeset 306 for trunk/LMDZ.TITAN/libf/phytitan
- Timestamp:
- Sep 24, 2011, 1:23:28 AM (13 years ago)
- Location:
- trunk/LMDZ.TITAN/libf/phytitan
- Files:
-
- 12 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/phytitan/cooling.F
r175 r306 46 46 c spectral ranges. This common is initialized by radtitan. 47 47 c 48 c COMMON /PLANT/ CSUBP,RSFI,RSFV,F0PI 49 c This common is initialized by tgmdat. 50 c 48 51 c======================================================================= 49 52 c----------------------------------------------------------------------- … … 81 84 COMMON /IRTAUS/ dtaui,dtauip 82 85 86 COMMON /PLANT/ CSUBP,RSFI,RSFV,F0PI 87 REAL CSUBP,RSFI,RSFV,F0PI 88 83 89 c Local: 84 90 c ------ … … 101 107 c ----- 102 108 103 REAL RHOP, CSUBP,UBARI,RSFI109 REAL RHOP,UBARI 104 110 DATA RHOP/1.E4/ ! CONVERSION FROM PRESSURE TO MASS 105 111 DATA UBARI/0.5/ ! MEAN COSINE FOR 2-STREAM 106 DATA RSFI/0.0/ ! SURFACE ALBEDO107 112 DATA WNOI/ 108 113 & 11.500, 20.000, 31.250, 50.000, 75.000, … … 129 134 130 135 131 save RHOP,UBARI, RSFI,WNOI,DWNI136 save RHOP,UBARI,WNOI,DWNI 132 137 133 138 c----------------------------------------------------------------------- … … 135 140 c Initialisations: 136 141 c ---------------- 137 138 CSUBP = RCPD*1e4 ! HEAT CAPACITY OF TITANS ATMOSPHERE in CGS139 142 140 143 UBARI2=1./1.66 … … 234 237 ENDDO 235 238 c BSURF=PLNCK( WAVEN, TEMP(ig,NL), DW) 236 BSURF=.2*PLNCK 239 BSURF=.2*PLNCK*(1-RSFI) 237 240 FUPI(ig,NL)=BSURF * 2.*RPI*UBARI + RSFI*FDI(ig,NL) 238 241 FUPIS(ig,NL,K)=BSURF*2.*RPI*UBARI+RSFI*FDIS(ig,NL,K) -
trunk/LMDZ.TITAN/libf/phytitan/effg.F
r175 r306 1 1 FUNCTION EFFG(Z) 2 2 #include "YOMCST.h" 3 EFFG = RG * (RA/(RA + Z ) )**2 3 ! RA en m, Z en km... 4 EFFG = RG * (RA/(RA + Z*1000. ) )**2 4 5 RETURN 5 6 END -
trunk/LMDZ.TITAN/libf/phytitan/ini_histday.h
r175 r306 113 113 . iim,jjmp1,nhori, klev,1,klev,nvert, 32, 114 114 . "ave(X)", zsto,zout) 115 116 if (clouds.eq.1) then 117 115 118 CALL histdef(nid_day, "qnoy","nb tot noy" , "n/m2", 116 119 . iim,jjmp1,nhori, klev,1,klev,nvert, 32, … … 127 130 c-------------- 128 131 c ----- SATURATION ESP NUAGES 129 if (clouds.eq.1) then130 132 CALL histdef(nid_day,"ch4sat", "saturation CH4", "--", 131 133 . iim,jjmp1,nhori, klev,1,klev,nvert, 32, -
trunk/LMDZ.TITAN/libf/phytitan/ini_histmth.h
r175 r306 117 117 . iim,jjmp1,nhori, klev,1,klev,nvert, 32, 118 118 . "ave(X)", zsto,zout) 119 120 if (clouds.eq.1) then 121 119 122 CALL histdef(nid_mth, "qnoy","nb tot noy" , "n/m2", 120 123 . iim,jjmp1,nhori, klev,1,klev,nvert, 32, … … 131 134 c-------------- 132 135 c ----- SATURATION ESP NUAGES 133 if (clouds.eq.1) then134 136 CALL histdef(nid_mth,"ch4sat", "saturation CH4", "--", 135 137 . iim,jjmp1,nhori, klev,1,klev,nvert, 32, -
trunk/LMDZ.TITAN/libf/phytitan/optci.F
r175 r306 11 11 REAL ykim(klon,klev,nqtot) 12 12 real qaer(klon,klev,nqtot) 13 integer nmicro 13 integer nmicro,IPRINT 14 14 c --------- 15 15 … … 93 93 94 94 integer iopti,iwarning ! iopti: premier appel, une seule boucle sur les l.d'o. 95 integer ig,seulmtunpt 95 integer ig,seulmtunpt,iout 96 96 save iopti,iwarning,seulmtunpt 97 97 data iopti,iwarning,seulmtunpt/0,0,0/ … … 265 265 c endif 266 266 267 iout=0 268 c if ((microfi.eq.0).or.(ig.eq.(klon/2+16))) iout=1 267 269 if (seulmtunpt.eq.0) then 268 270 call optci_1pt2(zqaer_1pt,rmcbar(ig,:),xfbar(ig,:,:), 269 & iopti, IPRINT)271 & iopti,iout) 270 272 iopti = 1 271 273 endif -
trunk/LMDZ.TITAN/libf/phytitan/optci_1pt_2.F
r175 r306 192 192 if (iopti.eq.0) then 193 193 194 c CALL OPTFRAC(XMONO,10000./WNOI(K)195 c & ,QEXT,QSCT,QABS,QBAR)196 197 198 194 CALL CFFFV11(1.e-2/WNOI(K),REALI(K),XIMGI(K),RF(inq),2. 199 195 & ,XMONO,QSCT,QEXT,QABS,QBAR) 200 201 196 202 197 QF1(inq,K)=QEXT*XRULE -
trunk/LMDZ.TITAN/libf/phytitan/optcv_1pt_2.F
r175 r306 148 148 149 149 if(ioptv.eq.0.and.J.eq.1) then 150 151 c CALL OPTFRAC(XMONO,10000./WNOV(K)152 c & ,QEXT,QSCT,QABS,QBAR)153 150 154 151 CALL CFFFV11(1.e-2/WNOV(K),REALV(K),XIMGV(K),RF(inq),2. -
trunk/LMDZ.TITAN/libf/phytitan/physiq.F
r175 r306 413 413 414 414 COMMON /TAUD/ TAUHID,TAUCID,TAUGID,TAUHVD,TAUCVD,TAUGVD 415 COMMON /PLANT/ CSUBP,RSFI,RSFV,F0PI 416 REAL CSUBP,RSFI,RSFV,F0PI 417 415 418 * common relatifs au nuages 416 419 real rmcbar(ngrid,NLAYER),xfbar(ngrid,NLAYER,4) … … 992 995 c 993 996 DO i = 1, klon 994 dlw(i) = - 4.0* RSIGMA*ftsol(i)**3997 dlw(i) = - 4.0*(1-RSFI)*RSIGMA*ftsol(i)**3 995 998 ENDDO 996 999 -
trunk/LMDZ.TITAN/libf/phytitan/phytrac.F
r176 r306 728 728 d_tr_mph(i,l,iq) = (qaer(i,l,iq)-qaer0(i,l,iq))/ 729 729 & ptimestep 730 c Traceurs microphysiques: passage en intensif: n/m^2 --> n/kg 731 d_tr_mph(i,l,iq) = d_tr_mph(i,l,iq)*RG/delp(i,l) 730 732 ENDDO 731 733 ENDDO … … 737 739 DO i = 1, klon 738 740 d_tr_mph(i,l,iq)=(qaer(i,l,iq)-qaer0(i,l,iq))/ptimestep 741 c Traceurs microphysiques: passage en intensif: n/m^2 --> n/kg 742 d_tr_mph(i,l,iq) = d_tr_mph(i,l,iq)*RG/delp(i,l) 739 743 ENDDO 740 744 ENDDO 741 745 ENDDO 742 743 do iq=1,nmicro744 DO l=1,llm745 DO i = 1, klon746 c Traceurs microphysiques: passage en intensif: n/m^2 --> n/kg747 d_tr_mph(i,l,iq) = d_tr_mph(i,l,iq)*RG/delp(i,l)748 ENDDO749 ENDDO750 enddo751 746 752 747 ENDIF ! microfi -
trunk/LMDZ.TITAN/libf/phytitan/tgmdat.F
r3 r306 30 30 DATA RHOP/1.E4/ 31 31 C RSF IS THE SURFACE REFLECTANCE FOR VIS AND IR 32 DATA RSFV,RSFI/0. 0,0.0/32 DATA RSFV,RSFI/0.15,0.05/ 33 33 C FOPI IS THE ACTUAL SOLAR FLUX IN ERGS/CM2 34 34 DATA F0PI/1.5E4/ -
trunk/LMDZ.TITAN/libf/phytitan/write_histday.h
r175 r306 112 112 CALL histwrite(nid_day,"qaer",itau_w,zx_tmp_3d, 113 113 . iim*jjmp1*klev,ndex3d) 114 115 if (clouds.eq.1) then 116 114 117 c ------- NB NOY TOT 115 118 do i=1,klon … … 150 153 c -------------- 151 154 c ----- SATURATION ESP NUAGES 152 if (clouds.eq.1) then153 154 155 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, satch4,zx_tmp_3d) 155 156 CALL histwrite(nid_day,"ch4sat", itau_w, zx_tmp_3d, -
trunk/LMDZ.TITAN/libf/phytitan/write_histmth.h
r175 r306 110 110 CALL histwrite(nid_mth,"qaer",itau_w,zx_tmp_3d, 111 111 . iim*jjmp1*klev,ndex3d) 112 113 if (clouds.eq.1) then 114 112 115 c ------- NB NOY TOT 113 116 do i=1,klon … … 148 151 c -------------- 149 152 c ----- SATURATION ESP NUAGES 150 if (clouds.eq.1) then151 152 153 CALL gr_fi_ecrit(klev,klon,iim,jjmp1, satch4,zx_tmp_3d) 153 154 CALL histwrite(nid_mth,"ch4sat", itau_w, zx_tmp_3d,
Note: See TracChangeset
for help on using the changeset viewer.