Changeset 3064
- Timestamp:
- Sep 30, 2023, 5:09:20 PM (14 months ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3063 r3064 4218 4218 Following previous commit, correction of a spelling mistake "temp_dependant_m" 4219 4219 is actually "temp_dependent_m". Sorry about that. 4220 4221 == 30/09/2023 == AB 4222 Following r3061 and r3062 : 4223 - adapt files callphys.def.GCM6 and callphys.def.MCD6 in deftank/ to match with the new orthograph of temp_dependent_m 4224 - restore the possibility to run with a temperature-dependent contact parameter without using the cloud adaptative subtimestep 4225 (MCD6.1 configuration, mteta = linear fit of temp) -
trunk/LMDZ.MARS/deftank/callphys.def.GCM6
r3058 r3064 171 171 # distribution of ice particles ? 172 172 nuice_sed=0.1 173 # WATER: contact parameter (only if temp_depend ant_m = .false.)173 # WATER: contact parameter (only if temp_dependent_m = .false.) 174 174 ##mteta = 0.95 175 # Temperature-depend ant water contact parameter176 temp_depend ant_m = .true.175 # Temperature-dependent water contact parameter 176 temp_dependent_m = .true. 177 177 # WATER: current permanent caps at both poles. True IS RECOMMENDED 178 178 # (with .true., North cap is a source of water and South pole -
trunk/LMDZ.MARS/deftank/callphys.def.MCD6
r3058 r3064 171 171 # distribution of ice particles ? 172 172 nuice_sed=0.1 173 # WATER: contact parameter (only if temp_depend ant_m = .false.)173 # WATER: contact parameter (only if temp_dependent_m = .false.) 174 174 ##mteta = 0.95 175 # Temperature-depend ant water contact parameter176 temp_depend ant_m = .true.175 # Temperature-dependent water contact parameter 176 temp_dependent_m = .true. 177 177 # WATER: current permanent caps at both poles. True IS RECOMMENDED 178 178 # (with .true., North cap is a source of water and South pole -
trunk/LMDZ.MARS/libf/phymars/conf_phys.F
r3062 r3064 768 768 ! temperature dependent contact parameter (otherwise the 769 769 ! global water cycle is nuts !) 770 ! However one can use the temperature dependent contact parameter 771 ! without the adaptative timestep (MCD6.1 configuration) 770 772 771 if ((cloud_adapt_ts.and..not.temp_dependent_m).or. 772 & (temp_dependent_m.and..not.cloud_adapt_ts)) then 773 print*,'Water cycle v6 : cloud_adapt_ts and ' 774 print*,'temp_dependent_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) 773 if (cloud_adapt_ts.and..not.temp_dependent_m) then 774 print*,'Water cycle v6 : if cloud_adapt_ts is used' 775 print*,'then temp_dependent_m must be used!' 776 print*,'Otherwise the water cycle is unrealistic.' 777 call abort_physic(modname, 778 & "cloud_adapt_ts requires temp_dependent_m",1) 779 779 endif 780 780 ! scavenging -
trunk/LMDZ.MARS/libf/phymars/nuclea.F
r3062 r3064 61 61 IF (temp_dependent_m) THEN 62 62 c J.Naar - sep 2023 : 63 c Simple linear parametrisation from Maattaanen 2014 64 c Maxed out at 0.97 for physical realism 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)) 69 ENDIF ! (temp_dependent_m) THEN 63 if (.not.cloud_adapt_ts) then 64 ! Simple linear parametrisation from Maattaanen 2014 65 ! Maxed out at 0.97 for physical realism 66 ! Used to tune the WC without adaptative ts of microphy (MCD6.1 configuration) 67 mtetalocal = min(0.0044*temp + 0.1831,0.97) 68 else 69 ! With adapt_ts, need to use this relation (same paper, tanh relation): 70 mtetalocal = 0.469+((0.972-0.469)*tanh((temp/158.282)**4.244)) 71 endif ! (.not.cloud_adapt_ts) 72 ENDIF ! (temp_dependent_m) 70 73 cccccccccccccccccccccccccccccccccccccccccccccccccc 71 74 ccccccccccc ESSAIS TN MTETA = F (T) cccccccccccccc … … 84 87 cccccccccccccccccccccccccccccccccccccccccccccccccc 85 88 IF (firstcall.and.temp_dependent_m) THEN 89 if (.not.cloud_adapt_ts) then 90 print*, ' ' 91 print*, 'dear user, please keep in mind that' 92 print*, 'contact parameter IS NOT constant ;' 93 print*, 'Using the following linear fit from' 94 print*, 'Maattanen et al. 2014 (SM linear fit) :' 95 print*, 'm=min(0.0044*temp + 0.1831,0.97)' 96 print*, ' ' 97 else !cloud_adapt_ts=.true. 86 98 print*, ' ' 87 99 print*, 'dear user, please keep in mind that' … … 90 102 print*, 'Maattanen et al. 2014 (10.1016/j.grj.2014.09.002) :' 91 103 print*, 'm=0.469+((0.972-0.469)*tanh((temp/158.282)**4.244))' 92 print*, ' ' 93 firstcall=.false. 104 print*, ' ' 105 endif 106 firstcall=.false. 94 107 ELSE IF (firstcall.and.(.not.(temp_dependent_m))) THEN 95 96 97 98 99 108 print*, ' ' 109 print*, 'dear user, please keep in mind that' 110 print*, 'contact parameter IS constant' 111 print*, ' ' 112 firstcall=.false. 100 113 END IF 101 114 cccccccccccccccccccccccccccccccccccccccccccccccccc
Note: See TracChangeset
for help on using the changeset viewer.