Ignore:
Timestamp:
12/01/16 15:03:25 (5 years ago)
Author:
jgipsl
Message:
  • iphysiq is not longer changed in the lmdz.driver.
  • gcm.def now has the suffix of LMDZ_Physics as well as resol2D

This is necessare to be able to have several physics with different time step. day_step as well as iphysics most be changed to change the final time step in the physics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/LMDZOR_v6/GENERAL/DRIVER/lmdz.driver

    r2911 r3032  
    277277         
    278278 
    279     ## gcm.def parameters :  
    280     # Modification of variable iphysiq depending on the physics 
    281     if [ X${LMDZ_Physics} = X"AP" ] ; then 
    282         if [ ${RESOL_ATM_3D} = 96x95x39 ]; then 
    283             value=10 
    284         elif [ ${RESOL_ATM_3D} = 144x142x39 ]; then 
    285             value=15 
    286         else 
    287             IGCM_debug_Print 1 "LMDZ_Physics=${LMDZ_Physics} has not been tested for the current resolution RESOL_ATM_3D=${RESOL_ATM_3D}. " 
    288             IGCM_debug_Print 1 "iphysiq must be defined for the current combination of resolution and phyiscs package" 
    289             IGCM_debug_Exit "You need to add a special case in lmdz.driver to handle the above combination." 
    290         fi 
    291     elif [ X${LMDZ_Physics} = X"NPv3.1" ] ; then 
    292         if  [ ${RESOL_ATM_3D} = 96x95x39 ] ; then 
    293             value=5 
    294         elif [ ${RESOL_ATM_3D} = 144x142x39 ] ; then 
    295             value=5 
    296         else 
    297             IGCM_debug_Print 1 "LMDZ_Physics=${LMDZ_Physics} has not been tested for the current resolution RESOL_ATM_3D=${RESOL_ATM_3D}. " 
    298             IGCM_debug_Print 1 "iphysiq must be defined for the current combination of resolution and phyiscs package" 
    299             IGCM_debug_Exit "You need to add a special case in lmdz.driver to handle the above combination." 
    300         fi 
    301     elif [ X${LMDZ_Physics} = X"NPv3.2" ] ; then 
    302         if [ ${RESOL_ATM_3D} = 96x95x39 ] ; then 
    303             value=5 
    304         elif [ ${RESOL_ATM_3D} = 144x142x39 ] ; then 
    305             value=5 
    306         elif [ ${RESOL_ATM_3D} = 128x118x39 ] ; then 
    307             value=15 
    308         else 
    309             IGCM_debug_Print 1 "LMDZ_Physics=${LMDZ_Physics} has not been tested for the current resolution RESOL_ATM_3D=${RESOL_ATM_3D}. " 
    310             IGCM_debug_Print 1 "iphysiq must be defined for the current combination of resolution and phyiscs package" 
    311             IGCM_debug_Exit "You need to add a special case in lmdz.driver to handle the above combination." 
    312         fi 
    313     else 
    314         # Take default value set in gcm.def 
    315         value=DEFAULT 
    316     fi 
    317     IGCM_comp_modifyDefFile nonblocker gcm.def iphysiq $value 
    318      
    319279 
    320280    ## run.def parameters 
Note: See TracChangeset for help on using the changeset viewer.