Changeset 2083 for trunk/LMDZ.MARS/libf/phymars/rocketduststorm_mod.F90
- Timestamp:
- Jan 24, 2019, 4:19:42 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/rocketduststorm_mod.F90
r2079 r2083 126 126 127 127 LOGICAL storm(ngrid) ! true when there is a dust storm (if the opacity is high): trigger the rocket dust storm scheme 128 REAL coefdetrain 128 REAL coefdetrain(ngrid,nlayer) ! coefficient for detrainment : % of stormdust detrained 129 129 INTEGER scheme(ngrid) ! triggered scheme 130 130 … … 193 193 deltahr(:,:)=0. 194 194 scheme(:)=0 195 195 coefdetrain(:,:)=1. 196 196 197 !! no update for the stormdust tracer and temperature fields 197 198 !! because previous callradite was for background dust … … 405 406 wmin) .or. (zq_dust_mass(ig,l) .gt. & 406 407 10000.*zq_stormdust_mass(ig,l))) THEN 407 coefdetrain =1.408 coefdetrain(ig,l)=1. 408 409 ELSE IF (max(abs(wrad(ig,l)),abs(wrad(ig,l+1))) & 409 410 .le. wmax) THEN 410 coefdetrain =1.*(((1-coefmin)/(wmin-wmax)**2)* &411 coefdetrain(ig,l)=1.*(((1-coefmin)/(wmin-wmax)**2)* & 411 412 (max(abs(wrad(ig,l)),abs(wrad(ig,l+1)))-wmax)**2 & 412 413 +coefmin) 413 414 ELSE IF (max(abs(wrad(ig,l)),abs(wrad(ig,l+1))).gt. wmax ) THEN 414 coefdetrain =coefmin415 coefdetrain(ig,l)=coefmin 415 416 ELSE 416 coefdetrain =coefmin417 coefdetrain(ig,l)=coefmin 417 418 ENDIF 418 419 ENDDO ! DO l=1,nlayer … … 423 424 DO ig=1,ngrid 424 425 DO l=1,nlayer 425 dqdet_stormdust_mass(ig,l)=-coefdetrain *zq_stormdust_mass(ig,l) &426 dqdet_stormdust_mass(ig,l)=-coefdetrain(ig,l)*zq_stormdust_mass(ig,l) & 426 427 /ptimestep 427 dqdet_stormdust_number(ig,l)=-coefdetrain *zq_stormdust_number(ig,l) &428 dqdet_stormdust_number(ig,l)=-coefdetrain(ig,l)*zq_stormdust_number(ig,l) & 428 429 /ptimestep 429 430 ENDDO ! DO l=1,nlayer
Note: See TracChangeset
for help on using the changeset viewer.