Changeset 203 for trunk/src/cor30a.pro
- Timestamp:
- 02/11/14 18:41:24 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/cor30a.pro
r181 r203 44 44 ; ======== 45 45 ; 46 ; ::46 ; .. parsed-literal:: 47 47 ; 48 48 ; u us ts ta qs qa Qsw IRd r pbl Ps zu zt zq lat … … 50 50 ; x=cor30a(5.5,0,28.7,27.2,24.2,18.5,141.,419.,0.,600.,1010.,15.,15.,15.,0.,1,1,5.,1.) 51 51 ; 52 ; Result with these sample values with Matlab code:: 52 ; Result with these sample values with Matlab code: 53 ; 54 ; .. parsed-literal:: 53 55 ; 54 56 ; 8.64830 101.640 0.0352910 2.17780e-05 0.000115000 0.000115000 … … 57 59 ; 0.000941350 0.00107910 0.00107910 0.780060 58 60 ; 59 ; Result obtained with this idl routine:: 60 ; 61 ; Result obtained with this idl routine: 62 ; 63 ; .. parsed-literal:: 64 61 65 ; 8.64829 101.640 0.0352913 2.17780e-05 0.000115000 0.000115000 62 66 ; -29.5802 0.175432 -0.0423667 -0.000205610 0.250948 0.000351304 … … 223 227 hlb=-rhoa*LLe*usr*qsr 224 228 qout=Rnl+hsb+hlb 225 dels=Rns*(.065+11*tkt-6.6e-5/tkt*(1-exp(-tkt/8.0e-4))) 229 dels=Rns*(.065+11*tkt-6.6e-5/tkt*(1-exp(-tkt/8.0e-4))) ; Eq.16 Shortwave 226 230 qcol=qout-dels 227 alq=Al*qcol+be*hlb*cpw/LLe 231 alq=Al*qcol+be*hlb*cpw/LLe ; Eq. 7 Buoy flux water 228 232 229 233 ; if (alq gt 0) then begin 230 ; xlamx=6./(1+(bigc*alq/usr^4)^.75)^.333 231 ; tkt=xlamx*visw/(sqrt(rhoa/rhow)*usr) 234 ; xlamx=6./(1+(bigc*alq/usr^4)^.75)^.333 ; Eq 13 Saunders 235 ; tkt=xlamx*visw/(sqrt(rhoa/rhow)*usr) ;Eq.11 Sub. thk 232 236 ; endif else begin 233 237 ; xlamx=6.0 234 ; tkt=min([.01,xlamx*visw/(sqrt(rhoa/rhow)*usr)]) 238 ; tkt=min([.01,xlamx*visw/(sqrt(rhoa/rhow)*usr)]) ;Eq.11 Sub. thk 235 239 ; tkt=(xlamx*visw/(sqrt(rhoa/rhow)*usr) < .01) 236 240 ; … … 253 257 254 258 ;**************** rain heat flux ******** 255 dwat=2.11e-5*((t+tdk)/tdk)^1.94 256 dtmp=(1.+3.309e-3*t-1.44e-6*t*t)*0.02411/(rhoa*cpa) 257 alfac= 1/(1+(wetc*LLe*dwat)/(cpa*dtmp)) 259 dwat=2.11e-5*((t+tdk)/tdk)^1.94 ;! water vapour diffusivity 260 dtmp=(1.+3.309e-3*t-1.44e-6*t*t)*0.02411/(rhoa*cpa) ;!heat diffusivity 261 alfac= 1/(1+(wetc*LLe*dwat)/(cpa*dtmp)) ;! wet bulb factor 258 262 RF= rain*alfac*cpw*((ts-t-dter*jcool)+(Qs-Q-dqer*jcool)*LLe/cpa)/3600. 259 263 … … 262 266 263 267 ;**************** Webb et al. correection ************ 264 ;wbar=1.61*hlb/LLe/(1+1.61*Q)/rhoa+hsb/rhoa/cpa/ta 268 ;wbar=1.61*hlb/LLe/(1+1.61*Q)/rhoa+hsb/rhoa/cpa/ta ;formulation in hlb already includes webb 265 269 ;hl_webb=rhoa*wbar*Q*LLe 266 270 ;************** compute transfer coeffs relative to ut @meas. ht **********
Note: See TracChangeset
for help on using the changeset viewer.