Ignore:
Timestamp:
Jul 14, 2017, 10:23:40 PM (7 years ago)
Author:
Laurent Fairhead
Message:

Parametrization of drag by copses
Need version 4465 of ORCHIDEE at least

  1. Cheruy
Location:
LMDZ5/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk

  • LMDZ5/trunk/libf/phylmd/conf_phys_m.F90

    r2946 r2952  
    189189    INTEGER,SAVE :: iflag_pbl_omp,lev_histhf_omp,lev_histday_omp,lev_histmth_omp
    190190    INTEGER,SAVE :: iflag_pbl_split_omp
     191!FC
     192    INTEGER,SAVE :: ifl_pbltree_omp
     193    REAL,SAVE :: Cd_frein_omp
     194!FC
    191195    INTEGER,SAVE :: iflag_order2_sollw_omp
    192196    INTEGER, SAVE :: lev_histins_omp, lev_histLES_omp
     
    14041408    iflag_pbl_omp = 1
    14051409    CALL getin('iflag_pbl',iflag_pbl_omp)
     1410
     1411!FC
     1412    !Config Key  = ifl_pbltree
     1413    !Config Desc = drag from trees 0 no activated
     1414    !Config Def  = 0
     1415    !Config Help =
     1416    !
     1417    ifl_pbltree_omp = 0
     1418    CALL getin('ifl_pbltree',ifl_pbltree_omp)
     1419!FC
     1420    !Config Key  = Cd_frein
     1421    !Config Desc = drag from trees
     1422    !Config Def  = 7.5E-02 (valeur Masson mais fait planter avec des LAI eleves)
     1423    !Config Help =
     1424    !
     1425    Cd_frein_omp = 7.5E-02
     1426    CALL getin('Cd_frein',Cd_frein_omp)
     1427
    14061428    !
    14071429    !Config Key  = iflag_pbl_split
     
    21992221    iflag_pbl = iflag_pbl_omp
    22002222    iflag_pbl_split = iflag_pbl_split_omp
     2223!FC
     2224    ifl_pbltree = ifl_pbltree_omp
     2225    Cd_frein    =Cd_frein_omp
    22012226    iflag_order2_sollw = iflag_order2_sollw_omp
    22022227    lev_histhf = lev_histhf_omp
     
    24402465       CALL abort_physic('conf_phys', 'flag_bc_internal_mixture can only be activated with flag_aerosol=6',1)
    24412466    ENDIF
     2467
     2468    ! ORCHIDEE must be activated for ifl_pbltree=1
     2469    IF (.NOT. ok_veget .AND. ifl_pbltree==1) THEN
     2470       WRITE(lunout,*)' ORCHIDEE must be activated for ifl_pbltree=1'
     2471       CALL abort_physic('conf_phys','ok_veget and ifl_pbltree not coherent',1)
     2472    END IF
    24422473
    24432474    !$OMP MASTER
     
    25662597    write(lunout,*)' freq_calNMC = ',freq_calNMC
    25672598    write(lunout,*)' iflag_pbl = ', iflag_pbl
     2599!FC
     2600    write(lunout,*)' ifl_pbltree = ', ifl_pbltree
     2601    write(lunout,*)' Cd_frein = ', Cd_frein
    25682602    write(lunout,*)' iflag_pbl_split = ', iflag_pbl_split
    25692603    write(lunout,*)' iflag_order2_sollw = ', iflag_order2_sollw
Note: See TracChangeset for help on using the changeset viewer.