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/conf_phys_m.F90

    r1737 r1753  
    169169  LOGICAL,SAVE :: ok_orodr_omp, ok_orolf_omp, ok_limitvrai_omp
    170170  INTEGER, SAVE :: nbapp_rad_omp, iflag_con_omp
     171  INTEGER, SAVE :: iflag_ener_conserv_omp
    171172  LOGICAL,SAVE :: ok_strato_omp
    172173  LOGICAL,SAVE :: ok_hines_omp
     
    653654       CALL getin('iflag_con',iflag_con_omp)
    654655
     656!Config  Key  = iflag_ener_conserv
     657!Config  Desc = Flag de convection
     658!Config  Def  = 1
     659!Config  Help = Flag  pour la convection les options suivantes existent :
     660!Config         -1 pour Kinetic energy correction
     661!Config         1  conservation kinetic and enthalpy
     662       iflag_ener_conserv_omp = -1
     663       CALL getin('iflag_ener_conserv',iflag_ener_conserv_omp)
     664
     665!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    655666!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    656667!!
     
    16371648    nbapp_rad = nbapp_rad_omp
    16381649    iflag_con = iflag_con_omp
     1650    iflag_ener_conserv = iflag_ener_conserv_omp
    16391651
    16401652    epmax = epmax_omp
     
    18451857  write(lunout,*)'nbapp_rad=',nbapp_rad
    18461858  write(lunout,*)'iflag_con=',iflag_con
     1859  write(lunout,*)'iflag_ener_conserv=',iflag_ener_conserv
    18471860  write(lunout,*)' epmax = ', epmax
    18481861  write(lunout,*)' ok_adj_ema = ', ok_adj_ema
Note: See TracChangeset for help on using the changeset viewer.