Ignore:
Timestamp:
07/17/14 15:17:07 (10 years ago)
Author:
jgipsl
Message:

Updated iphysiq and nsplit_phys for NPv3.1 and NPv3.2 physics in LMDZ. Only resolution 96x95x39 and 144x142x39 is considered for now.
NPv3.1 for 96x95x39 is not changed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v5/LMDZREPR_v5/GENERAL/DRIVER/lmdz.driver

    r2208 r2288  
    324324 
    325325    ## gcm.def parameters :  
    326     # Modification only for new physics 
    327     if [ X${LMDZ_Physics} = X"NPv3.1" ] ; then 
     326    # Modification for timestep in physics due to differnt type of physics 
     327    # To know the time step in minutes the physics part of LMDZ use: 1440/day_step*ipysiq/nsplit_phys 
     328    if [ X${LMDZ_Physics} = X"NPv3.1" ] && [ ${RESOL_ATM_3D} = 96x95x39 ] ; then 
     329        # Time step in physics: 7.5min 
    328330        LMDZ_sed gcm.def iphysiq     5 
    329     else 
     331    elif [ X${LMDZ_Physics} = X"NPv3.1" ] && [ ${RESOL_ATM_3D} = 144x142x39 ] ; then 
     332        # Time step in physics: 8min 
     333        LMDZ_sed gcm.def iphysiq     8 
     334    elif [ X${LMDZ_Physics} = X"NPv3.2" ] && [ ${RESOL_ATM_3D} = 96x95x39 ] ; then 
     335        # Time step in physics: 9min 
     336        LMDZ_sed gcm.def iphysiq     3 
     337    elif [ X${LMDZ_Physics} = X"NPv3.2" ] && [ ${RESOL_ATM_3D} = 144x142x39 ] ; then 
     338        # Time step in physics: 8min 
     339        LMDZ_sed gcm.def iphysiq     4 
     340    elif [ X${LMDZ_Physics} = X"AP" ] ; then 
     341        # Time step in physics: 30min 
     342        # Use default value for old physics 
    330343        LMDZ_sed_default gcm.def iphysiq 
    331     fi 
     344    else 
     345        # Warning this combination has not been prepared  
     346        echo "" 
     347        echo "WARNING!! LMDZ_Physics=${LMDZ_Physics} has not been tested with resolution ${RESOL_ATM_3D}." 
     348        echo " => The default timestep for iphysiq will be used. " 
     349        echo " => You can change the default time step in gcm.def_${RESOL_ATM_3D} but be carefull to keep the syntax: iphysiq=_AUTO_ : DEFAULT = new_value" 
     350        echo " => Calculate new time step in minutes in the physics of LMDZ as : 1440/day_step*ipysiq/nsplit_phys" 
     351        LMDZ_sed_default gcm.def iphysiq 
     352        echo "" 
     353    fi 
     354     
    332355 
    333356 
Note: See TracChangeset for help on using the changeset viewer.