Changeset 2628 for trunk/LMDZ.MARS/libf/phymars/conf_phys.F
- Timestamp:
- Feb 28, 2022, 6:46:07 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/conf_phys.F
r2627 r2628 314 314 write(*,*)" coeff_detrainment = ",coeff_detrainment 315 315 316 ! entrainment by slope windscheme317 write(*,*)"call slope wind liftingparametrization"318 slpwind=.false. ! default value319 call getin_p(" slpwind",slpwind)320 write(*,*)" slpwind = ",slpwind316 ! entrainment by mountain top dust flows scheme 317 write(*,*)"call mountain top dust flows parametrization" 318 topflows=.false. ! default value 319 call getin_p("topflows",topflows) 320 write(*,*)" topflows = ",topflows 321 321 322 322 ! latent heat release from ground water ice sublimation/condensation … … 471 471 endif 472 472 endif 473 ! rocket dust storm and entrainment by slope wind473 ! rocket dust storm and entrainment by top flows 474 474 ! Test of incompatibility: 475 ! if rdstorm or slpwindis used, then doubleq should be true476 if ((rdstorm.or. slpwind).and..not.doubleq) then477 print*,'if rdstorm or slpwindis used, then doubleq475 ! if rdstorm or topflows is used, then doubleq should be true 476 if ((rdstorm.or.topflows).and..not.doubleq) then 477 print*,'if rdstorm or topflows is used, then doubleq 478 478 & should be used !' 479 479 call abort_physic(modname, 480 & "rdstorm or slpwindrequires doubleq",1)481 endif 482 if ((rdstorm.or. slpwind).and..not.active) then483 print*,'if rdstorm or slpwindis used, then active480 & "rdstorm or topflows requires doubleq",1) 481 endif 482 if ((rdstorm.or.topflows).and..not.active) then 483 print*,'if rdstorm or topflows is used, then active 484 484 & should be used !' 485 485 call abort_physic(modname, 486 & "rdstorm or slpwindrequires activ",1)486 & "rdstorm or topflows requires activ",1) 487 487 endif 488 488 if (rdstorm.and..not.lifting) then … … 492 492 & "rdstorm requires lifting",1) 493 493 endif 494 if ((rdstorm.or. slpwind).and..not.freedust) then495 print*,'if rdstorm or slpwindis used, then freedust494 if ((rdstorm.or.topflows).and..not.freedust) then 495 print*,'if rdstorm or topflows is used, then freedust 496 496 & should be used !' 497 497 call abort_physic(modname, 498 & "rdstorm or slpwindrequires freedust",1)498 & "rdstorm or topflows requires freedust",1) 499 499 endif 500 500 if (rdstorm.and.(dustinjection.eq.0)) then … … 900 900 ! and picky compilers who know name_iaer(2) is out of bounds 901 901 j=2 902 IF (rdstorm.AND..NOT.activice.AND..NOT. slpwind) then902 IF (rdstorm.AND..NOT.activice.AND..NOT.topflows) then 903 903 name_iaer(j) = "stormdust_doubleq" !! storm dust two-moment scheme 904 904 j = j+1 905 905 END IF 906 906 907 IF (rdstorm.AND.water.AND.activice.AND..NOT. slpwind) then907 IF (rdstorm.AND.water.AND.activice.AND..NOT.topflows) then 908 908 name_iaer(j) = "stormdust_doubleq" 909 909 j = j+1 910 910 END IF 911 911 912 IF ( slpwind.AND..NOT.activice.AND..NOT.rdstorm) then912 IF (topflows.AND..NOT.activice.AND..NOT.rdstorm) then 913 913 name_iaer(j) = "topdust_doubleq" !! storm dust two-moment scheme 914 914 j = j+1 915 915 END IF 916 916 917 IF ( slpwind.AND.water.AND.activice.AND..NOT.rdstorm) then917 IF (topflows.AND.water.AND.activice.AND..NOT.rdstorm) then 918 918 name_iaer(j) = "topdust_doubleq" 919 919 j = j+1 920 920 END IF 921 921 922 IF (rdstorm.AND. slpwind.AND..NOT.activice) THEN922 IF (rdstorm.AND.topflows.AND..NOT.activice) THEN 923 923 name_iaer(j) = "stormdust_doubleq" 924 924 name_iaer(j+1) = "topdust_doubleq" … … 926 926 ENDIF 927 927 928 IF (rdstorm.AND. slpwind.AND.water.AND.activice) THEN928 IF (rdstorm.AND.topflows.AND.water.AND.activice) THEN 929 929 name_iaer(j) = "stormdust_doubleq" 930 930 name_iaer(j+1) = "topdust_doubleq"
Note: See TracChangeset
for help on using the changeset viewer.