Ignore:
Timestamp:
Feb 16, 2026, 6:01:58 PM (5 days ago)
Author:
evignon
Message:

harmonisation des lectures de z0 dans les .def afin de pouvoir forcer les cas 1D au format standard
en z0m et z0h sur tout type de sous-surface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/conf_phys_m.f90

    r6075 r6078  
    129129    REAL, SAVE          :: f_rugoro_omp   , z0min_omp
    130130    REAL, SAVE          :: z0m_seaice_omp,z0h_seaice_omp
    131     REAL, SAVE          :: z0m_landice_omp,ratio_z0hz0m_landice_omp
     131    REAL, SAVE          :: z0m_landice_omp,z0h_landice_omp
     132    REAL, SAVE          :: z0m_ocean_omp, z0h_ocean_omp
     133    REAL, SAVE          :: z0m_land_omp, z0h_land_omp
     134    REAL                :: ratio_z0hz0m_land, ratio_z0hz0m_ocean, ratio_z0hz0m_landice, ratio_z0hz0m_seaice
    132135    REAL, SAVE          :: min_wind_speed_omp,f_gust_wk_omp,f_gust_bl_omp,f_qsat_oce_omp, f_z0qh_oce_omp
    133     INTEGER, SAVE       :: iflag_gusts_omp,iflag_z0_oce_omp
     136    INTEGER, SAVE       :: iflag_gusts_omp,iflag_z0_oce_omp, iflag_z0_ter_omp
    134137
    135138    REAL :: seuil_inversion
     
    10041007    !Config Desc = fraction of shortwave penetrating into the ice
    10051008    !Config Def  = 0.3
    1006     !Config Help = pour le modele de glace de mer
     1009    !Config Help = pour le modale de glace de mer
    10071010    si_pen_frac_omp = 0.3
    10081011    CALL getin('si_pen_frac', si_pen_frac_omp)
     
    19321935    iflag_z0_oce_omp=0
    19331936    CALL getin('iflag_z0_oce',iflag_z0_oce_omp)
     1937
     1938    iflag_z0_ter_omp=0
     1939    CALL getin('iflag_z0_ter',iflag_z0_ter_omp)
     1940
    19341941    !
    19351942    iflag_gusts_omp=0
     
    19391946    CALL getin('min_wind_speed',min_wind_speed_omp)
    19401947
    1941     z0m_seaice_omp = 0.002 ; CALL getin('z0m_seaice',z0m_seaice_omp)
    1942     z0h_seaice_omp = 0.002 ; CALL getin('z0h_seaice',z0h_seaice_omp)
    1943 
    1944 
    1945     z0m_landice_omp = 0.001 ; CALL getin('z0m_landice',z0m_landice_omp)
    1946     ratio_z0hz0m_landice_omp = 1. ; CALL getin('ratio_z0hz0m_landice',ratio_z0hz0m_landice_omp)
    1947 
    19481948    f_rugoro_omp = 0.
    19491949    CALL getin('f_rugoro',f_rugoro_omp)
     
    19521952    CALL getin('z0min',z0min_omp)
    19531953
    1954     ! PARAMETERS FOR SNOW AND ICE MELTING
     1954
     1955
     1956    z0m_seaice_omp = 0.002
     1957    CALL getin('z0m_seaice',z0m_seaice_omp)
     1958    ratio_z0hz0m_seaice =  1.
     1959    CALL getin('ratio_z0hz0m_seaice',ratio_z0hz0m_seaice)
     1960    z0h_seaice_omp = z0m_seaice_omp * ratio_z0hz0m_seaice
     1961    CALL getin('z0h_seaice',z0h_seaice_omp)
     1962
     1963    z0m_landice_omp = 0.001
     1964    CALL getin('z0m_landice',z0m_landice_omp)
     1965    ratio_z0hz0m_landice =  1.
     1966    CALL getin('ratio_z0hz0m_landice',ratio_z0hz0m_landice)
     1967    z0h_landice_omp = z0m_landice_omp * ratio_z0hz0m_landice
     1968    CALL getin('z0h_landice',z0h_landice_omp)
     1969
     1970    z0m_ocean_omp = z0min_omp
     1971    CALL getin('z0m_ocean',z0m_ocean_omp)
     1972    ratio_z0hz0m_ocean =  1.
     1973    CALL getin('ratio_z0hz0m_ocean',ratio_z0hz0m_ocean)
     1974    z0h_ocean_omp = z0m_ocean_omp * ratio_z0hz0m_ocean
     1975    CALL getin('z0h_ocean',z0h_ocean_omp)
     1976
     1977    z0m_land_omp = z0min_omp
     1978    CALL getin('z0m_land',z0m_land_omp)
     1979    ratio_z0hz0m_land =  1.
     1980    CALL getin('ratio_z0hz0m_land',ratio_z0hz0m_land)
     1981    z0h_land_omp = z0m_land_omp * ratio_z0hz0m_land
     1982    CALL getin('z0h_land',z0h_land_omp)
     1983
     1984
     1985      ! PARAMETERS FOR SNOW AND ICE MELTING
    19551986    chasno_tun_omp=0.15
    19561987    CALL getin('chasno_tun',chasno_tun_omp)
     
    23792410    iflag_gusts=iflag_gusts_omp
    23802411    iflag_z0_oce=iflag_z0_oce_omp
     2412    iflag_z0_ter=iflag_z0_ter_omp
    23812413
    23822414    z0m_seaice=z0m_seaice_omp
    23832415    z0h_seaice=z0h_seaice_omp
    23842416    z0m_landice=z0m_landice_omp
    2385     ratio_z0hz0m_landice=ratio_z0hz0m_landice_omp
     2417    z0h_landice=z0h_landice_omp
     2418    z0m_ocean=z0m_ocean_omp
     2419    z0h_ocean=z0h_ocean_omp
     2420    z0m_land=z0m_land_omp
     2421    z0h_land=z0h_land_omp
    23862422
    23872423    chasno_tun=chasno_tun_omp
     
    26822718    WRITE(lunout,*) ' f_rugoro = ',f_rugoro
    26832719    WRITE(lunout,*) ' z0min = ',z0min
     2720    WRITE(lunout,*) ' z0m_landice = ',z0m_landice
     2721    WRITE(lunout,*) ' z0h_landice = ',z0h_landice
     2722    WRITE(lunout,*) ' z0m_seaice = ',z0m_seaice
     2723    WRITE(lunout,*) ' z0h_seaice = ',z0h_seaice
     2724    WRITE(lunout,*) ' z0m_ocean = ',z0m_ocean
     2725    WRITE(lunout,*) ' z0h_ocean = ',z0h_ocean
     2726    WRITE(lunout,*) ' z0m_land = ',z0m_land
     2727    WRITE(lunout,*) ' z0h_land = ',z0h_land
    26842728    WRITE(lunout,*) ' tmax_fonte_cv = ', tmax_fonte_cv
    26852729    WRITE(lunout,*) ' iflag_wake = ', iflag_wake
Note: See TracChangeset for help on using the changeset viewer.