Changeset 3605 for LMDZ6/branches/Ocean_skin/libf/phylmd/conf_phys_m.F90
- Timestamp:
- Nov 21, 2019, 4:43:45 PM (5 years ago)
- Location:
- LMDZ6/branches/Ocean_skin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Ocean_skin
-
LMDZ6/branches/Ocean_skin/libf/phylmd/conf_phys_m.F90
r3432 r3605 17 17 iflag_cld_th, & 18 18 iflag_ratqs,ratqsbas,ratqshaut,tau_ratqs, & 19 ok_ade, ok_aie, ok_alw, ok_cdnc, aerosol_couple, chemistry_couple, &19 ok_ade, ok_aie, ok_alw, ok_cdnc, ok_volcan, aerosol_couple, chemistry_couple, & 20 20 flag_aerosol, flag_aerosol_strat, flag_aer_feedback, new_aod, & 21 21 flag_bc_internal_mixture, bl95_b0, bl95_b1,& … … 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 31 31 use config_ocean_skin_m, only: config_ocean_skin 32 USE phys_state_var_mod, ONLY: phys_tstep 32 33 33 34 INCLUDE "conema3.h" … … 63 64 ! flag_bc_internal_mixture : use BC internal mixture if true 64 65 ! bl95_b*: parameters in the formula to link CDNC to aerosol mass conc 66 ! ok_volcan: activate volcanic diags (SW heat & LW cool rate, SW & LW flux) 65 67 ! 66 68 … … 71 73 LOGICAL :: ok_LES 72 74 LOGICAL :: callstats 73 LOGICAL :: ok_ade, ok_aie, ok_alw, ok_cdnc 75 LOGICAL :: ok_ade, ok_aie, ok_alw, ok_cdnc, ok_volcan 74 76 LOGICAL :: aerosol_couple, chemistry_couple 75 77 INTEGER :: flag_aerosol … … 93 95 LOGICAL, SAVE :: ok_LES_omp 94 96 LOGICAL, SAVE :: callstats_omp 95 LOGICAL, SAVE :: ok_ade_omp, ok_aie_omp, ok_alw_omp, ok_cdnc_omp 97 LOGICAL, SAVE :: ok_ade_omp, ok_aie_omp, ok_alw_omp, ok_cdnc_omp, ok_volcan_omp 96 98 LOGICAL, SAVE :: aerosol_couple_omp, chemistry_couple_omp 97 99 INTEGER, SAVE :: flag_aerosol_omp … … 151 153 152 154 REAL,SAVE :: R_ecc_omp,R_peri_omp,R_incl_omp,solaire_omp 153 REAL :: solaire_omp_init155 REAL,SAVE :: solaire_omp_init 154 156 LOGICAL,SAVE :: ok_suntime_rrtm_omp 155 157 REAL,SAVE :: co2_ppm_omp, RCO2_omp, co2_ppm_per_omp, RCO2_per_omp … … 231 233 LOGICAL, SAVE :: carbon_cycle_tr_omp 232 234 LOGICAL, SAVE :: carbon_cycle_cpl_omp 235 LOGICAL, SAVE :: carbon_cycle_rad_omp 233 236 INTEGER, SAVE :: level_coupling_esm_omp 234 237 LOGICAL, SAVE :: adjust_tropopause_omp … … 395 398 ok_cdnc_omp = .FALSE. 396 399 CALL getin('ok_cdnc', ok_cdnc_omp) 400 401 ! 402 !Config Key = ok_volcan 403 !Config Desc = ok to generate volcanic diags 404 !Config Def = .FALSE. 405 !Config Help = Used in radlwsw_m.F 406 ! 407 ok_volcan_omp = .FALSE. 408 CALL getin('ok_volcan', ok_volcan_omp) 409 397 410 ! 398 411 !Config Key = aerosol_couple … … 595 608 ! RCO2 = 5.286789092164308E-04 596 609 !ancienne valeur 597 RCO2_omp = co2_ppm_omp * 1.0e-06 * 44.011/28.97! pour co2_ppm=348.610 RCO2_omp = co2_ppm_omp * 1.0e-06 * RMCO2 / RMD ! pour co2_ppm=348. 598 611 599 612 ! CALL getin('RCO2', RCO2) … … 615 628 CALL getin('CH4_ppb', zzz) 616 629 CH4_ppb_omp = zzz 617 RCH4_omp = CH4_ppb_omp * 1.0E-09 * 16.043/28.97630 RCH4_omp = CH4_ppb_omp * 1.0E-09 * RMCH4 / RMD 618 631 ! 619 632 !Config Key = RN2O … … 633 646 CALL getin('N2O_ppb', zzz) 634 647 N2O_ppb_omp = zzz 635 RN2O_omp = N2O_ppb_omp * 1.0E-09 * 44.013/28.97648 RN2O_omp = N2O_ppb_omp * 1.0E-09 * RMN2O / RMD 636 649 ! 637 650 !Config Key = RCFC11 … … 645 658 CALL getin('CFC11_ppt',zzz) 646 659 CFC11_ppt_omp = zzz 647 RCFC11_omp=CFC11_ppt_omp* 1.0E-12 * 137.3686/28.97660 RCFC11_omp=CFC11_ppt_omp* 1.0E-12 * RMCFC11 / RMD 648 661 ! RCFC11 = 1.327690990680013E-09 649 662 !OK CALL getin('RCFC11', RCFC11) … … 659 672 CALL getin('CFC12_ppt',zzz) 660 673 CFC12_ppt_omp = zzz 661 RCFC12_omp = CFC12_ppt_omp * 1.0E-12 * 120.9140/28.97674 RCFC12_omp = CFC12_ppt_omp * 1.0E-12 * RMCFC12 / RMD 662 675 ! RCFC12 = 2.020102726958923E-09 663 676 !OK CALL getin('RCFC12', RCFC12) … … 679 692 !Config Help = 680 693 ! 681 RCO2_per_omp = co2_ppm_per_omp * 1.0e-06 * 44.011/28.97694 RCO2_per_omp = co2_ppm_per_omp * 1.0e-06 * RMCO2 / RMD 682 695 683 696 !Config Key = ok_4xCO2atm … … 694 707 CALL getin('CH4_ppb_per', zzz) 695 708 CH4_ppb_per_omp = zzz 696 RCH4_per_omp = CH4_ppb_per_omp * 1.0E-09 * 16.043/28.97709 RCH4_per_omp = CH4_ppb_per_omp * 1.0E-09 * RMCH4 / RMD 697 710 ! 698 711 !Config Key = RN2O_per … … 704 717 CALL getin('N2O_ppb_per', zzz) 705 718 N2O_ppb_per_omp = zzz 706 RN2O_per_omp = N2O_ppb_per_omp * 1.0E-09 * 44.013/28.97719 RN2O_per_omp = N2O_ppb_per_omp * 1.0E-09 * RMN2O / RMD 707 720 ! 708 721 !Config Key = RCFC11_per … … 714 727 CALL getin('CFC11_ppt_per',zzz) 715 728 CFC11_ppt_per_omp = zzz 716 RCFC11_per_omp=CFC11_ppt_per_omp* 1.0E-12 * 137.3686/28.97729 RCFC11_per_omp=CFC11_ppt_per_omp* 1.0E-12 * RMCFC11 / RMD 717 730 ! 718 731 !Config Key = RCFC12_per … … 724 737 CALL getin('CFC12_ppt_per',zzz) 725 738 CFC12_ppt_per_omp = zzz 726 RCFC12_per_omp = CFC12_ppt_per_omp * 1.0E-12 * 120.9140/28.97739 RCFC12_per_omp = CFC12_ppt_per_omp * 1.0E-12 * RMCFC12 / RMD 727 740 !ajout CFMIP end 728 741 … … 1031 1044 ! - 1 = stratospheric aerosols scaled from 550 nm AOD 1032 1045 ! - 2 = stratospheric aerosol properties from CMIP6 1033 !Option 2 is only available with RRTM, this is tested later on 1046 !Option 2 is only available with RRTM, this is tested later on 1034 1047 !Config Def = 0 1035 1048 !Config Help = Used in physiq.F … … 1724 1737 !Config Desc = freq_calNMC(2) = frequence de calcul fichiers histdayNMC 1725 1738 !Config Desc = freq_calNMC(3) = frequence de calcul fichiers histhfNMC 1726 !Config Def = p asphys1727 !Config Help = 1728 ! 1729 freq_calNMC_omp(1) = p asphys1730 freq_calNMC_omp(2) = p asphys1731 freq_calNMC_omp(3) = p asphys1739 !Config Def = phys_tstep 1740 !Config Help = 1741 ! 1742 freq_calNMC_omp(1) = phys_tstep 1743 freq_calNMC_omp(2) = phys_tstep 1744 freq_calNMC_omp(3) = phys_tstep 1732 1745 CALL getin('freq_calNMC',freq_calNMC_omp) 1733 1746 ! … … 2156 2169 carbon_cycle_cpl_omp=.FALSE. 2157 2170 CALL getin('carbon_cycle_cpl',carbon_cycle_cpl_omp) 2171 2172 carbon_cycle_rad_omp=.FALSE. 2173 CALL getin('carbon_cycle_rad',carbon_cycle_rad_omp) 2158 2174 2159 2175 ! >> PC … … 2306 2322 ok_alw = ok_alw_omp 2307 2323 ok_cdnc = ok_cdnc_omp 2324 ok_volcan = ok_volcan_omp 2308 2325 aerosol_couple = aerosol_couple_omp 2309 2326 chemistry_couple = chemistry_couple_omp … … 2428 2445 carbon_cycle_tr = carbon_cycle_tr_omp 2429 2446 carbon_cycle_cpl = carbon_cycle_cpl_omp 2447 carbon_cycle_rad = carbon_cycle_rad_omp 2430 2448 level_coupling_esm = level_coupling_esm_omp 2431 2449 … … 2529 2547 IF (flag_bc_internal_mixture .AND. flag_aerosol.NE.6) THEN 2530 2548 CALL abort_physic('conf_phys', 'flag_bc_internal_mixture can only be activated with flag_aerosol=6',1) 2549 ENDIF 2550 2551 ! Test on carbon cycle 2552 IF (carbon_cycle_tr .AND. .NOT. carbon_cycle_cpl) THEN 2553 CALL abort_physic('conf_phys', 'carbon_cycle_cpl has to be TRUE if carbon_cycle_tr is on',1) 2554 ENDIF 2555 IF (carbon_cycle_rad .AND. .NOT. carbon_cycle_cpl) THEN 2556 CALL abort_physic('conf_phys', 'carbon_cycle_cpl has to be TRUE if carbon_cycle_rad is on',1) 2531 2557 ENDIF 2532 2558 … … 2643 2669 WRITE(lunout,*) ' pmagic = ',pmagic 2644 2670 WRITE(lunout,*) ' ok_ade = ',ok_ade 2671 WRITE(lunout,*) ' ok_volcan = ',ok_volcan 2645 2672 WRITE(lunout,*) ' ok_aie = ',ok_aie 2646 2673 WRITE(lunout,*) ' ok_alw = ',ok_alw … … 2742 2769 WRITE(lunout,*) ' carbon_cycle_tr = ', carbon_cycle_tr 2743 2770 WRITE(lunout,*) ' carbon_cycle_cpl = ', carbon_cycle_cpl 2771 WRITE(lunout,*) ' carbon_cycle_rad = ', carbon_cycle_rad 2744 2772 WRITE(lunout,*) ' level_coupling_esm = ', level_coupling_esm 2745 2773
Note: See TracChangeset
for help on using the changeset viewer.