Ignore:
Timestamp:
May 11, 2014, 3:56:22 PM (11 years ago)
Author:
aslmd
Message:

MESOSCALE. Adapted the mesoscale model to previous commit to LMD GCM physics where number of scatterers is no longer set at compiling time.

Location:
trunk/MESOSCALE/LMD_MM_MARS/SIMU
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SIMU/DEF/newphys_THARSIS_WATER/callphys.def.mars0

    r1187 r1247  
    148148photochem  = .false.
    149149
     150# SCATTERERS: set number of scatterers. must be compliant with preceding options.
     151naerkind = 2
     152
     153
    150154## Thermospheric options (relevant if tracer=T) :
    151155##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • trunk/MESOSCALE/LMD_MM_MARS/SIMU/DEF/newphys_THARSIS_WATER/callphys.def.mars11_radact

    r1187 r1247  
    142142photochem  = .false.
    143143
     144# SCATTERERS: set number of scatterers. must be compliant with preceding options.
     145naerkind = 2
     146
     147
    144148## Thermospheric options (relevant if tracer=T) :
    145149##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • trunk/MESOSCALE/LMD_MM_MARS/SIMU/DEF/newphys_THARSIS_WATER/callphys.def.mars12_radact_scav

    r1115 r1247  
    140140photochem  = .false.
    141141
     142# SCATTERERS: set number of scatterers. must be compliant with preceding options.
     143naerkind = 2
     144
     145
    142146## Thermospheric options (relevant if tracer=T) :
    143147##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • trunk/MESOSCALE/LMD_MM_MARS/SIMU/DEF/newphys_THARSIS_WATER/callphys.def.mars1_radact

    r1187 r1247  
    145145photochem  = .false.
    146146
     147# SCATTERERS: set number of scatterers. must be compliant with preceding options.
     148naerkind = 2
     149
     150
    147151## Thermospheric options (relevant if tracer=T) :
    148152##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • trunk/MESOSCALE/LMD_MM_MARS/SIMU/DEF/newphys_THARSIS_WATER/callphys.def.mars2

    r1187 r1247  
    147147photochem  = .false.
    148148
     149# SCATTERERS: set number of scatterers. must be compliant with preceding options.
     150naerkind = 2
     151
     152
    149153## Thermospheric options (relevant if tracer=T) :
    150154##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • trunk/MESOSCALE/LMD_MM_MARS/SIMU/DEF/newphys_THARSIS_WATER/callphys.def.mars3

    r1187 r1247  
    144144photochem  = .false.
    145145
     146# SCATTERERS: set number of scatterers. must be compliant with preceding options.
     147naerkind = 2
     148
     149
    146150## Thermospheric options (relevant if tracer=T) :
    147151##~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • trunk/MESOSCALE/LMD_MM_MARS/SIMU/runmeso

    r1045 r1247  
    191191echo '** Domain(s)             >>> '${nest}
    192192echo '** Tracer(s)             >>> '${tracers}
    193 
    194    ############ SCATTERERS SCATTERERS ######
    195    if [[ ${newphys} -eq 1 ]]
    196    then
    197      #### CHANGE THIS IF YOU ADD NEW SCENARIOS
    198      case ${mars_scenario} in
    199        0) scat=1 ;;
    200        1) echo "!! How many scatterers are you using : 1,2,..." ; read scat ;;
    201        2) scat=1 ;;
    202        3) scat=1 ;;
    203       11) echo "!! How many scatterers are you using : 1,2,..." ; read scat ;;
    204       12) echo "!! How many scatterers are you using : 1,2,..." ; read scat ;;
    205       20) scat=1 ;;
    206        *) scat=1 ;;
    207      esac
    208      echo '** Scatterers            >>> '${scat}
    209    else
    210      #### USELESS here BUT COMPATIBILITY
    211      scat=1
    212    fi
    213    #########################################
    214 
    215193echo '** Grid points           >>> '${nx}" x "${ny}" x "${nz}
    216194echo '** Horizontal resolution >>> '${dx}
     
    379357 cd ${simu_folder}
    380358     ## corresponding executables
    381     wrfexe=${work_folder}/wrf_x${nx}_y${ny}_z${nz}_d${nest}_t${tracers}_p${numproc}_s${scat}.exe
    382     realexe=${work_folder}/real_x${nx}_y${ny}_z${nz}_d${nest}_t${tracers}_p${numproc}_s${scat}.exe
     359    wrfexe=${work_folder}/wrf_x${nx}_y${ny}_z${nz}_d${nest}_t${tracers}_p${numproc}.exe
     360    realexe=${work_folder}/real_x${nx}_y${ny}_z${nz}_d${nest}_t${tracers}_p${numproc}.exe
    383361 if [[ ${fresh} -eq 0 && -f ${wrfexe} ]]
    384362 then
     
    404382   touch ${simu_folder}/makemeso_input
    405383   echo ${compilo} >> ${simu_folder}/makemeso_input
    406    if [[ "${compilo}" = "3" || "${compilo}" = "5" ]]
     384   if [[ ${newphys} -eq 0 ]]
     385   then
     386     if [[ "${compilo}" = "3" || "${compilo}" = "5" ]]
    407387     then
    408388         echo ${numproc} >> ${simu_folder}/makemeso_input
    409    fi
    410    echo ${nx} >> ${simu_folder}/makemeso_input
    411    echo ${ny} >> ${simu_folder}/makemeso_input
     389     fi
     390     echo ${nx} >> ${simu_folder}/makemeso_input
     391     echo ${ny} >> ${simu_folder}/makemeso_input
     392   fi
    412393   echo ${nz} >> ${simu_folder}/makemeso_input
    413394   echo ${nest} >> ${simu_folder}/makemeso_input
    414    echo ${tracers} >> ${simu_folder}/makemeso_input
    415    if [[ ${newphys} -eq 1 ]]
    416    then
    417      echo ${scat} >> ${simu_folder}/makemeso_input
    418      #echo 'n' >> ${simu_folder}/makemeso_input
     395   if [[ ${newphys} -eq 0 ]]
     396   then
     397     echo ${tracers} >> ${simu_folder}/makemeso_input
    419398   fi
    420399   #
Note: See TracChangeset for help on using the changeset viewer.