Ignore:
Timestamp:
Oct 2, 2017, 10:16:06 AM (7 years ago)
Author:
jyg
Message:

(i) Implementation of the conditionning of the Alp
provided by the wakes: when iflag_alp_wk_cond > 0,
Alp_wk is divided by the probability that there is
a gust front within the grid cell.

New subroutine alpale_wk.F90 called by physiq.

(ii) Some changes concerning the initialization of
the variable wake_dens.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/physiq_mod.F90

    r2999 r3000  
    566566                                                     ! updated within calwake
    567567    !$OMP THREADPRIVATE(iflag_wake_tend)
     568    INTEGER,  SAVE               :: iflag_alp_wk_cond=0 ! wake: if =0, then Alp_wk is the average lifting
     569                                                        ! power provided by the wakes; else, Alp_wk is the
     570                                                        ! lifting power conditionned on the presence of a
     571                                                        ! gust-front in the grid cell.
     572    !$OMP THREADPRIVATE(iflag_alp_wk_cond)
    568573    REAL t_w(klon,klev),q_w(klon,klev) ! temperature and moisture profiles in the wake region
    569574    REAL t_x(klon,klev),q_x(klon,klev) ! temperature and moisture profiles in the off-wake region
     
    591596    !>jyg
    592597
     598    REAL wake_fip_0(klon)           ! Average Front Incoming Power (unconditionned)
    593599    REAL wake_gfl(klon)             ! Gust Front Length
    594600!!!    REAL wake_dens(klon)         ! moved to phys_state_var_mod
     
    12261232    IF (debut) THEN
    12271233       CALL suphel ! initialiser constantes et parametres phys.
     1234       CALL getin_p('iflag_alp_wk_cond', iflag_alp_wk_cond)
    12281235       CALL getin_p('random_notrig_max',random_notrig_max)
    12291236       CALL getin_p('ok_adjwk',ok_adjwk)
     
    28052812               wake_deltat, wake_deltaq, wake_s, wake_dens,  &
    28062813               wake_dth, wake_h,  &
    2807                wake_pe, wake_fip, wake_gfl,  &
     2814!!               wake_pe, wake_fip, wake_gfl,  &
     2815               wake_pe, wake_fip_0, wake_gfl,  &   !! jyg
    28082816               d_t_wake, d_q_wake,  &
    28092817               wake_k, t_x, q_x,  &
     
    28352843          call prt_enerbil('wake',itap)
    28362844       ENDIF   ! (iflag_wake_tend .GT. 0.)
     2845
     2846       IF (iflag_alp_wk_cond .GT. 0.) THEN
     2847
     2848         CALL alpale_wk(dtime, cell_area, wake_k, wake_s, wake_dens, wake_fip_0, &
     2849                        wake_fip)
     2850       ELSE
     2851         wake_fip(:) = wake_fip_0(:)
     2852       ENDIF   ! (iflag_alp_wk_cond .GT. 0.)
    28372853
    28382854    ENDIF  ! (iflag_wake>=1)
Note: See TracChangeset for help on using the changeset viewer.