Changeset 2861


Ignore:
Timestamp:
05/20/16 10:10:59 (8 years ago)
Author:
omamce
Message:

O.M.: add damping in closed seas for PISCES tracers

Location:
CONFIG/UNIFORM/v6/IPSLCM6
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6/EXPERIMENTS/IPSLCM/piControl/COMP/opa9.card

    r2831 r2861  
    2525            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/weights_Goutorbe1_2_eorca1_bilinear.nc               ,  . ), \ 
    2626            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/merged_ESACCI_BIOMER4V1R1_CHL_REG05.nc               ,  . ), \ 
    27             (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/weights_reg05_2_eorca1_bilinear.nc                   ,  . ) 
     27            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/weights_reg05_2_eorca1_bilinear.nc                   ,  . ), \ 
     28            (${R_IN}/OCE/IPSLCM6/${opa9_UserChoices_ORCA_version}/vosaline_360x180-ORCA1_WOA13_climatemonth.nc         , sali_ref_clim_monthly.nc ) 
    2829 
    2930 
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/oasis.driver

    r2540 r2861  
    6767    (( LagAtm = 86400 / day_step * iphysiq / nsplit_phys )) 
    6868 
    69     (( LagOce = 86400 / OPA_NPDT_JOUR )) 
     69    (( LagOce = 86400 / OPA_NPDT_DAY )) 
    7070 
    71     IGCM_debug_Print 1 "OPA_NPDT_JOUR : ${OPA_NPDT_JOUR}" 
     71    IGCM_debug_Print 1 "OPA_NPDT_DAY : ${OPA_NPDT_DAY}" 
    7272    IGCM_debug_Print 1 "LagAtm        : ${LagAtm}" 
    7373    IGCM_debug_Print 1 "LagOce        : ${LagOce}" 
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/opa9.driver

    r2833 r2861  
    3737    # OPA_RDT=$(       supergrep rn_rdt        namelist_cfg ) 
    3838    # OPA_NN_FSBC=$(   supergrep nn_fsbc       namelist_cfg ) 
    39     (( OPA_NPDT_JOUR  =  86400 / OPA_RDT        )) 
     39    (( OPA_NPDT_DAY   =  86400 / OPA_RDT        )) 
     40    (( OPA_NPDT_YEAR  =  OPA_NPDT_DAY * 365     )) 
    4041    (( OPA_RDT_SBC    =  OPA_RDT * OPA_NN_FSBC )) 
    4142  
     
    4849    IGCM_debug_Print 1 "OPA_NN_FSBC    ${OPA_NN_FSBC}" 
    4950    IGCM_debug_Print 1 "OPA_RDT_SBC    ${OPA_RDT_SBC}" 
    50     IGCM_debug_Print 1 "OPA_NPDT_JOUR  ${OPA_NPDT_JOUR}" 
     51    IGCM_debug_Print 1 "OPA_NPDT_DAY   ${OPA_NPDT_DAY}" 
     52    IGCM_debug_Print 1 "OPA_NPDT_YEAR  ${OPA_NPDT_YEAR}" 
    5153    IGCM_debug_Print 1 "DaysSinceJC    ${DaysSinceJC}" 
    5254 
     
    9698 
    9799    ##-- Number of time steps updated : the first, the last and the number of time steps 
    98     (( OPA_NIT000 = ( PeriodDaysSinceJC - DaysSinceJC ) * OPA_NPDT_JOUR + 1 )) 
    99     (( OPA_NPDT   = PeriodLengthInDays * OPA_NPDT_JOUR )) 
     100    (( OPA_NIT000 = ( PeriodDaysSinceJC - DaysSinceJC ) * OPA_NPDT_DAY + 1 )) 
     101    (( OPA_NPDT   = PeriodLengthInDays * OPA_NPDT_DAY )) 
    100102    (( OPA_NITEND = OPA_NIT000 + OPA_NPDT - 1)) 
    101103 
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/pisces.driver

    r2839 r2861  
    66    IGCM_debug_PushStack "MBG_Initialize" 
    77 
    8 # Local function to find namelists parameters 
    9 supergrep () { 
    10     grep "^ *$1 *=" $2 | sed -e "s% *\!.*%%" 
    11 } 
    12  
    13 # Local function to find parameters in LMDZ .def files 
     8    # Local function to find parameters in LMDZ .def files 
    149 
    1510lmdzgrep2 () { 
     
    1712} 
    1813 
     14    ##--Variables used by MBG -- 
     15 
     16    # ln_rsttr  boolean term for tracer model restart (true or false) 
     17    # nrsttr    control of the time step (0, 1 or 2) 
     18     
    1919    IGCM_debug_PopStack "MBG_Initialize" 
    2020} 
     
    2929 
    3030        #echo "NO RESTART FOR TOP" 
    31         TOP_LRSTTR=.FALSE. 
    32         TOP_NRSTTR=0 
     31        TOP_LN_RSSTR=.FALSE. 
     32        TOP_NN_RSTR=0 
    3333 
    3434    elif ( [ "${CumulPeriod}" -eq 1 ] && [ "${config_MBG_Restart}" = "y" ] ) ; then 
    3535 
    3636        #echo "RESTART TOP" 
    37         TOP_LRSTTR=.TRUE. 
    38         TOP_NRSTTR=0 
     37        TOP_LN_RSSTR=.TRUE. 
     38        TOP_NN_RSTR=0 
    3939 
    4040        # If we start from IPSLCM5* restart files. 
     
    4646 
    4747        #echo "RESTART TOP" 
    48         TOP_LRSTTR=.TRUE. 
    49         TOP_NRSTTR=2 
     48        TOP_LN_RSSTR=.TRUE. 
     49        TOP_NN_RSTR=2 
    5050 
    5151    fi 
     
    7676        IPCC_PIS_CO2=$( echo "${PreviousLinelog[*]}" | gawk -F '|' '{gsub(" ",""); print $4}' ) 
    7777        IGCM_debug_Print 1 "IPCC_PIS_CO2 : ${IPCC_PIS_CO2} " 
    78         IGCM_comp_modifyNamelist nonblocker    namelist_pisces_cfg atcco2 ${IPCC_PIS_CO2}  
     78        IGCM_comp_modifyNamelist force  namelist_pisces_cfg atcco2 ${IPCC_PIS_CO2} 
    7979    else 
    8080        IGCM_debug_Print 1 "Take same CO2 as for LMDZ, in parameter file config.def." 
    81         # ATM_Update is done before MBG_Update and therefor config.def file contains the correct value for CO2. 
     81        # ATM_Update is done before MBG_Update and therefore config.def file contains the correct value for CO2. 
    8282        IGCM_debug_Print 1 'Update atcco2 in namelist_pisces_cfg with same value as for LMDZ' 
    8383        LMDZ_CO2=$( lmdzgrep2 co2_ppm config.def ) 
    8484        IGCM_debug_Print 1 "LMDZ_CO2 : ${LMDZ_CO2} " 
    85         IGCM_comp_modifyNamelist nonblocker    namelist_pisces_cfg atcco2 ${LMDZ_CO2}  
     85        IGCM_comp_modifyNamelist force  namelist_pisces_cfg atcco2 ${LMDZ_CO2} 
    8686    fi 
    8787 
     
    9090   IGCM_comp_modifyNamelist blocker    namelist_top_cfg nn_rsttr  ${TOP_NRSTTR} 
    9191 
    92    IGCM_debug_PopStack "MBG_Update" 
     92    IGCM_comp_modifyNamelist blocker  namelist_top_cfg     ln_rsttr   ${TOP_LN_RSSTR} 
     93    IGCM_comp_modifyNamelist blocker  namelist_top_cfg     nn_rsttr   ${TOP_NN_RSTR} 
     94    IGCM_comp_modifyNamelist blocker  namelist_pisces_cfg  nn_pisdmp  ${OPA_NPDT_YEAR} 
     95     
     96    IGCM_debug_PopStack "MBG_Update" 
    9397} 
    9498 
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/PARAM/namelist_pisces_ORCA1_cfg

    r2825 r2861  
    55&nampisext     !   air-sea exchange 
    66!,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 
    7    atcco2     =  287.    ! Constant value atmospheric pCO2 - ln_co2int = F 
     7   atcco2     =  _AUTO_: DEFAULT=287.    ! Constant value atmospheric pCO2 - ln_co2int = F 
    88/ 
    99!''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 
     
    8585&nampisdmp     !  Damping  
    8686!,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 
    87    nn_pisdmp   =  8760       !  Frequency of Relaxation 
     87   nn_pisdmp   =  _AUTO_: DEFAULT=8760       !  Frequency of Relaxation 
    8888/ 
    8989!''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/PARAM/namelist_top_ORCA1_cfg

    r2839 r2861  
    55&namtrc_run     !   run information 
    66!----------------------------------------------------------------------- 
    7    ln_rsttr      = _AUTO_ 
    8    nn_rsttr      = _AUTO_ 
    9    ln_top_euler  = .true. 
     7   nn_writetrc   =  5475     !  time step frequency for sn_tracer outputs 
     8   ln_top_euler  = .true.    !  use Euler time-stepping for TOP 
     9   ln_rsttr      = _AUTOBLOCKER_   !  AUTO - start from a restart file (T) or not (F) 
     10   nn_rsttr      = _AUTOBLOCKER_   !  AUTO - restart control = 0 initial time step is not compared to the restart file value 
     11                             !                  = 1 do not use the value in the restart file 
     12                             !                  = 2 calendar parameters read in the restart file 
     13   cn_trcrst_in  = "restart_trc"   !  suffix of pass. sn_tracer restart name (input) 
     14   cn_trcrst_out = "restart_trc"   !  suffix of pass. sn_tracer restart name (output) 
    1015/ 
    1116!----------------------------------------------------------------------- 
     
    4146   sn_tracer(23)  = 'NO3     ' , 'Nitrates Concentration                 ',  'mol-C/L' ,  .true.     ,  .true. 
    4247   sn_tracer(24)  = 'NH4     ' , 'Ammonium Concentration                 ',  'mol-C/L' ,  .false.    ,  .true. 
     48 
     49   ln_trcdta     =   .true.  !  Initialisation from data input file (T) or not (F) 
     50   ln_trcdmp     =  .false.  !  add a damping termn (T) or not (F) 
     51   ln_trcdmp_clo =  .true.   !  damping term (T) or not (F) on closed seas 
    4352/ 
    4453!----------------------------------------------------------------------- 
     
    8897/ 
    8998!----------------------------------------------------------------------- 
     99&namtrc     !   tracers definition 
     100!----------------------------------------------------------------------- 
     101/ 
     102!----------------------------------------------------------------------- 
    90103&namtrc_ice       !    Representation of sea ice growth & melt effects 
    91104!----------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.