Ignore:
Timestamp:
02/22/19 13:22:47 (3 years ago)
Author:
jgipsl
Message:
  • Moved variables related to the vertical discretization from run_dynamico.def to vert.def. Added comments in vert.def so it will be clear which variables are read by LMDZ and which are read by DYNMAICO.
  • Variables create_etat0_limit, etat0 and iflag_phys are now managed through dynamico.card and dynamico.driver. Default values are the same as before.
  • Removed read_start only read by the LMDZ/dynmaics.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/DRIVER/dynamico.driver

    r4284 r4288  
    3131 
    3232    IGCM_comp_modifyDefFile blocker run_icosa.def run_length $(( ${PeriodLengthInDays} * 86400 )) 
     33 
     34    # Change run_dynamico.def according to UserChoices options set in dynmaico.card 
     35     
     36    # Activate create_etat0_limit 
     37    if [ X${dynamico_UserChoices_create_etat0_limit} = Xy ] ; then  
     38        # create_etat0_limit is set in dynamcio.card to y 
     39        IGCM_comp_modifyDefFile nonblocker run_dynamico.def create_etat0_limit y 
     40 
     41        # Use iflag_phys=101 or higher to activate aquaplanet mode 
     42        if [ X${dynamico_UserChoices_iflag_phys} = X ] ||  X${dynamico_UserChoices_iflag_phys} = X1 ]; then  
     43            # iflag_phys is not set or iflag_phys=1 => run is not an aquaplanet 
     44            IGCM_comp_modifyDefFile nonblocker run_dynamico.def etat0              database 
     45            IGCM_comp_modifyDefFile nonblocker run_dynamico.def iflag_phys         1 
     46        else 
     47            # This is an aquaplanet 
     48            IGCM_comp_modifyDefFile nonblocker run_dynamico.def etat0              held_suarez 
     49            IGCM_comp_modifyDefFile nonblocker run_dynamico.def iflag_phys         ${dynamico_UserChoices_iflag_phys} 
     50        fi 
     51    else 
     52        # Deactivate create_etat0_limit 
     53        IGCM_comp_modifyDefFile nonblocker run_dynamico.def create_etat0_limit   n 
     54        IGCM_comp_modifyDefFile nonblocker run_dynamico.def etat0                start_file 
     55        # iflag_phys is read but not used when running with DYNAMCIO and create_etat0_limit=n 
     56        IGCM_comp_modifyDefFile nonblocker run_dynamico.def iflag_phys           1 
     57    fi  
     58 
    3359 
    3460    # Add include of context xml files for DYNAMICO in iodef.xml 
Note: See TracChangeset for help on using the changeset viewer.