Changeset 3447 for LMDZ6/trunk
- Timestamp:
- Jan 25, 2019, 5:05:38 PM (6 years ago)
- Location:
- LMDZ6/trunk/libf/phylmd
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/YOMCST.h
r3394 r3447 20 20 REAL RSIGMA 21 21 ! A1.4 Thermodynamic gas phase 22 REAL R,RMD,RMO3,RMCO2,RMC,RMV,RD,RV,RCPD,RCPV,RCVD,RCVV 22 REAL RMO3,RMCO2,RMC,RMCH4,RMN2O,RMCFC11,RMCFC12 23 REAL R,RMD,RMV,RD,RV,RCPD,RCPV,RCVD,RCVV 23 24 REAL RKAPPA,RETV 24 25 ! A1.5,6 Thermodynamic liquid,solid phases … … 35 36 & ,RA ,RG ,R1SA & 36 37 & ,RSIGMA & 37 & ,R ,RMD ,RMO3 ,RMCO2, RMC, RMV ,RD ,RV ,RCPD & 38 & ,R ,RMD ,RMV ,RD ,RV ,RCPD & 39 & ,RMO3 ,RMCO2 ,RMC ,RMCH4 ,RMN2O ,RMCFC11 ,RMCFC12 & 38 40 & ,RCPV ,RCVD ,RCVV ,RKAPPA,RETV & 39 41 & ,RCW ,RCS & -
LMDZ6/trunk/libf/phylmd/carbon_cycle_mod.F90
r3435 r3447 38 38 39 39 ! Variables read from parmeter file physiq.def 40 LOGICAL, PUBLIC :: carbon_cycle_cpl ! Coupling of CO2 fluxes between LMDZ/ORCHIDEE and LMDZ/OCEAN(PISCES) 41 !$OMP THREADPRIVATE(carbon_cycle_cpl) 40 42 LOGICAL, PUBLIC :: carbon_cycle_tr ! 3D transport of CO2 in the atmosphere, parameter read in conf_phys 41 43 !$OMP THREADPRIVATE(carbon_cycle_tr) 42 LOGICAL, PUBLIC :: carbon_cycle_ cpl ! Coupling of CO2 fluxes between LMDZ/ORCHIDEE and LMDZ/OCEAN(PISCES)43 !$OMP THREADPRIVATE(carbon_cycle_ cpl)44 LOGICAL, PUBLIC :: carbon_cycle_rad ! CO2 interactive radiatively 45 !$OMP THREADPRIVATE(carbon_cycle_rad) 44 46 INTEGER, PUBLIC :: level_coupling_esm ! Level of coupling for the ESM - 0, 1, 2, 3 45 47 !$OMP THREADPRIVATE(level_coupling_esm) 48 REAL, PUBLIC :: RCO2_glo, RCO2_tot 49 !$OMP THREADPRIVATE(RCO2_glo, RCO2_tot) 46 50 47 51 LOGICAL :: carbon_cycle_emis_comp_omp=.FALSE. … … 91 95 REAL, DIMENSION(:), ALLOCATABLE, PUBLIC :: co2_send ! Field allocated in phyetat0 92 96 !$OMP THREADPRIVATE(co2_send) 97 98 INTEGER, PARAMETER, PUBLIC :: id_CO2=1 !--temporaire OB -- to be changed 93 99 94 100 ! nbfields : total number of fields … … 552 558 553 559 ! Transformation of atmospheric CO2 concentration for the radiation code 554 RCO2 = co2_ppm * 1.0e-06 * 44.011/28.97560 RCO2 = co2_ppm * 1.0e-06 * RMCO2/28.97 555 561 556 562 WRITE(lunout,*) 'RCO2 is now updated! RCO2 = ', RCO2 -
LMDZ6/trunk/libf/phylmd/conf_phys_m.F90
r3435 r3447 26 26 USE surface_data 27 27 USE phys_cal_mod 28 USE carbon_cycle_mod, ONLY: carbon_cycle_tr, carbon_cycle_cpl, level_coupling_esm28 USE carbon_cycle_mod, ONLY: carbon_cycle_tr, carbon_cycle_cpl, carbon_cycle_rad, level_coupling_esm 29 29 USE mod_grid_phy_lmdz, ONLY: klon_glo 30 30 USE print_control_mod, ONLY: lunout … … 231 231 LOGICAL, SAVE :: carbon_cycle_tr_omp 232 232 LOGICAL, SAVE :: carbon_cycle_cpl_omp 233 LOGICAL, SAVE :: carbon_cycle_rad_omp 233 234 INTEGER, SAVE :: level_coupling_esm_omp 234 235 LOGICAL, SAVE :: adjust_tropopause_omp … … 2156 2157 carbon_cycle_cpl_omp=.FALSE. 2157 2158 CALL getin('carbon_cycle_cpl',carbon_cycle_cpl_omp) 2159 2160 carbon_cycle_rad_omp=.FALSE. 2161 CALL getin('carbon_cycle_rad',carbon_cycle_rad_omp) 2158 2162 2159 2163 ! >> PC … … 2428 2432 carbon_cycle_tr = carbon_cycle_tr_omp 2429 2433 carbon_cycle_cpl = carbon_cycle_cpl_omp 2434 carbon_cycle_rad = carbon_cycle_rad_omp 2430 2435 level_coupling_esm = level_coupling_esm_omp 2431 2436 … … 2529 2534 IF (flag_bc_internal_mixture .AND. flag_aerosol.NE.6) THEN 2530 2535 CALL abort_physic('conf_phys', 'flag_bc_internal_mixture can only be activated with flag_aerosol=6',1) 2536 ENDIF 2537 2538 ! Test on carbon cycle 2539 IF (carbon_cycle_tr .AND. .NOT. carbon_cycle_cpl) THEN 2540 CALL abort_physic('conf_phys', 'carbon_cycle_cpl has to be TRUE if carbon_cycle_tr is on',1) 2541 ENDIF 2542 IF (carbon_cycle_rad .AND. .NOT. carbon_cycle_cpl) THEN 2543 CALL abort_physic('conf_phys', 'carbon_cycle_cpl has to be TRUE if carbon_cycle_rad is on',1) 2531 2544 ENDIF 2532 2545 … … 2742 2755 WRITE(lunout,*) ' carbon_cycle_tr = ', carbon_cycle_tr 2743 2756 WRITE(lunout,*) ' carbon_cycle_cpl = ', carbon_cycle_cpl 2757 WRITE(lunout,*) ' carbon_cycle_rad = ', carbon_cycle_rad 2744 2758 WRITE(lunout,*) ' level_coupling_esm = ', level_coupling_esm 2745 2759 -
LMDZ6/trunk/libf/phylmd/suphel.F90
r3394 r3447 118 118 rmo3 = 47.9942 119 119 rmco2 = 44.011 120 rmch4 = 16.043 121 rmn2o = 44.013 122 rmcfc11 = 137.3686 123 rmcfc12 = 120.9140 120 124 rmc = 12.0107 121 125 rmv = 18.0153 … … 133 137 WRITE (UNIT=6, FMT='('' Ozone mass = '',e13.7)') rmo3 134 138 WRITE (UNIT=6, FMT='('' CO2 mass = '',e13.7)') rmco2 135 WRITE (UNIT=6, FMT='('' CO2 mass = '',e13.7)') rmc 139 WRITE (UNIT=6, FMT='('' C mass = '',e13.7)') rmc 140 WRITE (UNIT=6, FMT='('' CH4 mass = '',e13.7)') rmch4 141 WRITE (UNIT=6, FMT='('' N2O mass = '',e13.7)') rmn2o 142 WRITE (UNIT=6, FMT='('' CFC11 mass = '',e13.7)') rmcfc11 143 WRITE (UNIT=6, FMT='('' CFC12 mass = '',e13.7)') rmcfc12 136 144 WRITE (UNIT=6, FMT='('' Vapour mass = '',e13.7)') rmv 137 145 WRITE (UNIT=6, FMT='('' Dry air cst. = '',e13.7)') rd
Note: See TracChangeset
for help on using the changeset viewer.