Ignore:
Timestamp:
Feb 11, 2021, 9:58:46 AM (4 years ago)
Author:
musat
Message:

Ajout ustar pour diagnostics pbl

Location:
LMDZ6/branches/IPSLCM6.0.15/libf/phylmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/IPSLCM6.0.15/libf/phylmd/pbl_surface_mod.F90

    r3826 r3837  
    18111811               yu(:,1), yv(:,1), yt(:,1), yq(:,1), zgeo1, &
    18121812               yts, yqsurf, yz0m, yz0h, ypaprs(:,1), ypplay(:,1), &
    1813                yt2m, yq2m, yt10m, yq10m, yu10m, yn2mout(:, nsrf, :))
     1813               yt2m, yq2m, yt10m, yq10m, yu10m, yustar, &
     1814               yn2mout(:, nsrf, :))
    18141815          ELSE
    18151816          CALL stdlevvar(klon, knon, is_ter, zxli, &
     
    26042605            uzon, vmer, tair1, qair1, zgeo1, &
    26052606            tairsol, qairsol, yz0m, yz0h_oupas, psfce, patm, &
    2606             yt2m, yq2m, yt10m, yq10m, yu10m, yn2mout(:, nsrf, :))
     2607            yt2m, yq2m, yt10m, yq10m, yu10m, yustar, &
     2608            yn2mout(:, nsrf, :))
    26072609        ELSE
    26082610        CALL stdlevvar(klon, knon, nsrf, zxli, &
     
    26162618            uzon_x, vmer_x, tair1_x, qair1_x, zgeo1_x, &
    26172619            tairsol_x, qairsol, yz0m, yz0h_oupas, psfce, patm, &
    2618             yt2m_x, yq2m_x, yt10m_x, yq10m_x, yu10m_x, yn2mout_x(:, nsrf, :))
     2620            yt2m_x, yq2m_x, yt10m_x, yq10m_x, yu10m_x, yustar_x, &
     2621            yn2mout_x(:, nsrf, :))
    26192622         CALL stdlevvarn(klon, knon, nsrf, zxli, &
    26202623            uzon_w, vmer_w, tair1_w, qair1_w, zgeo1_w, &
    26212624            tairsol_w, qairsol, yz0m, yz0h_oupas, psfce, patm, &
    2622             yt2m_w, yq2m_w, yt10m_w, yq10m_w, yu10m_w, yn2mout_w(:, nsrf, :))
     2625            yt2m_w, yq2m_w, yt10m_w, yq10m_w, yu10m_w, yustar_w, &
     2626            yn2mout_w(:, nsrf, :))
    26232627        ELSE
    26242628        CALL stdlevvar(klon, knon, nsrf, zxli, &
  • LMDZ6/branches/IPSLCM6.0.15/libf/phylmd/stdlevvar_mod.F90

    r3833 r3837  
    311311                           u1, v1, t1, q1, z1, &
    312312                           ts1, qsurf, z0m, z0h, psol, pat1, &
    313                            t_2m, q_2m, t_10m, q_10m, u_10m, n2mout)
     313                           t_2m, q_2m, t_10m, q_10m, u_10m, ustar, &
     314                           n2mout)
    314315!
    315316      USE ioipsl_getin_p_mod, ONLY : getin_p
     
    348349! u_2m--output-R- vitesse du vent a 2m
    349350! u_10m--output-R- vitesse du vent a 10m
     351! ustar--output-R- u*
    350352!AM
    351353! t_10m--output-R- temperature de l'air a 10m
     
    358360      REAL, dimension(klon), intent(in) :: psol, pat1
    359361!
    360       REAL, dimension(klon), intent(out) :: t_2m, q_2m
     362      REAL, dimension(klon), intent(out) :: t_2m, q_2m, ustar
    361363      REAL, dimension(klon), intent(out) :: u_10m, t_10m, q_10m
    362364      INTEGER, dimension(klon, 6), intent(out) :: n2mout
     
    449451        tpot(i) = t1(i)* (psol(i)/pat1(i))**RKAPPA
    450452        zdu2 = MAX(CEPDUE*CEPDUE, speed(i)**2)
     453        ustar(i) = sqrt(cdram(i) * zdu2)
    451454!
    452455      ENDDO
Note: See TracChangeset for help on using the changeset viewer.