Changeset 945


Ignore:
Timestamp:
Apr 11, 2008, 3:53:10 PM (17 years ago)
Author:
lmdzadmin
Message:

Ajout variables thermiques/wake/autres FH
IM

Location:
LMDZ4/trunk/libf/phylmd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/phys_output_mod.F90

    r932 r945  
    162162  integer, dimension(nfiles) , save :: flag_slab_bils    = (/ 1, 1, 10, 10 /)
    163163
     164  integer, dimension(nfiles) , save :: flag_ale_bl    = (/ 1, 1, 10, 10 /)
     165  integer, dimension(nfiles) , save :: flag_alp_bl    = (/ 1, 1, 10, 10 /)
     166  integer, dimension(nfiles) , save :: flag_ale_wk    = (/ 1, 1, 10, 10 /)
     167  integer, dimension(nfiles) , save :: flag_alp_wk    = (/ 1, 1, 10, 10 /)
     168
    164169! Champs interpolles sur des niveaux de pression ??? a faire correctement
    165170! if=1 on ecrit u v w phi sur 850 700 500 200 au niv 1
     
    221226  integer, dimension(nfiles) , save :: flag_iwcon        = (/ 2, 5, 10, 10 /)
    222227  integer, dimension(nfiles) , save :: flag_temp         = (/ 2, 3, 4, 1 /)
     228  integer, dimension(nfiles) , save :: flag_theta         = (/ 2, 3, 4, 1 /)
    223229  integer, dimension(nfiles) , save :: flag_ovap         = (/ 2, 3, 4, 10 /)
    224230  integer, dimension(nfiles) , save :: flag_wvapp        = (/ 2, 10, 10, 10 /)
     
    257263  integer, dimension(nfiles) , save :: flag_ducon        = (/ 4, 10, 10, 10 /)
    258264  integer, dimension(nfiles) , save :: flag_dqcon        = (/ 4, 5, 10, 10 /)
     265  integer, dimension(nfiles) , save :: flag_dtwak        = (/ 4, 5, 10, 10 /)
     266  integer, dimension(nfiles) , save :: flag_dqwak        = (/ 4, 5, 10, 10 /)
    259267  integer, dimension(nfiles) , save :: flag_dtlsc        = (/ 4, 10, 10, 10 /)
    260268  integer, dimension(nfiles) , save :: flag_dtlschr      = (/ 4, 10, 10, 10 /)
     
    267275  integer, dimension(nfiles) , save :: flag_ratqs        = (/ 4, 10, 10, 10 /)
    268276  integer, dimension(nfiles) , save :: flag_dtthe        = (/ 4, 10, 10, 10 /)
     277  integer, dimension(nfiles) , save :: flag_f_th        = (/ 4, 10, 10, 10 /)
     278  integer, dimension(nfiles) , save :: flag_e_th        = (/ 4, 10, 10, 10 /)
     279  integer, dimension(nfiles) , save :: flag_d_th        = (/ 4, 10, 10, 10 /)
     280  integer, dimension(nfiles) , save :: flag_f0_th        = (/ 4, 10, 10, 10 /)
     281  integer, dimension(nfiles) , save :: flag_zmax_th        = (/ 4, 10, 10, 10 /)
    269282  integer, dimension(nfiles) , save :: flag_dqthe        = (/ 4, 10, 10, 10 /)
    270283  integer, dimension(nfiles) , save :: flag_dtajs        = (/ 4, 10, 10, 10 /)
     
    585598     ENDIF
    586599
     600 CALL histdef2d(iff,flag_ale_bl,"ale_bl","ALE BL","m2/s2")
     601 CALL histdef2d(iff,flag_alp_bl,"alp_bl","ALP BL","m2/s2")
     602 CALL histdef2d(iff,flag_ale_wk,"ale_wk","ALE WK","m2/s2")
     603 CALL histdef2d(iff,flag_alp_wk,"alp_wk","ALP WK","m2/s2")
     604
    587605 CALL histdef2d(iff,flag_weakinv, "weakinv","Weak inversion", "-")
    588606 CALL histdef2d(iff,flag_dthmin,"dthmin","dTheta mini", "K/m")
     
    608626 CALL histdef3d(iff,flag_iwcon,"iwcon","Cloud ice water content","kg/kg")
    609627 CALL histdef3d(iff,flag_temp,"temp","Air temperature","K" )
     628 CALL histdef3d(iff,flag_theta,"theta","Potential air temperature","K" )
    610629 CALL histdef3d(iff,flag_ovap,"ovap","Specific humidity","kg/kg" )
    611630 CALL histdef3d(iff,flag_geop,"geop","Geopotential height","m2/s2")
     
    645664 CALL histdef3d(iff,flag_ducon,"ducon","Convection du","m/s2")
    646665 CALL histdef3d(iff,flag_dqcon,"dqcon","Convection dQ", "(kg/kg)/s")
     666 CALL histdef3d(iff,flag_dtwak,"dtwak","Wake dT","K/s")
     667 CALL histdef3d(iff,flag_dqwak,"dqwak","Wake dQ","(kg/kg)/s")
    647668 CALL histdef3d(iff,flag_dtlsc,"dtlsc","Condensation dT", "K/s")
    648669 CALL histdef3d(iff,flag_dtlschr,"dtlschr","Large-scale condensational heating rate","K/s")
     
    655676 CALL histdef3d(iff,flag_ratqs,"ratqs", "RATQS"," ")
    656677 CALL histdef3d(iff,flag_dtthe,"dtthe","Dry adjust. dT", "K/s")
     678 CALL histdef3d(iff,flag_f_th,"f_th","Thermal plume mass flux", "K/s")
     679 CALL histdef3d(iff,flag_e_th,"e_th","Thermal plume entrainment", "K/s")
     680 CALL histdef3d(iff,flag_d_th,"d_th","Thermal plume detrainment", "K/s")
     681 CALL histdef2d(iff,flag_d_th,"f0_th","Thermal closure mass flux", "K/s")
     682 CALL histdef2d(iff,flag_d_th,"zmax_th","Thermal plume height", "K/s")
    657683 CALL histdef3d(iff,flag_dqthe,"dqthe","Dry adjust. dQ","(kg/kg)/s")
    658684 CALL histdef3d(iff,flag_dtajs,"dtajs","Dry adjust. dT", "K/s")
  • LMDZ4/trunk/libf/phylmd/phys_output_write.h

    r929 r945  
    652652      ENDIF
    653653
     654      IF (flag_ale_bl(iff)<=lev_files(iff)) THEN
     655      CALL histwrite_phy(nid_files(iff),"ale_bl",itau_w,ale_bl)
     656      ENDIF
     657      IF (flag_alp_bl(iff)<=lev_files(iff)) THEN
     658      CALL histwrite_phy(nid_files(iff),"alp_bl",itau_w,alp_bl)
     659      ENDIF
     660      IF (flag_ale_wk(iff)<=lev_files(iff)) THEN
     661      CALL histwrite_phy(nid_files(iff),"ale_wk",itau_w,ale_wake)
     662      ENDIF
     663      IF (flag_alp_wk(iff)<=lev_files(iff)) THEN
     664      CALL histwrite_phy(nid_files(iff),"alp_wk",itau_w,alp_wake)
     665      ENDIF
     666
    654667      ELSE IF (OCEAN.EQ.'slab  ') THEN
    655668
     
    801814       IF (flag_temp(iff)<=lev_files(iff)) THEN
    802815      CALL histwrite_phy(nid_files(iff),"temp",itau_w,t_seri)
     816       ENDIF
     817
     818       IF (flag_theta(iff)<=lev_files(iff)) THEN
     819      CALL histwrite_phy(nid_files(iff),"theta",itau_w,theta)
    803820       ENDIF
    804821
     
    955972       ENDIF
    956973
     974       IF (flag_dtwak(iff)<=lev_files(iff)) THEN
     975      zx_tmp_fi3d(1:klon,1:klev)=d_t_wake(1:klon,1:klev)/pdtphys
     976      CALL histwrite_phy(nid_files(iff),"dtwak",itau_w,zx_tmp_fi3d)
     977       ENDIF
     978
     979       IF (flag_dqwak(iff)<=lev_files(iff)) THEN
     980      zx_tmp_fi3d(1:klon,1:klev)=d_q_wake(1:klon,1:klev)/pdtphys
     981      CALL histwrite_phy(nid_files(iff),"dqwak",itau_w,zx_tmp_fi3d)
     982       ENDIF
     983
    957984       IF (flag_dtlsc(iff)<=lev_files(iff)) THEN
    958985      zx_tmp_fi3d(1:klon,1:klev)=d_t_lsc(1:klon,1:klev)/pdtphys
     
    10041031      zx_tmp_fi3d(1:klon,1:klev)=d_t_ajs(1:klon,1:klev)/pdtphys
    10051032      CALL histwrite_phy(nid_files(iff),"dtthe",itau_w,zx_tmp_fi3d)
     1033       ENDIF
     1034
     1035       IF (flag_f_th(iff)<=lev_files(iff)) THEN
     1036      CALL histwrite_phy(nid_files(iff),"f_th",itau_w,fm_therm)
     1037       ENDIF
     1038
     1039       IF (flag_e_th(iff)<=lev_files(iff)) THEN
     1040      CALL histwrite_phy(nid_files(iff),"e_th",itau_w,entr_therm)
     1041       ENDIF
     1042
     1043       IF (flag_d_th(iff)<=lev_files(iff)) THEN
     1044      CALL histwrite_phy(nid_files(iff),"d_th",itau_w,detr_therm)
     1045       ENDIF
     1046
     1047       IF (flag_f0_th(iff)<=lev_files(iff)) THEN
     1048      CALL histwrite_phy(nid_files(iff),"f0_th",itau_w,f0)
     1049       ENDIF
     1050
     1051       IF (flag_f0_th(iff)<=lev_files(iff)) THEN
     1052      CALL histwrite_phy(nid_files(iff),"zmax_th",itau_w,zmax0)
    10061053       ENDIF
    10071054
Note: See TracChangeset for help on using the changeset viewer.