Changeset 2522
- Timestamp:
- May 15, 2021, 9:36:14 PM (4 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r2516 r2522 3379 3379 Correction of the threshold value used to prevent from negative values in watercloud_mod.F: the threshold is set to 1e-16 (=qperemin, an already existing parameter for the water cycle), instead of 1e-8. This former value was at the origin of a strong and unrealistic drying out of the upper atmosphere, when the photochemistry was active, during the first part of the martian year (months 3 and 4). (bug reported by Francisco Gonzalez-Galindo). 3380 3380 3381 == 15/05/2021 == JN 3382 Added a logical flag allowing for a temperature-dependant parametrization of the water contact parameter : "temp_dependant_m". Default value is false for now. 3383 3384 -
trunk/LMDZ.MARS/libf/phymars/callkeys.h
r2512 r2522 17 17 & ,CLFvarying,satindexco2,rdstorm,slpwind,calllott_nonoro & 18 18 & ,latentheat_surfwater,gwd_convective_source,startphy_file & 19 & ,hdo,hdofrac,cap_albedo 19 & ,hdo,hdofrac,cap_albedo,temp_dependant_m 20 20 21 21 COMMON/callkeys_i/iradia,iaervar,ilwd,ilwb,ilwn,ncouche & … … 70 70 logical latentheat_surfwater ! latent heat release from ground water ice sublimation/condensation 71 71 logical cap_albedo ! polar cap albedo remains unchanged by water frost deposition 72 logical temp_dependant_m ! temperature-dependant water contact parameter 72 73 logical sedimentation 73 74 logical activice,tifeedback,supersat,caps -
trunk/LMDZ.MARS/libf/phymars/conf_phys.F
r2512 r2522 706 706 ! microphysical parameter contact 707 707 write(*,*) "water contact parameter ?" 708 mteta = 0.95 709 call getin_p("mteta",mteta) 710 write(*,*) "mteta = ", mteta 708 mteta = 0.95 ! default value 709 temp_dependant_m = .false. ! default value 710 call getin_p("temp_dependant_m",temp_dependant_m) 711 if (temp_dependant_m) then 712 print*,'You have chosen a temperature-dependant water' 713 print*,'contact parameter ! From Maattanen et al. 2014' 714 else if (.not.temp_dependant_m) then 715 print*,'Water contact parameter is constant' 716 call getin_p("mteta",mteta) 717 write(*,*) "mteta = ", mteta 718 endif 711 719 712 720 ! scavenging -
trunk/LMDZ.MARS/libf/phymars/nuclea.F
r2456 r2522 16 16 17 17 #include "microphys.h" 18 include "callkeys.h" 18 19 19 20 c Inputs … … 55 56 mtetalocal = mteta !! use mtetalocal for better performance 56 57 58 IF (temp_dependant_m) THEN 59 mtetalocal = min(0.0044*temp + 0.1831,0.97) 60 ENDIF ! (temp_dependant_m) THEN 57 61 cccccccccccccccccccccccccccccccccccccccccccccccccc 58 62 ccccccccccc ESSAIS TN MTETA = F (T) cccccccccccccc … … 70 74 cccccccccccccccccccccccccccccccccccccccccccccccccc 71 75 cccccccccccccccccccccccccccccccccccccccccccccccccc 72 IF (firstcall) THEN 76 IF (firstcall.and.temp_dependant_m) THEN 77 print*, ' ' 78 print*, 'dear user, please keep in mind that' 79 print*, 'contact parameter IS NOT constant ;' 80 print*, 'Using the following linear fit from' 81 print*, 'Maattanen et al. 2014 (SM linear fit) :' 82 print*, 'min(0.0044*temp + 0.1831,0.97)' 83 print*, ' ' 84 firstcall=.false. 85 ELSE IF (firstcall.and.(.not.(temp_dependant_m))) THEN 73 86 print*, ' ' 74 87 print*, 'dear user, please keep in mind that' 75 88 print*, 'contact parameter IS constant' 76 !print*, 'contact parameter IS NOT constant:'77 !print*, 'max(mteta - 6005*exp(-0.065*temp),0.1)'78 !print*, 'max(mteta - 6005*exp(-0.068*temp),0.1)'79 89 print*, ' ' 80 90 firstcall=.false.
Note: See TracChangeset
for help on using the changeset viewer.