Changeset 4288


Ignore:
Timestamp:
02/22/19 13:22:47 (5 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.
Location:
CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL
Files:
4 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 
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/PARAM/run_dynamico.def_nbp40

    r4285 r4288  
    1212nsplit_j=4 
    1313omp_level_size=4 
    14  
    15 # Number of vertical layer (llm) : integer (default=19) 
    16 llm=_AUTO_ : DEFAULT=79 
    17  
    18 # disvert : vertical discretisation : string (default='std') : std, ncar, ncar30l 
    19 disvert=strato_custom 
    20 iflag_sponge=2 
    21 tau_sponge=5.e-4 
    2214 
    2315# optim_it : mesh optimisation : number of iteration : integer (default=0) 
     
    8274 
    8375 
    84 iflag_phys=1 
    85 read_start=yes 
    86 create_etat0_limit=n 
    87 etat0=_AUTO_ : DEFAULT=database 
     76# Following parameters are changed by options set in dynamico.card 
     77create_etat0_limit=_AUTO_  
     78etat0=_AUTO_ 
     79iflag_phys=_AUTO_ 
    8880### held_suarez pour aquaplanete. It is probably not read if etat0=database 
    8981heldsz_p0=101080 
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/PARAM/run_dynamico.def_nbp80

    r4285 r4288  
    1212nsplit_j=8 
    1313omp_level_size=4 
    14  
    15 # Number of vertical layer (llm) : integer (default=19) 
    16 llm=_AUTO_ : DEFAULT=79 
    17  
    18 # disvert : vertical discretisation : string (default='std') : std, ncar, ncar30l 
    19 disvert=strato_custom 
    20 iflag_sponge=2 
    21 tau_sponge=5.e-4 
    2214 
    2315# optim_it : mesh optimisation : number of iteration : integer (default=0) 
     
    8173 
    8274 
    83  
    84 iflag_phys=1 
    85 read_start=yes 
    86 create_etat0_limit=n 
    87 etat0=_AUTO_ : DEFAULT=database 
     75# Following parameters are changed by options set in dynamico.card 
     76create_etat0_limit= _AUTO_ 
     77etat0 = _AUTO_ 
     78iflag_phys = _AUTO_ 
    8879### held_suarez pour aquaplanete. It is probably not read if etat0=database 
    8980heldsz_p0=101080 
  • CONFIG/UNIFORM/v7/ICOLMDZOR_v7/GENERAL/PARAM/vert.def_L79

    r4281 r4288  
    66## The new version can be controled by following parameters 
    77## Al the parameters are given in km assuming a given scalehigh 
     8##  
     9## This file is read by both LMDZ and DYNAMICO.  
     10## Parameters in section 1 are only read by LMDZ when running without DYNAMICO 
     11## Parameters in section 2 are only read by DYNAMCIO 
     12## Parameters in section 3 are shared between LMDZ/dynamics and DYNAMCIO 
     13 
     14## Section 1: Following paramereters are read only when running LMDZ without DYNAMCIO 
     15##################################################################################### 
    816vert_sampling=strato_custom 
     17#  Couche eponge dans les couches de pression plus faible que 100 fois la pression de la derniere couche 
     18iflag_top_bound=2 
     19#  Coefficient pour la couche eponge (valeur derniere couche) 
     20tau_top_bound=5.e-4 
     21#  mode_top_bound (defaults: 3)  
     22mode_top_bound=3 
     23 
     24## Section 2: Following paramereters are read only when running with DYNAMCIO 
     25############################################################################# 
     26# Number of vertical layer (llm) : integer (default=19) 
     27llm=79 
     28# disvert : vertical discretisation : string (default='std') : std, ncar, ncar30l 
     29disvert=strato_custom 
     30# sponge parmeters 
     31iflag_sponge=2 
     32tau_sponge=5.e-4 
     33mode_sponge=1 
     34 
     35## Section 3: Following paramereters are shared between LMDZ/dynamics and DYNAMICO 
     36##            They will be read either by LMDZ or DYNAMCIO 
     37################################################################################## 
    938## scale hight 
    1039vert_scale=7. 
     
    3261dissip_zref = 50 
    3362##  Avec ou sans strato 
     63#   ok_strato est lu dans LMDZ/dynamique et phylmd (necessaire avec ou sans DYNAMICO) 
    3464ok_strato=y 
    3565##  Activation ou non de la parametrisation de Hines pour la strato 
     66# ok_hines est lu par LMDZ/phylmd (avec ou sans DYNAMICO) 
    3667ok_hines=n 
    37 #  Couche eponge dans les couches de pression plus faible que 100 fois la pression de la derniere couche 
    38 iflag_top_bound=2 
    39 #  Coefficient pour la couche eponge (valeur derniere couche) 
    40 tau_top_bound=5.e-4 
    41 # 
     68 
Note: See TracChangeset for help on using the changeset viewer.