Ignore:
Timestamp:
Jan 20, 2014, 5:20:05 PM (10 years ago)
Author:
lguez
Message:

New run-time parameters: ok_gwd_rando, ruwmax and sat. Logical
variable ok_gwd_rando activates the new stochastic parameterization of
the drag of non-orographic gravity waves, by F. Lott. Default value of
ok_gwd_rando is false. A run with ok_gwd_rando creates new variables
in restartphy.nc: du_gwd_rando and dv_gwd_rando. Possible output in
history files of new variables du_gwd_rando, dv_gwd_rando and
vstr_gwd_rando.

File:
1 edited

Legend:

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

    r1924 r1938  
    146146         o_dtr_insc, o_dtr_bcscav, o_dtr_evapls, &
    147147         o_dtr_ls, o_dtr_trsp, o_dtr_sscav, &
    148          o_dtr_sat, o_dtr_uscav, o_trac_cum
     148         o_dtr_sat, o_dtr_uscav, o_trac_cum, o_du_gwd_rando, o_dv_gwd_rando, &
     149         o_vstr_gwd_rando
    149150
    150151    USE phys_state_var_mod, only: pctsrf, paire_ter, rain_fall, snow_fall, &
     
    167168         vqsumSTD, vTsumSTD, O3daysumSTD, wqsumSTD, &
    168169         vphisumSTD, wTsumSTD, u2sumSTD, v2sumSTD, &
    169          T2sumSTD, nlevSTD
     170         T2sumSTD, nlevSTD, du_gwd_rando, dv_gwd_rando
    170171
    171172    USE phys_local_var_mod, only: zxfluxlat, slp, zxtsol, zt2m, &
     
    216217
    217218    USE phys_output_var_mod, only: vars_defined, snow_o, zfra_o, bils_diss, &
    218          bils_ec, bils_tke, bils_kinetic, bils_latent, &
    219          bils_enthalp, itau_con, nfiles, clef_files, &
    220          nid_files
     219         bils_ec, bils_tke, bils_kinetic, bils_latent, bils_enthalp, &
     220         itau_con, nfiles, clef_files, nid_files, zvstr_gwd_rando
    221221    USE indice_sol_mod, only: nbsrf
    222222    USE infotrac, only: nqtot
     
    892892       CALL histwrite_phy(o_rnebcon, rnebcon)
    893893       CALL histwrite_phy(o_rnebls, rneb)
    894 IF (vars_defined)  THEN
    895       DO k=1, klev
    896          DO i=1, klon
    897             zx_tmp_fi3d(i,k)=cldfra(i,k)*JrNt(i)
    898          ENDDO
    899       ENDDO
    900 ENDIF
     894       IF (vars_defined)  THEN
     895          DO k=1, klev
     896             DO i=1, klon
     897                zx_tmp_fi3d(i,k)=cldfra(i,k)*JrNt(i)
     898             ENDDO
     899          ENDDO
     900       ENDIF
    901901       CALL histwrite_phy(o_rnebjn, zx_tmp_fi3d)
    902902       CALL histwrite_phy(o_rhum, zx_rh)
     
    11191119          CALL histwrite_phy(o_dthin, zx_tmp_fi3d)
    11201120       ENDIF
     1121
     1122       IF (ok_gwd_rando) then
     1123          CALL histwrite_phy(o_du_gwd_rando, du_gwd_rando / pdtphys)
     1124          CALL histwrite_phy(o_dv_gwd_rando, dv_gwd_rando / pdtphys)
     1125          CALL histwrite_phy(o_vstr_gwd_rando, zvstr_gwd_rando)
     1126       end IF
     1127
    11211128       CALL histwrite_phy(o_rsu, swup)
    11221129       CALL histwrite_phy(o_rsd, swdn)
Note: See TracChangeset for help on using the changeset viewer.