/[lmdze]/trunk/phylmd/clesphys.f90
ViewVC logotype

Diff of /trunk/phylmd/clesphys.f90

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/Sources/phylmd/clesphys.f revision 202 by guez, Wed Jun 8 12:23:41 2016 UTC trunk/phylmd/clesphys.f revision 288 by guez, Tue Jul 24 16:27:12 2018 UTC
# Line 4  module clesphys Line 4  module clesphys
4    
5    implicit none    implicit none
6    
7    REAL co2_ppm ! concentration du gaz carbonique en ppmv    REAL, protected:: co2_ppm = 348.
8    real solaire ! Constante solaire en W/m2    ! AMIP II, concentration du gaz carbonique en ppmv
9    double precision RCO2 ! Concentration du CO2    
10    double precision RCH4 ! Concentration du CH4    real, protected:: solaire = 1365. ! AMIP II, constante solaire en W/m2
11    double precision RN2O ! Concentration du N2O    double precision, save, protected:: RCO2 ! Concentration du CO2
12    double precision RCFC11 ! Concentration du CFC11    double precision, save, protected:: RCH4 ! Concentration du CH4
13    double precision RCFC12 ! Concentration du CFC12    double precision, save, protected:: RN2O ! Concentration du N2O
14    double precision CH4_ppb, N2O_ppb, CFC11_ppt, CFC12_ppt    double precision, save, protected:: RCFC11 ! Concentration du CFC11
15      double precision, save, protected:: RCFC12 ! Concentration du CFC12
16    ! Simulateur ISCCP:    double precision, protected:: CH4_ppb = 1650., N2O_ppb = 306.
17    INTEGER top_height    double precision, protected:: CFC11_ppt = 280., CFC12_ppt = 484.
18    INTEGER overlap ! 1, 2 or 3    REAL, protected:: cdmmax = 1.3E-3, cdhmax = 1.1E-3 ! seuils cdrm, cdrh
19      
20    REAL cdmmax, cdhmax ! seuils cdrm, cdrh    REAL, protected:: ksta = 1e-10, ksta_ter = 1e-10
21    REAL ksta, ksta_ter ! paramètres stabilité sur terres et en dehors    ! param\`etres de stabilit\'e sur terre et en dehors
22    LOGICAL ok_kzmin ! calcul Kzmin dans la couche limite de surface  
23      LOGICAL, protected:: ok_kzmin  = .true.
24    INTEGER lev_histhf ! niveau sorties 6h    ! calcul de Kzmin dans la couche limite de surface
25    ! 4: histhf3d.nc champs 3d niveaux modele    
26      INTEGER, save, protected:: ecrit_ins = 1
27    integer lev_histday ! niveau sorties journalieres    ! number of time steps of physics between outputs
   ! 3: champs 3D => F. Lott  
   ! 4: + champs sous-surfaces  
   
   integer lev_histmth ! niveau sorties mensuelles  
   ! 3: albedo, rugosite sous-surfaces  
   ! 4: champs tendances 3d  
   
   CHARACTER(len=4) type_run ! 'AMIP' ou 'ENSP'  
   LOGICAL ok_isccp, ok_regdyn  
   
   REAL lonmin_ins, lonmax_ins, latmin_ins, latmax_ins  
   ! longitude et latitude minimales et maximales pour la zone avec  
   ! sorties instantanées tous les pas de temps de la physique,  
   ! fichier "histbilKP_ins.nc"  
28    
29    INTEGER ecrit_ins    logical, protected:: ok_instan = .false.
30    logical:: ok_instan = .false. ! sorties instantanees dans le fichier histins    ! sorties instantanees dans le fichier histins
31    
32    save    real, protected:: f_cdrag_ter = 1., f_cdrag_oce = 0.8
33      ! surface drag coefficients
34    
35  contains  contains
36    
# Line 52  contains Line 39  contains
39      use unit_nml_m, only: unit_nml      use unit_nml_m, only: unit_nml
40    
41      namelist /clesphys_nml/ solaire, co2_ppm, CH4_ppb, N2O_ppb, CFC11_ppt, &      namelist /clesphys_nml/ solaire, co2_ppm, CH4_ppb, N2O_ppb, CFC11_ppt, &
42           CFC12_ppt, top_height, overlap, cdmmax, cdhmax, ksta, &           CFC12_ppt, cdmmax, cdhmax, ksta, ksta_ter, ok_kzmin, ecrit_ins, &
43           ksta_ter, ok_kzmin, lev_histhf, lev_histday, lev_histmth, &           ok_instan, f_cdrag_ter, f_cdrag_oce
          type_run, ok_isccp, ok_regdyn, lonmin_ins, lonmax_ins, latmin_ins, &  
          latmax_ins, ecrit_ins, ok_instan  
44    
45      !---------------------------------------------------------      !---------------------------------------------------------
46    
     solaire = 1365. ! AMIP II  
     co2_ppm = 348. ! AMIP II  
     CH4_ppb = 1650.  
     N2O_ppb = 306.  
     CFC11_ppt = 280.  
     CFC12_ppt = 484.  
     top_height = 3  
     overlap = 3  
     cdmmax = 1.3E-3  
     cdhmax = 1.1E-3  
     ksta = 1.0e-10  
     ksta_ter = 1.0e-10  
     ok_kzmin = .true.  
     lev_histhf = 0  
     lev_histday = 1  
     lev_histmth = 2  
     type_run = 'AMIP'  
     ok_isccp = .false.  
     ok_regdyn = .false.  
     lonmin_ins = 100.  
     lonmax_ins = 130.  
     latmin_ins = -20.  
     latmax_ins = 20.  
     ecrit_ins = NINT(86400./48.)  
   
47      print *, "Enter namelist 'clesphys_nml'."      print *, "Enter namelist 'clesphys_nml'."
48      read(unit=*, nml=clesphys_nml)      read(unit=*, nml=clesphys_nml)
49      write(unit_nml, nml=clesphys_nml)      write(unit_nml, nml=clesphys_nml)

Legend:
Removed from v.202  
changed lines
  Added in v.288

  ViewVC Help
Powered by ViewVC 1.1.21