Changeset 1628 for LMDZ5/trunk/libf/phylmd
- Timestamp:
- May 16, 2012, 11:46:34 AM (13 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/phys_output_mod.F90
r1598 r1628 1318 1318 ! Couplage conv-CL 1319 1319 IF (iflag_con.GE.3) THEN 1320 IF (iflag_coupl>=1) THEN1321 1320 CALL histdef2d(iff,clef_stations(iff), & 1322 1321 o_ale_bl%flag,o_ale_bl%name, "ALE BL", "m2/s2") 1323 1322 CALL histdef2d(iff,clef_stations(iff), & 1324 1323 o_alp_bl%flag,o_alp_bl%name, "ALP BL", "m2/s2") 1325 ENDIF1326 1324 ENDIF !(iflag_con.GE.3) 1327 1325 … … 1491 1489 CALL histdef2d(iff,clef_stations(iff), & 1492 1490 o_alp_wk%flag,o_alp_wk%name, "ALP WK", "m2/s2") 1493 CALL histdef2d(iff,clef_stations(iff), &1494 o_ale%flag,o_ale%name, "ALE", "m2/s2")1495 CALL histdef2d(iff,clef_stations(iff), &1496 o_alp%flag,o_alp%name, "ALP", "W/m2")1497 CALL histdef2d(iff,clef_stations(iff),o_cin%flag,o_cin%name, "Convective INhibition", "m2/s2")1498 CALL histdef2d(iff,clef_stations(iff),o_wape%flag,o_WAPE%name, "WAPE", "m2/s2")1499 1491 CALL histdef2d(iff,clef_stations(iff),o_wake_h%flag,o_wake_h%name, "wake_h", "-") 1500 1492 CALL histdef2d(iff,clef_stations(iff),o_wake_s%flag,o_wake_s%name, "wake_s", "-") … … 1504 1496 CALL histdef3d(iff,clef_stations(iff),o_wake_deltaq%flag,o_wake_deltaq%name, "wake_deltaq", " ") 1505 1497 CALL histdef3d(iff,clef_stations(iff),o_wake_omg%flag,o_wake_omg%name, "wake_omg", " ") 1498 CALL histdef2d(iff,clef_stations(iff),o_wape%flag,o_WAPE%name, "WAPE", "m2/s2") 1506 1499 ENDIF 1500 CALL histdef2d(iff,clef_stations(iff), & 1501 o_ale%flag,o_ale%name, "ALE", "m2/s2") 1502 CALL histdef2d(iff,clef_stations(iff), & 1503 o_alp%flag,o_alp%name, "ALP", "W/m2") 1504 CALL histdef2d(iff,clef_stations(iff),o_cin%flag,o_cin%name, "Convective INhibition", "m2/s2") 1507 1505 CALL histdef3d(iff,clef_stations(iff),o_Vprecip%flag,o_Vprecip%name, "precipitation vertical profile", "-") 1508 1506 CALL histdef3d(iff,clef_stations(iff),o_ftd%flag,o_ftd%name, "tend temp due aux descentes precip", "-") -
LMDZ5/trunk/libf/phylmd/phys_output_write.h
r1577 r1628 801 801 ! Couplage convection-couche limite 802 802 IF (iflag_con.GE.3) THEN 803 IF (iflag_coupl>=1) THEN804 803 IF (o_ale_bl%flag(iff)<=lev_files(iff)) THEN 805 804 CALL histwrite_phy(nid_files(iff),clef_stations(iff), … … 810 809 $o_alp_bl%name,itau_w,alp_bl) 811 810 ENDIF 812 ENDIF !iflag_coupl>=1813 811 ENDIF !(iflag_con.GE.3) 814 812 … … 825 823 ENDIF 826 824 827 IF (o_ale%flag(iff)<=lev_files(iff)) THEN828 CALL histwrite_phy(nid_files(iff),clef_stations(iff),829 $o_ale%name,itau_w,ale)830 ENDIF831 IF (o_alp%flag(iff)<=lev_files(iff)) THEN832 CALL histwrite_phy(nid_files(iff),clef_stations(iff),833 $o_alp%name,itau_w,alp)834 ENDIF835 IF (o_cin%flag(iff)<=lev_files(iff)) THEN836 CALL histwrite_phy(nid_files(iff),clef_stations(iff),837 $o_cin%name,itau_w,cin)838 ENDIF839 825 IF (o_wape%flag(iff)<=lev_files(iff)) THEN 840 826 CALL histwrite_phy(nid_files(iff),clef_stations(iff), … … 883 869 ENDIF ! iflag_wake>=1 884 870 871 IF (o_ale%flag(iff)<=lev_files(iff)) THEN 872 CALL histwrite_phy(nid_files(iff),clef_stations(iff), 873 $o_ale%name,itau_w,ale) 874 ENDIF 875 IF (o_alp%flag(iff)<=lev_files(iff)) THEN 876 CALL histwrite_phy(nid_files(iff),clef_stations(iff), 877 $o_alp%name,itau_w,alp) 878 ENDIF 879 IF (o_cin%flag(iff)<=lev_files(iff)) THEN 880 CALL histwrite_phy(nid_files(iff),clef_stations(iff), 881 $o_cin%name,itau_w,cin) 882 ENDIF 885 883 IF (o_Vprecip%flag(iff)<=lev_files(iff)) THEN 886 884 CALL histwrite_phy(nid_files(iff),clef_stations(iff), -
LMDZ5/trunk/libf/phylmd/physiq.F
r1624 r1628 614 614 REAL dd_t(klon,klev),dd_q(klon,klev) 615 615 616 real, save :: alp_bl_prescr=0. 617 real, save :: ale_bl_prescr= 0.616 real, save :: alp_bl_prescr=0.1 617 real, save :: ale_bl_prescr=4. 618 618 619 619 real, save :: ale_max=1000. … … 1490 1490 cCR:04.12.07: initialisations poches froides 1491 1491 c Controle de ALE et ALP pour la fermeture convective (jyg) 1492 if (iflag_wake>=1) then 1493 CALL ini_wake(0.,0.,it_wape_prescr,wape_prescr,fip_prescr 1492 CALL ini_wake(0.,0.,it_wape_prescr,wape_prescr,fip_prescr 1494 1493 s ,alp_bl_prescr, ale_bl_prescr) 1495 1494 c 11/09/06 rajout initialisation ALE et ALP du wake et PBL(YU) 1496 1495 c print*,'apres ini_wake iflag_cldcon=', iflag_cldcon 1497 endif1498 1496 1499 1497 do i = 1,klon … … 2246 2244 cdans le thermique sinon 2247 2245 if (iflag_coupl.eq.0) then 2248 if (debut.and.prt_level.gt.9) 2249 $ WRITE(lunout,*)'ALE et ALP imposes' 2250 do i = 1,klon 2251 con ne couple que ale 2252 c ALE(i) = max(ale_wake(i),Ale_bl(i)) 2253 ALE(i) = max(ale_wake(i),ale_bl_prescr) 2254 con ne couple que alp 2255 c ALP(i) = alp_wake(i) + Alp_bl(i) 2256 ALP(i) = alp_wake(i) + alp_bl_prescr 2257 enddo 2246 if (debut.and.prt_level.gt.9)WRITE(lunout,*) 'ALE&ALP imposes' 2247 Ale_bl(1:klon) = ale_bl_prescr 2248 Alp_bl(1:klon) = alp_bl_prescr 2258 2249 else 2259 2250 IF(prt_level>9)WRITE(lunout,*)'ALE et ALP couples au thermique' 2260 ! do i = 1,klon 2261 ! ALE(i) = max(ale_wake(i),Ale_bl(i)) 2262 ! avant ALP(i) = alp_wake(i) + Alp_bl(i) 2263 ! ALP(i) = alp_wake(i) + Alp_bl(i) + alp_offset ! modif sb 2264 ! write(20,*)'ALE',ALE(i),Ale_bl(i),ale_wake(i) 2265 ! write(21,*)'ALP',ALP(i),Alp_bl(i),alp_wake(i) 2266 ! enddo 2251 endif 2267 2252 2268 2253 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 2271 2256 ! w si <0 2272 2257 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2258 2273 2259 do i = 1,klon 2274 2260 ALE(i) = max(ale_wake(i),Ale_bl(i)) … … 2283 2269 endif 2284 2270 enddo 2271 2285 2272 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2286 2273 2287 endif2288 2274 do i=1,klon 2289 2275 if (alp(i)>alp_max) then
Note: See TracChangeset
for help on using the changeset viewer.