Ignore:
Timestamp:
Jul 18, 2017, 2:21:01 PM (7 years ago)
Author:
jbmadeleine
Message:

Added new outputs to cloudth_vert (level 10):
s_th, Thermal plume saturation deficit, kg/kg
s_env, Environment saturation deficit, kg/kg
sigma_th, Thermal plume gauss variance, kg/kg
sigma_env, Environment gauss variance, kg/kg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/cloudth_mod.F90

    r2957 r2958  
    819819
    820820      USE ioipsl_getin_p_mod, ONLY : getin_p
     821      USE phys_output_var_mod, ONLY : cloudth_sth,cloudth_senv, &
     822     &                                cloudth_sigmath,cloudth_sigmaenv
    821823
    822824      IMPLICIT NONE
     
    11451147      alenv=(0.622*Lv*zqsatenv(ind1,ind2))/(rdd*zthl(ind1,ind2)**2) 
    11461148      aenv=1./(1.+(alenv*Lv/cppd))
    1147       senv=aenv*(po(ind1)-zqsatenv(ind1,ind2)) 
    1148      
     1149      senv=aenv*(po(ind1)-zqsatenv(ind1,ind2))
     1150      sth=0.
    11491151
    11501152      sigma1s=ratqs(ind1,ind2)*zqenv(ind1)
     1153      sigma2s=0.
    11511154
    11521155      xenv=senv/(sqrt2*sigma1s)
     
    11661169 
    11671170      endif       ! From the separation (thermal/envrionnement) et (environnement) only, l.335 et l.492
     1171      ! Outputs used to check the PDFs
     1172      cloudth_senv(ind1,ind2) = senv
     1173      cloudth_sth(ind1,ind2) = sth
     1174      cloudth_sigmaenv(ind1,ind2) = sigma1s
     1175      cloudth_sigmath(ind1,ind2) = sigma2s
     1176
    11681177      enddo       ! from the loop on ngrid l.333
    11691178     
Note: See TracChangeset for help on using the changeset viewer.