Changeset 3061 for trunk/LMDZ.MARS/libf/phymars
- Timestamp:
- Sep 28, 2023, 3:23:58 PM (22 months ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/conf_phys.F
r3008 r3061 748 748 temp_dependant_m = .false. ! default value 749 749 call getin_p("temp_dependant_m",temp_dependant_m) 750 if (temp_dependant_m) then 750 if (temp_dependant_m) then !(JN 2023) 751 751 print*,'You have chosen a temperature-dependant water' 752 752 print*,'contact parameter ! From Maattanen et al. 2014' … … 763 763 call getin_p("cloud_adapt_ts",cloud_adapt_ts) 764 764 write(*,*)"cloud_adapt_ts= ",cloud_adapt_ts 765 766 ! Test of incompatibility: 767 ! If you want the adaptative timestep, you should use the 768 ! temperature dependent contact parameter (otherwise the 769 ! global water cycle is nuts !) 765 770 771 if ((cloud_adapt_ts.and..not.temp_dependant_m).or. 772 & (temp_dependant_m.and..not.cloud_adapt_ts)) then 773 print*,'Water cycle v6 : cloud_adapt_ts and ' 774 print*,'temp_dependant_m must be used together !' 775 print*,'Otherwise water cycle is off. At least one ' 776 print*,'of these flags is turned off. ' 777 call abort_physic(modname, 778 & "water cycle v6 needs cloud_adapt_ts and temp_dep_m",1) 779 endif 766 780 ! scavenging 767 781 write(*,*)"Dust scavenging by H2O/CO2 snowfall ?" -
trunk/LMDZ.MARS/libf/phymars/improvedclouds_mod.F
r3017 r3061 740 740 integer,intent(out) :: zimicro ! number of ptimestep division 741 741 742 c zimicro = 30 743 c Coefficients good enough for present-day Mars : 744 c alpha = 1.87485684e+09 745 c beta = 1.45655856e+00 746 c Coefficients covering high obliquity scenarios : 747 alpha=3.36711332e+15 748 beta=1.98636414e+00 749 c nimicro=min(max(alpha*abs(potcond)**beta,5.),7000.) 750 c zimicro=ceiling((ptimestep/timeleft)*nimicro) 751 c zimicro=ceiling((timeleft/ptimestep)*nimicro) 742 c Conservative coefficients : 743 alpha=1.81846504e+11 744 beta=1.54550140e+00 752 745 zimicro=ceiling(min(max(alpha*abs(potcond)**beta,5.),7000.)) 753 746 -
trunk/LMDZ.MARS/libf/phymars/nuclea.F
r3008 r3061 60 60 61 61 IF (temp_dependant_m) THEN 62 c J.Naar - sep 2023 : 62 63 c Simple linear parametrisation from Maattaanen 2014 63 c Smectite sample64 64 c Maxed out at 0.97 for physical realism 65 mtetalocal = min(0.0044*temp + 0.1831,0.97) 65 c Used to tune the WC without adaptative ts of microphy 66 c mtetalocal = min(0.0044*temp + 0.1831,0.97) 67 c With adapt_ts need to use this relation (same paper, tanh): 68 mtetalocal = 0.469+((0.972-0.469)*tanh((temp/158.282)**4.244)) 66 69 ENDIF ! (temp_dependant_m) THEN 67 70 cccccccccccccccccccccccccccccccccccccccccccccccccc … … 84 87 print*, 'dear user, please keep in mind that' 85 88 print*, 'contact parameter IS NOT constant ;' 86 print*, 'Using the following linear fitfrom'87 print*, 'Maattanen et al. 2014 ( SM linear fit) :'88 print*, 'm in(0.0044*temp + 0.1831,0.97)'89 print*, 'Using the tanh fit n2 (jsc sample) from' 90 print*, 'Maattanen et al. 2014 (10.1016/j.grj.2014.09.002) :' 91 print*, 'm=0.469+((0.972-0.469)*tanh((temp/158.282)**4.244))' 89 92 print*, ' ' 90 93 firstcall=.false.
Note: See TracChangeset
for help on using the changeset viewer.