Changeset 3075
- Timestamp:
- Oct 6, 2023, 4:48:17 PM (14 months ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3074 r3075 4245 4245 == 06/10/2023 == JBC 4246 4246 Transformation of 'writerestart1D' into module. 4247 4248 == 06/10/2023 == JN 4249 Bugfix : adaptative timestep now is insensitive to ptimestep -
trunk/LMDZ.MARS/libf/phymars/improvedclouds_mod.F
r3061 r3075 738 738 real,intent(in) :: potcond ! condensible vapor / sublimable ice(kg/kg) 739 739 real :: alpha, beta ! Coefficients for power law 740 real :: defstep,coef ! Default ptimestep of 7.5 mins (iphysiq=5) 740 741 integer,intent(out) :: zimicro ! number of ptimestep division 741 742 743 c Default ptimestep : defstep (7.5 mins) 744 defstep=88775.*5./960. 745 coef=ptimestep/defstep 742 746 c Conservative coefficients : 743 747 alpha=1.81846504e+11 744 748 beta=1.54550140e+00 745 zimicro=ceiling(min(max( alpha*abs(potcond)**beta,5.),7000.))749 zimicro=ceiling(min(max(coef*alpha*abs(potcond)**beta,5.),7000.)) 746 750 747 751 END SUBROUTINE adapt_imicro
Note: See TracChangeset
for help on using the changeset viewer.