Changeset 1168
- Timestamp:
- Jun 8, 2009, 12:28:43 PM (16 years ago)
- Location:
- LMDZ4/branches/LMDZ4-dev/libf/phylmd
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4-dev/libf/phylmd/clcdrag.F90
r1071 r1168 93 93 FRIH = AMAX1(1./ (1.+3.*CB*zri(i)*ZSCF), 0.1 ) 94 94 !!$ PB zcfh1(i) = zcdn(i) * FRIH 95 zcfh1(i) = 0.8* zcdn(i) * FRIH95 zcfh1(i) = f_cdrag_stable * zcdn(i) * FRIH 96 96 pcfm(i) = zcfm1(i) 97 97 pcfh(i) = zcfh1(i) … … 106 106 zcfm2(i) = zcdn(i)*amax1((1.-2.0*cb*zri(i)*zucf),0.1) 107 107 !!$PB zcfh2(i) = zcdn(i)*amax1((1.-3.0*cb*zri(i)*zucf),0.1) 108 zcfh2(i) = 0.8 *zcdn(i)*amax1((1.-3.0*cb*zri(i)*zucf),0.1)108 zcfh2(i) = f_cdrag_ter*zcdn(i)*amax1((1.-3.0*cb*zri(i)*zucf),0.1) 109 109 pcfm(i) = zcfm2(i) 110 110 pcfh(i) = zcfh2(i) … … 114 114 ENDIF 115 115 zcr = (0.0016/(zcdn(i)*SQRT(zdu2)))*ABS(ztvd-ztsolv)**(1./3.) 116 IF(nsrf.EQ.is_oce) pcfh(i) = 0.8* zcdn(i)*(1.0+zcr**1.25)**(1./1.25)116 IF(nsrf.EQ.is_oce) pcfh(i) =f_cdrag_oce* zcdn(i)*(1.0+zcr**1.25)**(1./1.25) 117 117 ENDIF 118 118 END DO -
LMDZ4/branches/LMDZ4-dev/libf/phylmd/clesphys.h
r1154 r1168 35 35 ! Hauteur (imposee) du contenu en eau du sol 36 36 REAL qsol0 37 ! Frottement au sol (Cdrag) 38 Real f_cdrag_stable,f_cdrag_ter,f_cdrag_oce 39 ! Rugoro 40 Real f_rugoro 41 37 42 !IM lev_histhf : niveau sorties 6h 38 43 !IM lev_histday : niveau sorties journalieres … … 58 63 & , top_height, overlap, cdmmax, cdhmax, ksta, ksta_ter & 59 64 & , ok_kzmin, fmagic, pmagic & 65 & , f_cdrag_stable,f_cdrag_ter,f_cdrag_oce,f_rugoro & 60 66 & , lev_histhf, lev_histday, lev_histmth & 61 67 & , type_run, ok_isccp, ok_regdyn & -
LMDZ4/branches/LMDZ4-dev/libf/phylmd/conf_phys.F90
r1154 r1168 84 84 integer,SAVE :: iflag_cldcon_omp, ip_ebil_phy_omp 85 85 integer,SAVE :: iflag_ratqs_omp 86 87 Real,SAVE :: f_cdrag_stable_omp,f_cdrag_ter_omp,f_cdrag_oce_omp 88 Real,SAVE :: f_rugoro_omp 86 89 87 90 ! Local … … 1102 1105 ! 1103 1106 ! 1107 ! PARAMETRES CDRAG 1108 ! 1109 !Config Key = f_cdrag_stable 1110 !Config Desc = 1111 !Config Def = 0.8 1112 !Config Help = 1113 ! 1114 f_cdrag_stable_omp = 0.8 1115 call getin('f_cdrag_stable',f_cdrag_stable_omp) 1116 ! 1117 !Config Key = f_cdrag_ter 1118 !Config Desc = 1119 !Config Def = 0.8 1120 !Config Help = 1121 ! 1122 f_cdrag_ter_omp = 0.8 1123 call getin('f_cdrag_ter',f_cdrag_ter_omp) 1124 ! 1125 !Config Key = f_cdrag_oce 1126 !Config Desc = 1127 !Config Def = 0.8 1128 !Config Help = 1129 ! 1130 f_cdrag_oce_omp = 0.8 1131 call getin('f_cdrag_oce',f_cdrag_oce_omp) 1132 ! 1133 ! RUGORO 1134 !Config Key = f_rugoro 1135 !Config Desc = 1136 !Config Def = 0. 1137 !Config Help = 1138 ! 1139 f_rugoro_omp = 0. 1140 call getin('f_rugoro',f_rugoro_omp) 1141 1104 1142 ! PARAMETERS FOR CONVECTIVE INHIBITION BY TROPOS. DRYNESS 1105 1143 ! … … 1337 1375 cvl_corr = cvl_corr_omp 1338 1376 ok_lic_melt = ok_lic_melt_omp 1377 f_cdrag_stable=f_cdrag_stable_omp 1378 f_cdrag_ter=f_cdrag_ter_omp 1379 f_cdrag_oce=f_cdrag_oce_omp 1380 f_rugoro=f_rugoro_omp 1339 1381 supcrit1 = supcrit1_omp 1340 1382 supcrit2 = supcrit2_omp … … 1460 1502 write(numout,*)' inertie_ice = ', inertie_ice 1461 1503 write(numout,*)' inertie_sno = ', inertie_sno 1504 write(numout,*)' f_cdrag_stable = ',f_cdrag_stable 1505 write(numout,*)' f_cdrag_ter = ',f_cdrag_ter 1506 write(numout,*)' f_cdrag_oce = ',f_cdrag_oce 1507 write(numout,*)' f_rugoro = ',f_rugoro 1462 1508 write(numout,*)' supcrit1 = ', supcrit1 1463 1509 write(numout,*)' supcrit2 = ', supcrit2 -
LMDZ4/branches/LMDZ4-dev/libf/phylmd/phys_output_mod.F90
r1145 r1168 483 483 real, dimension(nfiles), save :: latmax_reg = (/ 90., 90., 90., 90., 21. /) 484 484 485 levmax = (/ klev, klev, klev, klev, 17/)485 levmax = (/ klev, klev, klev, klev, klev /) 486 486 487 487 name_files(1) = 'histmth' … … 515 515 ecrit_files(5) = ecrit_LES 516 516 517 !! Lectures des parametres de sorties dans physiq.def 518 call getin('phys_out_regfkey',ok_reglim) 519 call getin('phys_out_lonmin',lonmin_reg) 520 call getin('phys_out_lonmax',lonmax_reg) 521 call getin('phys_out_latmin',latmin_reg) 522 call getin('phys_out_latmax',latmax_reg) 523 call getin('phys_out_levmin',levmin) 524 call getin('phys_out_levmax',levmax) 525 call getin('phys_out_filenames',name_files) 526 call getin('phys_out_filetypes',type_ecri) 527 call getin('phys_out_filekeys',clef_files) 528 call getin('phys_out_filelevels',lev_files) 529 call getin('phys_out_filetimesteps',ecrit_files) 530 517 531 !!!!!!!!!!!!!!!!!!!!!!! Boucle sur les fichiers !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 518 532 ! Appel de histbeg et histvert pour creer le fichier et les niveaux verticaux !! -
LMDZ4/branches/LMDZ4-dev/libf/phylmd/physiq.F
r1160 r1168 1 c2 1 c#define IO_DEBUG 3 2 … … 1384 1383 ENDIF 1385 1384 1386 rugoro=0. 1385 DO i=1,klon 1386 rugoro(i) = f_rugoro * MAX(1.0e-05, zstd(i)*zsig(i)/2.0) 1387 ENDDO 1388 1387 1389 c34EK 1388 1390 IF (ok_orodr) THEN 1389 1390 rugoro=0.1391 1391 1392 1392 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Note: See TracChangeset
for help on using the changeset viewer.