Changeset 4434
- Timestamp:
- Feb 13, 2023, 11:51:54 AM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/wake.F90
r4370 r4434 7 7 dtdwn, dqdwn, amdwn, amup, dta, dqa, wgen, & 8 8 sigd_con, Cin, & 9 deltatw, deltaqw, sigmaw, awdens, wdens, & 9 deltatw, deltaqw, sigmaw, awdens, wdens, & ! state variables 10 10 dth, hw, wape, fip, gfl, & 11 11 dtls, dqls, ktopw, omgbdth, dp_omgb, tu, qu, & … … 980 980 d_adens_death, d_adens_icol, d_adens_acol, d_adens_bnd ) 981 981 death_rate(:) = 0. 982 sigmaw=sigmaw-d_sigmaw 983 wdens=wdens-d_wdens 984 awdens=awdens-d_awdens 982 985 983 ELSEIF (iflag_wk_pop_dyn == 0 .) THEN986 ELSEIF (iflag_wk_pop_dyn == 0) THEN 984 987 985 988 ! cc nrlmd … … 1012 1015 END DO 1013 1016 1014 ENDIF ! (iflag_wk_pop_dyn == 1)1017 ENDIF ! (iflag_wk_pop_dyn >= 1) 1015 1018 1016 1019 … … 2238 2241 d_deltaqw, sigmaw, d_sigmaw, alpha) 2239 2242 ! ------------------------------------------------------ 2240 ! D \'etermination du coefficient alpha tel que les tendances2243 ! Dtermination du coefficient alpha tel que les tendances 2241 2244 ! corriges alpha*d_G, pour toutes les grandeurs G, correspondent 2242 2245 ! a une humidite positive dans la zone (x) et dans la zone (w). … … 2546 2549 REAL, INTENT(IN) :: dtimesub 2547 2550 REAL, DIMENSION (klon), INTENT(IN) :: wgen !! B = birth rate of wakes 2548 REAL, DIMENSION (klon), INTENT(IN ):: sigmaw !! sigma = fractional area of wakes2549 REAL, DIMENSION (klon), INTENT(IN ):: wdens !! D = number of wakes per unit area2550 REAL, DIMENSION (klon), INTENT(IN ):: awdens !! A = number of active wakes per unit area2551 REAL, DIMENSION (klon), INTENT(INOUT) :: sigmaw !! sigma = fractional area of wakes 2552 REAL, DIMENSION (klon), INTENT(INOUT) :: wdens !! D = number of wakes per unit area 2553 REAL, DIMENSION (klon), INTENT(INOUT) :: awdens !! A = number of active wakes per unit area 2551 2554 REAL, DIMENSION (klon), INTENT(IN) :: gfl !! Lg = gust front lenght per unit area 2552 2555 REAL, DIMENSION (klon), INTENT(IN) :: cstar !! C* = spreading velocity of wakes 2553 REAL, DIMENSION (klon), INTENT(IN) :: cin, wape 2556 REAL, DIMENSION (klon), INTENT(IN) :: cin, wape ! RM : A Faire disparaitre 2554 2557 REAL, DIMENSION (klon), INTENT(IN) :: rad_wk !! r = wake radius 2555 2558 2556 2559 ! 2557 2560 REAL, DIMENSION (klon), INTENT(OUT) :: d_sigmaw, d_wdens, d_awdens 2558 REAL, DIMENSION (klon), INTENT(OUT) :: cont_fact 2561 REAL, DIMENSION (klon), INTENT(OUT) :: cont_fact !! RM facteur de contact = 2 pi * rad * C* 2559 2562 ! Some components of the tendencies of state variables 2560 2563 REAL, DIMENSION (klon), INTENT(OUT) :: d_sig_gen, d_sig_death, d_sig_col, d_sig_spread, d_sig_bnd … … 2589 2592 !! cont_fact(i) = 2.*(wgen(i)*(aa0-sigmaw(i)/wdens(i)) + gfl(i)*cstar(i)) / & 2590 2593 !! (2.*(wdens(i)-awdens(i))**2*(2.*sigmaw(i)/wdens(i) - aa0) + wdens(i)*(1.-2.*sigmaw(i))) 2591 cont_fact(i) = 2.*3.14*rad_wk(i)*cstar(i) 2594 !! cont_fact(i) = 2.*3.14*rad_wk(i)*cstar(i) ! bug 2595 !! cont_fact(i) = 4.*3.14*rad_wk(i)*cstar(i) 2596 cont_fact(i) = 2.*gfl(i)*cstar(i)/wdens(i) 2592 2597 2593 2598 d_sig_gen(i) = wgen(i)*aa0 … … 2654 2659 d_sig_gen(1), d_sig_death(1), d_sig_col(1), d_sigmaw(1) 2655 2660 ENDIF 2656 2661 sigmaw=sigmaw+d_sigmaw 2662 wdens=wdens+d_wdens 2663 awdens=awdens+d_awdens 2664 2657 2665 RETURN 2658 2666 END SUBROUTINE wake_popdyn_2
Note: See TracChangeset
for help on using the changeset viewer.