Changeset 1467
- Timestamp:
- Aug 4, 2015, 12:05:18 PM (9 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r1462 r1467 2190 2190 - Moved "iniprint.h" back to dyn3d (and added link to it in dyn1d), as it 2191 2191 is preferable to not share modules/commons between physics and dynamics. 2192 2193 == 04/08/2015 == TN 2194 - New option supersat to allow for the supersaturation of water vapor. 2195 Default value is True. The goal is to disable supersaturation even 2196 with microphysics for comparison purposes. -
trunk/LMDZ.MARS/libf/phymars/callkeys.h
r1353 r1467 12 12 & ,callg2d,linear,rayleigh,tracer,active,doubleq,submicron & 13 13 & ,lifting,freedust,callddevil,scavenging,sedimentation & 14 & ,activice,water,tifeedback,microphys, caps,photochem,calltherm&15 & ,call richsl,callslope,tituscap,callyamada414 & ,activice,water,tifeedback,microphys,supersat,caps,photochem & 15 & ,calltherm,callrichsl,callslope,tituscap,callyamada4 16 16 17 17 COMMON/callkeys_i/iradia,iaervar,iddist,ilwd,ilwb,ilwn,ncouche & … … 57 57 logical active,doubleq,submicron,lifting,callddevil,scavenging 58 58 logical sedimentation 59 logical water,activice,tifeedback,microphys, caps59 logical water,activice,tifeedback,microphys,supersat,caps 60 60 logical photochem 61 61 integer nltemodel -
trunk/LMDZ.MARS/libf/phymars/conf_phys.F
r1381 r1467 477 477 write(*,*)" microphys = ",microphys 478 478 479 ! supersat 480 write(*,*)"Allow super-saturation of water vapor?" 481 supersat=.true. ! default value 482 call getin("supersat",supersat) 483 write(*,*)"supersat = ",supersat 484 479 485 ! microphysical parameter contact 480 486 write(*,*) "water contact parameter ?" -
trunk/LMDZ.MARS/libf/phymars/physiq.F
r1465 r1467 2162 2162 & 'Mean reff', 2163 2163 & 'm',2,rave) 2164 call WRITEDIAGFI(ngrid,'saturation', 2165 & 'h2o vap saturation ratio','dimless',3,satu) 2164 2166 if (scavenging) then 2165 2167 CALL WRITEDIAGFI(ngrid,"Nccntot", -
trunk/LMDZ.MARS/libf/phymars/watercloud.F
r1266 r1467 94 94 REAL subpdt(ngrid,nlay) ! cf. pdtcloud 95 95 96 ! no supersaturation when option supersat is false 97 REAL zt(ngrid,nlay) ! local value of temperature 98 REAL zqsat(ngrid,nlay) ! saturation 96 99 97 100 INTEGER iq,ig,l … … 391 394 ENDDO 392 395 ENDIF 393 394 396 395 397 IF(microphys) THEN 398 399 ! In case one does not want to allow supersatured water when using microphysics. 400 ! Not done by default. 401 IF(.not.supersat) THEN 402 zt = pt + (pdt+pdtcloud)*ptimestep 403 call watersat(ngrid*nlay,zt,pplay,zqsat) 404 DO l=1, nlay 405 DO ig=1,ngrid 406 IF (pq(ig,l,igcm_h2o_vap) 407 & + (pdq(ig,l,igcm_h2o_vap) + pdqcloud(ig,l,igcm_h2o_vap)) 408 & * ptimestep .ge. zqsat(ig,l)) THEN 409 pdqcloud(ig,l,igcm_h2o_vap) = 410 & (zqsat(ig,l) - pq(ig,l,igcm_h2o_vap))/ptimestep 411 & - pdq(ig,l,igcm_h2o_vap) 412 pdqcloud(ig,l,igcm_h2o_ice) = 413 & -pdqcloud(ig,l,igcm_h2o_vap) 414 ! no need to correct ccn_number, updaterad can handle this properly. 415 ENDIF 416 ENDDO 417 ENDDO 418 ENDIF 396 419 397 420 DO l=1, nlay
Note: See TracChangeset
for help on using the changeset viewer.