Changeset 2960 for LMDZ5/trunk/libf
- Timestamp:
- Jul 19, 2017, 12:19:26 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/cloudth_mod.F90
r2959 r2960 876 876 REAL,SAVE :: sigma1s_factor=1.1 877 877 REAL,SAVE :: sigma1s_power=0.6 878 !$OMP THREADPRIVATE(sigma1s_factor,sigma1s_power) 878 REAL,SAVE :: cloudth_ratqsmin=-1. 879 !$OMP THREADPRIVATE(sigma1s_factor,sigma1s_power,cloudth_ratqsmin) 879 880 INTEGER, SAVE :: iflag_cloudth_vert_noratqs=0 880 881 !$OMP THREADPRIVATE(iflag_cloudth_vert_noratqs) … … 929 930 CALL getin_p('cloudth_sigma1s_power',sigma1s_power) 930 931 WRITE(*,*) 'cloudth_sigma1s_power = ', sigma1s_power 932 ! Minimum value for the environmental air subgrid water distrib 933 CALL getin_p('cloudth_ratqsmin',cloudth_ratqsmin) 934 WRITE(*,*) 'cloudth_ratqsmin = ', cloudth_ratqsmin 931 935 ! Remove the dependency to ratqs from the variance of the vertical PDF 932 936 CALL getin_p('iflag_cloudth_vert_noratqs',iflag_cloudth_vert_noratqs) … … 988 992 & (1-fraca(ind1,ind2))*((sth-senv)**2)**0.5 989 993 ! sigma1s_fraca = (1.1**0.5)*(fraca(ind1,ind2)**0.6)/(1-fraca(ind1,ind2))*((sth-senv)**2)**0.5 990 sigma1s_ratqs = ratqs(ind1,ind2)*po(ind1) 994 IF (cloudth_ratqsmin>0.) THEN 995 sigma1s_ratqs = cloudth_ratqsmin*po(ind1) 996 ELSE 997 sigma1s_ratqs = ratqs(ind1,ind2)*po(ind1) 998 ENDIF 991 999 sigma1s = sigma1s_fraca + sigma1s_ratqs 992 1000 sigma2s=(0.09*(((sth-senv)**2)**0.5)/((fraca(ind1,ind2)+0.02)**0.5))+0.002*zqta(ind1,ind2)
Note: See TracChangeset
for help on using the changeset viewer.