- Timestamp:
- Feb 27, 2012, 10:01:25 AM (13 years ago)
- Location:
- trunk/LMDZ.GENERIC
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/README
r540 r543 595 595 - kcm1d no longer consistent with new code, but I haven't updated as I'm still working on it 596 596 and as far as I know noone else uses it. If that changes let me know. 597 598 == 27/02/2012 == AS 599 - Temperature grid for Planck calculations can now be refined through the parameter NTfac in radinc_h. 600 Default is NTfac = 1.0D-1, i.e. Delta T = 0.1 K -
trunk/LMDZ.GENERIC/libf/phystd/gfluxi.F
r253 r543 62 62 63 63 64 IF (NLL .GT. NLP) STOP 'PARAMETER NL TOO SMALL IN GFLUX V'64 IF (NLL .GT. NLP) STOP 'PARAMETER NL TOO SMALL IN GFLUXI' 65 65 66 66 NLAYER = L_NLAYRAD … … 72 72 !NT2 = TLEV(2*L+2)*10.0D0-499 73 73 !NT = TLEV(2*L)*10.0D0-499 74 NT = int(TLEV(2*L)* 10.0D0) - NTstar+175 NT2 = int(TLEV(2*L+2)* 10.0D0) - NTstar+174 NT = int(TLEV(2*L)*NTfac) - NTstar+1 75 NT2 = int(TLEV(2*L+2)*NTfac) - NTstar+1 76 76 77 77 B1(L) = (PLANCKIR(NW,NT2)-PLANCKIR(NW,NT))/DTAU(L) … … 87 87 !NT = TLEV(2*L+1)*10.0D0-499 88 88 !NT2 = TLEV(2*L)*10.0D0-499 89 NT = int(TLEV(2*L+1)* 10.0D0) - NTstar+190 NT2 = int(TLEV(2*L)* 10.0D0) - NTstar+189 NT = int(TLEV(2*L+1)*NTfac) - NTstar+1 90 NT2 = int(TLEV(2*L)*NTfac) - NTstar+1 91 91 B1(L) = (PLANCKIR(NW,NT)-PLANCKIR(NW,NT2))/DTAU(L) 92 92 B0(L) = PLANCKIR(NW,NT2) -
trunk/LMDZ.GENERIC/libf/phystd/radinc_h.F90
r537 r543 73 73 74 74 ! For Planck function integration: 75 ! equivalent temperatures are 1/ 10of these values75 ! equivalent temperatures are 1/NTfac of these values 76 76 integer, parameter :: NTstar = 500 77 77 integer, parameter :: NTstop = 9000 ! new default for all non hot Jupiter runs 78 real*8, parameter :: NTfac = 1.0D+1 79 !integer, parameter :: NTstar = 1000 80 !integer, parameter :: NTstop = 25000 81 !real*8,parameter :: NTfac = 5.0D+1 82 !integer, parameter :: NTstar = 2000 83 !integer, parameter :: NTstop = 50000 84 !real*8,parameter :: NTfac = 1.0D+2 78 85 79 86 ! Maximum number of grain size classes for aerosol convolution: -
trunk/LMDZ.GENERIC/libf/phystd/setspi.F90
r374 r543 22 22 !================================================================== 23 23 24 use radinc_h, only: L_NSPECTI,corrkdir,banddir,NTstar,NTstop 24 use radinc_h, only: L_NSPECTI,corrkdir,banddir,NTstar,NTstop,NTfac 25 25 use radcommon_h, only: BWNI,BLAMI,WNOI,DWNI,WAVEI,planckir,sigma 26 26 use datafile_mod, only: datadir … … 139 139 print*,'' 140 140 print*,'setspi: Current Planck integration range:' 141 print*,'T = ',dble(NTstar)/ 1.0D+1, ' to ',dble(NTstop)/1.0D+1,' K.'141 print*,'T = ',dble(NTstar)/NTfac, ' to ',dble(NTstop)/NTfac,' K.' 142 142 143 143 do NW=1,L_NSPECTI … … 147 147 bma = (b-a)/2.0 148 148 do nt=NTstar,NTstop 149 T = dble(NT)/ 1.0D+1149 T = dble(NT)/NTfac 150 150 ans = 0.0D0 151 151 … … 164 164 do nt=NTstar,NTstop 165 165 plancksum=0.0 166 T=dble(NT)/ 1.0D+1166 T=dble(NT)/NTfac 167 167 168 168 do NW=1,L_NSPECTI … … 174 174 planckir(NW,nt-NTstar+1)= & 175 175 planckir(NW,nt-NTstar+1)* & 176 sigma*(dble(nt)/ 1.0D+1)**4/plancksum176 sigma*(dble(nt)/NTfac)**4/plancksum 177 177 end do 178 178 end do … … 188 188 print*,'setspi: At lower limit:' 189 189 print*,'in model sig*T^4 = ',plancksum,' W m^-2' 190 print*,'actual sig*T^4 = ',sigma*(dble(nt)/ 1.0D+1)**4,' W m^-2'190 print*,'actual sig*T^4 = ',sigma*(dble(nt)/NTfac)**4,' W m^-2' 191 191 192 192 ! check energy conservation at upper temperature boundary … … 198 198 print*,'setspi: At upper limit:' 199 199 print*,'in model sig*T^4 = ',plancksum,' W m^-2' 200 print*,'actual sig*T^4 = ',sigma*(dble(nt)/ 1.0D+1)**4,' W m^-2'200 print*,'actual sig*T^4 = ',sigma*(dble(nt)/NTfac)**4,' W m^-2' 201 201 print*,'' 202 202 endif -
trunk/LMDZ.GENERIC/libf/phystd/sfluxi.F
r526 r543 67 67 TSURF = TLEV(L_LEVELS) 68 68 69 NTS = int(TSURF* 10.0D0)-NTstar+170 NTT = int(TTOP * 10.0D0)-NTstar+169 NTS = int(TSURF*NTfac)-NTstar+1 70 NTT = int(TTOP *NTfac)-NTstar+1 71 71 ! NTS = TSURF*10.0D0-499 72 72 ! NTT = TTOP *10.0D0-499
Note: See TracChangeset
for help on using the changeset viewer.