Changeset 3075 for trunk/LMDZ.MARS/libf


Ignore:
Timestamp:
Oct 6, 2023, 4:48:17 PM (21 months ago)
Author:
jnaar
Message:

Added coefficient in improvedclouds (adapt_ts subroutine) to ensure that the computed number of subtimestep, as a integer subdivision of ptimestep, is properly scaled to the chosen timestep (scaled from standard iphysiq=5)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/LMDZ.MARS/libf/phymars/improvedclouds_mod.F ΒΆ

    r3061 r3075  
    738738      real,intent(in) :: potcond ! condensible vapor / sublimable ice(kg/kg)
    739739      real :: alpha, beta ! Coefficients for power law
     740      real :: defstep,coef ! Default ptimestep of 7.5 mins (iphysiq=5)
    740741      integer,intent(out) :: zimicro ! number of ptimestep division
    741742
     743c      Default ptimestep : defstep (7.5 mins)
     744       defstep=88775.*5./960.
     745       coef=ptimestep/defstep
    742746c      Conservative coefficients :
    743747       alpha=1.81846504e+11
    744748       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.))
    746750
    747751      END SUBROUTINE adapt_imicro
Note: See TracChangeset for help on using the changeset viewer.