Ignore:
Timestamp:
Apr 30, 2015 7:05:52 AM (9 years ago)
Author:
maronga
Message:

Added support for RRTMG radiation code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/prognostic_equations.f90

    r1518 r1585  
    2020! Current revisions:
    2121! ------------------
    22 !
     22! Added call for temperature tendency calculation due to radiative flux divergence
    2323!
    2424! Former revisions:
     
    277277        ONLY:  production_e, production_e_acc
    278278
     279    USE radiation_model_mod,                                                   &
     280        ONLY:  radiation, radiation_scheme, radiation_tendency
     281
    279282    USE statistics,                                                            &
    280283        ONLY:  hom
     
    593596                CALL subsidence( i, j, tend, pt, pt_init, 2 )
    594597             ENDIF
     598
     599!
     600!--          If required, add tendency due to radiative heating/cooling
     601             IF ( radiation .AND. radiation_scheme == 'rrtmg' )  THEN
     602                CALL radiation_tendency ( i, j, tend )
     603             ENDIF
     604
    595605
    596606             CALL user_actions( i, j, 'pt-tendency' )
     
    12461256            .NOT. use_subsidence_tendencies )  THEN
    12471257          CALL subsidence( tend, pt, pt_init, 2 )
     1258       ENDIF
     1259
     1260!
     1261!--    If required, add tendency due to radiative heating/cooling
     1262       IF ( radiation .AND. radiation_scheme == 'rrtmg' )  THEN
     1263          CALL radiation_tendency ( tend )
    12481264       ENDIF
    12491265
Note: See TracChangeset for help on using the changeset viewer.