Ignore:
Timestamp:
Mar 12, 2018, 6:32:18 PM (7 years ago)
Author:
jyg
Message:

Bug correction concerning the growth rate of the
wake radius.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/wake.F90

    r3208 r3252  
    315315!!  DATA wapecut, sigmad, hwmin/5., .02, 10./
    316316  DATA wapecut, sigmad, hwmin/1., .02, 10./
    317   DATA wdensmin/1.e-12/
     317!!  DATA wdensmin/1.e-12/
     318  DATA wdensmin/1.e-14/
    318319  ! cc nrlmd
    319320  DATA sigmaw_max/0.4/
     
    987988        wdens0 = (sigmaw(i)/(4.*3.14))* &
    988989          ((1.-sigmaw(i))*omg(i,kupper(i)+1)/((ph(i,1)-pupper(i))*cstar(i)))**(2)
     990        IF (prt_level >= 10) THEN
     991             print*,'omg(i,kupper(i)+1),wdens0,wdens(i),cstar(i), ph(i,1)-pupper(i)', &
     992                     omg(i,kupper(i)+1),wdens0,wdens(i),cstar(i), ph(i,1)-pupper(i)
     993        ENDIF
    989994        IF (wdens(i)<=wdens0*1.1) THEN
    990995          IF (iflag_wk_pop_dyn >= 1) THEN
     
    993998          wdens(i) = wdens0
    994999        END IF
    995         ! c        print*,'omg(i,kupper(i)+1),wdens0,wdens(i),cstar(i)
    996         ! c     $     ,ph(i,1)-pupper(i)',
    997         ! c     $             omg(i,kupper(i)+1),wdens0,wdens(i),cstar(i)
    998         ! c     $     ,ph(i,1)-pupper(i)
    9991000      END IF
    10001001    END DO
     
    10321033          tau_wk_inv_min = min(tau_wk_inv(i), 1./dtimesub)
    10331034          drdt(i) = (cstar(i) - wgen(i)*(sigmaw(i)/wdens(i)-aa0)/gfl(i)) / &
    1034                     (1 - 2*sigmaw(i)*(1.-f_shear(i)))
     1035                    (1 + 2*f_shear(i)*(2.*sigmaw(i)-aa0*wdens(i)) - 2.*sigmaw(i))
     1036!!                    (1 - 2*sigmaw(i)*(1.-f_shear(i)))
    10351037          drdt_pos=max(drdt(i),0.)
    10361038
Note: See TracChangeset for help on using the changeset viewer.