Changeset 454 for LMDZ.3.3


Ignore:
Timestamp:
Mar 7, 2003, 5:35:57 PM (21 years ago)
Author:
lmdzadmin
Message:

Ajout diagnostics de fonte glace et calving IM/JLD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ.3.3/branches/rel-LF/libf/phylmd/clmain.F

    r448 r454  
    1616     .                  flux_t,flux_q,flux_u,flux_v,cdragh,cdragm,
    1717     .                  dflux_t,dflux_q,
    18      .                  zcoefh,zu1,zv1, t2m, q2m, u10m, v10m)
     18cIM cf JLD    .                  zcoefh,zu1,zv1, t2m, q2m, u10m, v10m)
     19     .                  zcoefh,zu1,zv1, t2m, q2m, u10m, v10m,
     20     .                  fqcalving,ffonte)
    1921cAA .                  itr, tr, flux_surf, d_tr)
    2022cAA REM:
     
    6870c dflux_t derive du flux sensible
    6971c dflux_q derive du flux latent
     72c ffonte----Flux thermique utilise pour fondre la neige
     73c fqcalving-Flux d'eau "perdue" par la surface et necessaire pour limiter la
     74c           hauteur de neige, en kg/m2/s
    7075cAA on rajoute en output yu1 et yv1 qui sont les vents dans
    7176cAA la premiere couche
     
    9398      REAL flux_t(klon,klev, nbsrf), flux_q(klon,klev, nbsrf)
    9499      REAL dflux_t(klon), dflux_q(klon)
     100cIM cf JLD
     101      REAL y_fqcalving(klon), y_ffonte(klon)
     102      REAL fqcalving(klon,nbsrf), ffonte(klon,nbsrf)
     103
    95104      REAL flux_u(klon,klev, nbsrf), flux_v(klon,klev, nbsrf)
    96105      REAL rugmer(klon), agesno(klon,nbsrf),rugoro(klon)
     
    175184      REAL u1lay(klon), v1lay(klon)
    176185      REAL delp(klon,klev)
    177       REAL totalflu(klon)
    178186      INTEGER i, k, nsrf
    179187cAA   INTEGER it
     
    368376
    369377      DO 99999 nsrf = 1, nbsrf
    370        totalflu = radsol
    371378
    372379c chercher les indices:
     
    419426        ytaux(j) = flux_u(i,1,nsrf)
    420427        ytauy(j) = flux_v(i,1,nsrf)
    421 c$$$    ysolsw(j) = solsw(i)
    422 cIM cf. JLD
    423428        ysolsw(j) = solsw(i,nsrf)
    424 c       ysolsw(j) = (1 - albe(i,nsrf))
    425 c    $      /(1 - pctsrf(i,is_ter) * albe(i,is_ter)
    426 c    $      - pctsrf(i, is_lic) *albe(i,is_lic)
    427 c    $      - pctsrf(i, is_oce) *albe(i,is_oce)
    428 c    $      - pctsrf(i, is_sic) *albe(i,is_sic)
    429 c    $      ) * solsw(i)
    430 cIM cf. JLD     ysollw(j) = sollw(i)
    431429        ysollw(j) = sollw(i,nsrf)
    432430        ysollwdown(j) = sollwdown(i)
     
    435433        yu1(j) = u1lay(i)
    436434        yv1(j) = v1lay(i)
    437 c$$$        yrads(j) = totalflu(i)
    438 cIM cf. JLD
    439435        yrads(j) =  ysolsw(j)+ ysollw(j)
    440 c       yrads(j) = (1 - albe(i,nsrf))
    441 c    $      /(1 - pctsrf(i,is_ter) * albe(i,is_ter)
    442 c    $      - pctsrf(i, is_lic) *albe(i,is_lic)
    443 c    $      - pctsrf(i, is_oce) *albe(i,is_oce)
    444 c    $      - pctsrf(i, is_sic) *albe(i,is_sic)
    445 cIM cf. JLD  $      ) * solsw(i) + sollw(i)
    446 c    $      ) * solsw(i) + ysollw(j)
    447436        ypaprs(j,klev+1) = paprs(i,klev+1)
    448437      END DO
    449       IF ( nsrf .eq. is_ter ) THEN
     438C
     439C     IF bucket model for continent, copy soil water content
     440      IF ( nsrf .eq. is_ter .and. .not. ok_veget ) THEN
    450441          DO j = 1, knon
    451442            i = ni(j)
     
    489480      ENDDO
    490481      ENDDO
    491 
    492482c
    493483c
     
    522512     s          pctsrf_new, yagesno,
    523513     s          y_d_t, y_d_q, y_d_ts, yz0_new,
    524      s          y_flux_t, y_flux_q, y_dflux_t, y_dflux_q)
     514cIM cf JLD    s          y_flux_t, y_flux_q, y_dflux_t, y_dflux_q)
     515     s          y_flux_t, y_flux_q, y_dflux_t, y_dflux_q,
     516     s          y_fqcalving,y_ffonte)
    525517c
    526518c calculer la longueur de rugosite sur ocean
     
    583575           rugos(i,nsrf) = yrugm(j)
    584576         endif 
     577cIM cf JLD ??
     578         fqcalving(i,nsrf) = y_fqcalving(j)       
     579         ffonte(i,nsrf) = y_ffonte(j)       
    585580         cdragh(i) = cdragh(i) + ycoefh(j,1)
    586581         cdragm(i) = cdragm(i) + ycoefm(j,1)
     
    751746     s                pctsrf_new, agesno,
    752747     s                d_t, d_q, d_ts, z0_new,
    753      s                flux_t, flux_q,dflux_s,dflux_l)
     748cIM cf JLD    s                flux_t, flux_q,dflux_s,dflux_l)
     749     s                flux_t, flux_q,dflux_s,dflux_l,
     750     s                fqcalving,ffonte)
    754751
    755752      USE interface_surf
     
    812809      REAL dflux_s(klon) ! derivee du flux sensible dF/dTs
    813810      REAL dflux_l(klon) ! derivee du flux latent dF/dTs
     811cIM cf JLD
     812c Flux thermique utiliser pour fondre la neige
     813      REAL ffonte(klon)
     814c Flux d'eau "perdue" par la surface et nécessaire pour que limiter la
     815c hauteur de neige, en kg/m2/s
     816      REAL fqcalving(klon)
    814817c======================================================================
    815818      REAL t_grnd  ! temperature de rappel pour glace de mer
     
    10281031     s evap, fluxsens, fluxlat, dflux_l, dflux_s,             
    10291032     s tsol_rad, tsurf_new, alb_new, alblw, emis_new, z0_new,
    1030      s pctsrf_new, agesno)
     1033cIM cf JLD    s pctsrf_new, agesno)
     1034     s pctsrf_new, agesno,fqcalving,ffonte)
    10311035
    10321036
Note: See TracChangeset for help on using the changeset viewer.