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/GENERAL/DRIVER
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • 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 
Note: See TracChangeset for help on using the changeset viewer.