Changeset 3780 for LMDZ6/trunk/libf/phylmd/pbl_surface_mod.F90
- Timestamp:
- Oct 22, 2020, 2:50:18 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/pbl_surface_mod.F90
r3774 r3780 206 206 !jyg< 207 207 !! zxfluxt, zxfluxq, q2m, flux_q, tke, & 208 zxfluxt, zxfluxq, q2m, flux_q, tke_x, 208 zxfluxt, zxfluxq, q2m, flux_q, tke_x, & 209 209 !>jyg 210 210 !!! nrlmd+jyg le 02/05/2011 et le 20/02/2012 … … 504 504 CHARACTER(len=8), DIMENSION(nbsrf), SAVE :: cl_surf 505 505 !$OMP THREADPRIVATE(cl_surf) 506 REAL, SAVE :: beta_land ! beta for wx_dts 507 !$OMP THREADPRIVATE(beta_land) 506 ! EV Ne sert plus: 507 ! REAL, SAVE :: beta_land ! beta for wx_dts 508 !!$OMP THREADPRIVATE(beta_land) 508 509 509 510 ! Other local variables … … 845 846 ! Initialize ok_flux_surf (for 1D model) 846 847 if (klon_glo>1) ok_flux_surf=.FALSE. 848 if (klon_glo>1) ok_forc_tsurf=.FALSE. 849 847 850 848 851 ! intialize beta_land 849 beta_land = 0.5850 call getin_p('beta_land', beta_land)852 !beta_land = 0.5 853 !call getin_p('beta_land', beta_land) 851 854 852 855 ! Initilize debug IO … … 947 950 !! tke(:,:,is_ave)=0. 948 951 tke_x(:,:,is_ave)=0. 952 949 953 wake_dltke(:,:,is_ave)=0. 950 954 !>jyg … … 978 982 !! d_t_diss= 0.0 ;d_u = 0.0 ; d_v = 0.0 979 983 yqsol = 0.0 984 980 985 ytke=0. 981 986 !FC … … 1388 1393 ytke_w(j,k) = tke_x(i,k,nsrf)+wake_dltke(i,k,nsrf) 1389 1394 ywake_dltke(j,k) = wake_dltke(i,k,nsrf) 1395 1390 1396 !>jyg 1391 1397 ENDDO … … 1462 1468 ENDDO 1463 1469 ENDIF 1470 1464 1471 IF (prt_level >=10) print *,'clcdrag -> ycdragh ', ycdragh 1465 1472 ELSE !(iflag_split .eq.0) … … 1545 1552 print *,' args coef_diff_turb: ycdragh ', ycdragh 1546 1553 print *,' args coef_diff_turb: ytke ', ytke 1554 1547 1555 ENDIF 1548 1556 CALL coef_diff_turb(dtime, nsrf, knon, ni, & … … 1574 1582 print *,' args coef_diff_turb: ycdragh_x ', ycdragh_x 1575 1583 print *,' args coef_diff_turb: ytke_x ', ytke_x 1584 1576 1585 ENDIF 1577 1586 CALL coef_diff_turb(dtime, nsrf, knon, ni, & … … 2020 2029 ! 2021 2030 !**************************************************************************************** 2022 2023 !!! 2024 !!! jyg le 10/04/2013 2031 !! 2032 !!! 2033 !!! jyg le 10/04/2013 et EV 10/2020 2034 2035 IF (ok_forc_tsurf) THEN 2036 DO j=1,knon 2037 ytsurf_new(j)=tg 2038 y_d_ts(j) = ytsurf_new(j) - yts(j) 2039 ENDDO 2040 ENDIF ! ok_forc_tsurf 2041 2025 2042 !!! 2026 2043 IF (ok_flux_surf) THEN … … 2451 2468 tke_x(i,k,nsrf) = ytke(j,k) 2452 2469 tke_x(i,k,is_ave) = tke_x(i,k,is_ave) + ytke(j,k)*ypct(j) 2470 2453 2471 !>jyg 2454 2472 ENDDO … … 2464 2482 !! tke(i,k,is_ave) = tke(i,k,is_ave) + tke(i,k,nsrf)*ypct(j) 2465 2483 tke_x(i,k,nsrf) = ytke_x(j,k) 2466 tke_x(i,k,is_ave) = tke_x(i,k,is_ave) + tke_x(i,k,nsrf)*ypct(j) 2484 tke_x(i,k,is_ave) = tke_x(i,k,is_ave) + tke_x(i,k,nsrf)*ypct(j) 2467 2485 wake_dltke(i,k,is_ave) = wake_dltke(i,k,is_ave) + wake_dltke(i,k,nsrf)*ypct(j) 2486 2468 2487 2469 2488 !>jyg
Note: See TracChangeset
for help on using the changeset viewer.