Ignore:
Timestamp:
May 13, 2013, 2:53:28 PM (11 years ago)
Author:
idelkadi
Message:

Concerns energy conservation.


The source terms of the TKE prognostic equation are diagnosed
from the tendencies (du, dv, dT) associated with subrgrid scale
motions and treated as an additional heat source.
Controled by a new key, iflag_ener_conserv :

0 no conservation

-1 old adhoc correction for kinetic E only (used for CMIP5)

1 conservation
101 conversion from kinetic to heat only
110 conversion from potential to heat only

iflag_ener_conserv=-1 kept as default value for a test period
iflag_ener_conserv=1 is the advisable value
Concerns clesphys.h, and conf_phys.F90
New routine : ener_conserv.F90, called by physic.
New outputs :
bils_ec, contribution to the energy budget of the column of the

additional heat source (in W/m2)

bils_kinetic : change kinetic energy of the column in physics (W/m2)
bils_enthalp : idem for the total column enthalphy
bils_latent : idem for latent heat
Modified files : clesphys.h, conf_phys_m.F90, physiq.F,

phys_output_mod.F90, phys_output_var_mod.F90, phys_output_write.h,
ener_conserv.F90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/physiq.F

    r1742 r1753  
    722722
    723723      REAL bils(klon) ! bilan de chaleur au sol
     724
    724725      REAL wfbilo(klon,nbsrf) ! bilan d'eau, pour chaque
    725726C                             ! type de sous-surface et pondere par la fraction
     
    751752      SAVE lmt_pas                ! frequence de mise a jour
    752753c$OMP THREADPRIVATE(lmt_pas)
    753       real zmasse(klon, llm)
     754      real zmasse(klon, llm),exner(klon, llm)
    754755C     (column-density of mass of air in a cell, in kg m-2)
    755756      real, parameter:: dobson_u = 2.1415e-05 ! Dobson unit, in kg m-2
     
    37483749c Accumuler les variables a stocker dans les fichiers histoire:
    37493750c
    3750 c+jld ec_conser
    3751       DO k = 1, klev
    3752       DO i = 1, klon
    3753         ZRCPD = RCPD*(1.0+RVTMP2*q_seri(i,k))
    3754         d_t_ec(i,k)=0.5/ZRCPD
    3755      $      *(u(i,k)**2+v(i,k)**2-u_seri(i,k)**2-v_seri(i,k)**2)
    3756       ENDDO
    3757       ENDDO
    3758 
    3759       DO k = 1, klev
    3760       DO i = 1, klon
    3761         t_seri(i,k)=t_seri(i,k)+d_t_ec(i,k)
    3762         d_t_ec(i,k) = d_t_ec(i,k)/dtime
    3763        END DO
    3764       END DO
    3765 c-jld ec_conser
     3751
     3752!================================================================
     3753! Conversion of kinetic and potential energy into heat, for
     3754! parameterisation of subgrid-scale motions
     3755!================================================================
     3756
     3757      d_t_ec(:,:)=0.
     3758      forall (k=1: llm) exner(:, k) = (pplay(:, k)/paprs(:,1))**RKAPPA
     3759      CALL ener_conserv(klon,klev,pdtphys,u,v,t,qx(:,:,ivap),
     3760     s        u_seri,v_seri,t_seri,q_seri,
     3761     s        zmasse,exner,d_t_ec)
     3762      t_seri(:,:)=t_seri(:,:)+d_t_ec(:,:)
     3763
    37663764cIM
    37673765      IF (ip_ebil_phy.ge.1) THEN
     
    38333831      END IF
    38343832
    3835 c=============================================================
     3833
    38363834c
    38373835c Convertir les incrementations en tendances
Note: See TracChangeset for help on using the changeset viewer.