Changeset 3252 for LMDZ6/trunk/libf/phylmd
- Timestamp:
- Mar 12, 2018, 6:32:18 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/wake.F90
r3208 r3252 315 315 !! DATA wapecut, sigmad, hwmin/5., .02, 10./ 316 316 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/ 318 319 ! cc nrlmd 319 320 DATA sigmaw_max/0.4/ … … 987 988 wdens0 = (sigmaw(i)/(4.*3.14))* & 988 989 ((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 989 994 IF (wdens(i)<=wdens0*1.1) THEN 990 995 IF (iflag_wk_pop_dyn >= 1) THEN … … 993 998 wdens(i) = wdens0 994 999 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)999 1000 END IF 1000 1001 END DO … … 1032 1033 tau_wk_inv_min = min(tau_wk_inv(i), 1./dtimesub) 1033 1034 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))) 1035 1037 drdt_pos=max(drdt(i),0.) 1036 1038
Note: See TracChangeset
for help on using the changeset viewer.