Changeset 952 for trunk/LMDZ.GENERIC/libf
- Timestamp:
- May 1, 2013, 2:01:43 AM (12 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/callcorrk.F90
r918 r952 450 450 albv=albedo(ig) ! shortwave 451 451 452 if(no radsurf.and.(albv.gt.0.0))then452 if(nosurf.and.(albv.gt.0.0))then 453 453 print*,'For open lower boundary in callcorrk must' 454 454 print*,'have surface albedo set to zero!' -
trunk/LMDZ.GENERIC/libf/phystd/callkeys.h
r873 r952 11 11 & , Nmix_co2, radfixed, dusttau & 12 12 & , meanOLR, specOLR & 13 & , kastprof, noradsurf, Tstrat & 13 & , kastprof, Tstrat & 14 & , nosurf, intheat & 14 15 & , newtonian, tau_relax, testradtimes & 15 16 & , check_cpp_match, force_cpp & … … 62 63 logical sourceevol 63 64 logical CLFvarying 64 logical no radsurf65 logical nosurf 65 66 66 67 integer iddist … … 87 88 real cloudlvl 88 89 real icetstep 89 90 real intheat -
trunk/LMDZ.GENERIC/libf/phystd/inifis.F
r873 r952 307 307 308 308 write(*,*)"Remove lower boundary?" 309 no radsurf=.false.310 call getin("no radsurf",noradsurf)311 write(*,*)" no radsurf = ",noradsurf309 nosurf=.false. 310 call getin("nosurf",nosurf) 311 write(*,*)" nosurf = ",nosurf 312 312 313 313 ! Tests of incompatibility: 314 if (noradsurf.and.callsoil) then 315 print*,'noradsurf not compatible with soil scheme!' 314 if (nosurf.and.callsoil) then 315 print*,'nosurf not compatible with soil scheme!' 316 print*,'... got to make a choice!' 316 317 call abort 317 318 endif 318 !if (noradsurf.and.calldifv) then 319 ! print*,'noradsurf not compatible with a boundary layer!' 320 ! call abort 321 !endif 319 320 write(*,*)"Add an internal heat flux?", 321 . "... matters only if callsoil=F" 322 intheat=0. 323 call getin("intheat",intheat) 324 write(*,*)" intheat = ",intheat 322 325 323 326 write(*,*)"Use Newtonian cooling for radiative transfer?" -
trunk/LMDZ.GENERIC/libf/phystd/physiq.F90
r918 r952 520 520 print*,'WARNING! Thermal conduction in the soil turned off' 521 521 capcal(:)=1.e6 522 fluxgrd(:)=0. 523 if(noradsurf)then 524 fluxgrd(:)=10.0 525 endif 526 print*,'Flux from ground = ',fluxgrd,' W m^-2' 522 fluxgrd(:)=intheat 523 print*,'Flux from ground = ',intheat,' W m^-2' 527 524 endif 528 525 icount=1 … … 760 757 fluxrad_sky(1:ngrid)=emis(1:ngrid)*fluxsurf_lw(1:ngrid)+fluxsurf_sw(1:ngrid)*(1.-albedo(1:ngrid)) 761 758 762 if(noradsurf)then ! no lower surface; SW flux just disappears763 GSR = SUM(fluxsurf_sw(1:ngrid)*area(1:ngrid))/totarea764 fluxrad_sky(1:ngrid)=emis(1:ngrid)*fluxsurf_lw(1:ngrid)765 print*,'SW lost in deep atmosphere = ',GSR,' W m^-2'766 endif759 !if(noradsurf)then ! no lower surface; SW flux just disappears 760 ! GSR = SUM(fluxsurf_sw(1:ngrid)*area(1:ngrid))/totarea 761 ! fluxrad_sky(1:ngrid)=emis(1:ngrid)*fluxsurf_lw(1:ngrid) 762 ! print*,'SW lost in deep atmosphere = ',GSR,' W m^-2' 763 !endif 767 764 768 765 ! Net atmospheric radiative heating rate (K.s-1) … … 1324 1321 ! 9. Surface and sub-surface soil temperature 1325 1322 !----------------------------------------------------------------------- 1326 1327 1323 1328 1324 ! Increment surface temperature -
trunk/LMDZ.GENERIC/libf/phystd/turbdiff.F90
r787 r952 226 226 zcdv_true(ig) = cd0 227 227 zcdh_true(ig) = cd0 228 ! zcdv_true(ig)=0.!JL12 uncomment to disable atm/surface momentum flux 229 ! zcdh_true(ig)=0.!JL12 uncomment to disable sensible heat flux 228 if(nosurf)then 229 zcdv_true(ig)=0.D+0 !JL12 disable atm/surface momentum flux 230 zcdh_true(ig)=0.D+0 !JL12 disable sensible heat flux 231 endif 230 232 ENDDO 231 233 -
trunk/LMDZ.GENERIC/libf/phystd/vdifc.F
r787 r952 234 234 zcdv_true(ig) = cd0 235 235 zcdh_true(ig) = cd0 236 if (nosurf) then 237 zcdv_true(ig) = 0. !! disable sensible momentum flux 238 zcdh_true(ig) = 0. !! disable sensible heat flux 239 endif 236 240 ENDDO 237 241
Note: See TracChangeset
for help on using the changeset viewer.