Changeset 253 for trunk/LMDZ.GENERIC/deftank
- Timestamp:
- Aug 2, 2011, 11:13:07 AM (14 years ago)
- Location:
- trunk/LMDZ.GENERIC/deftank
- Files:
-
- 4 added
- 4 deleted
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/deftank/autospinup
r135 r253 1 #!/bin/bash 1 # @ job_name=gcm_3D 2 # @ output = $(job_name).$(jobid) 3 # @ error = $(output) 4 # @ job_type = serial 5 # @ class = D 6 # @ queue 2 7 3 #DEF_DIR=/san/home/rdword/gcm/spinups 4 DEF_DIR=/u/rwlmd/spinups/ 8 #grep "^# @" $0 9 #set -vx 10 # 5 11 6 #makegcm -d 32x24x20 -b 32x36 -t 2 -p std gcm 7 #makegcm -d 32x24x20 -b 32x36 -t 2 -p std newstart 8 9 newstart.e < start_earth 12 cp -f run_spinup.def run.def 13 newstart.e < start_earlymars 10 14 startrestart 11 15 12 echo "Starting short GCM spinup run #1..." 13 cp -f $DEF_DIR/run1.def run.def 14 gcm.e > lruns1 15 startrestart 16 17 echo "Starting short GCM spinup run #2..." 18 cp -f $DEF_DIR/run2.def run.def 19 gcm.e > lruns2 20 startrestart 21 22 echo "Finishing GCM spinup year..." 23 cp -f $DEF_DIR/run_1styr_earth.def run.def 24 gcm.e > lrun0 16 echo "Starting GCM spinup year..." 17 gcm.e 25 18 startrestart0 26 19 27 exit 0 20 echo "Running for multiple years to reach equilibrium." 21 cp -f run_normal.def run.def 22 run0 28 23 29 # run for many years to reach equilibrium30 #cp -f run_1yr_earth.def run.def31 #rm -f num_run32 #run033 34 # start the final 1-yr run with intensive OLR save35 #cp -f run_1yr_earth_OLR.def run.def36 #run_OLR -
trunk/LMDZ.GENERIC/deftank/callphys.earlymars
r135 r253 4 4 tracer = .true. 5 5 # Diurnal cycle ? if diurnal=false, diurnally averaged solar heating 6 diurnal = . false.6 diurnal = .true. 7 7 # Seasonal cycle ? if season=false, Ls stays constant, to value set in "start" 8 8 season = .true. … … 14 14 lwrite = .false. 15 15 # Save statistics in file "stats.nc" ? 16 callstats = . false.16 callstats = .true. 17 17 # Test energy conservation of model physics ? 18 18 enertest = .false. … … 35 35 # This is used only in the aerosol radiative transfer setup. (see aerave.F) 36 36 tplanet = 215. 37 # Output spectral OLR in 3D?37 # Output spectral OLR in 1D/3D? 38 38 specOLR = .false. 39 # Output global radiative balance in file ' olr.txt' - slow for 1D!!40 meanOLR = . false.39 # Output global radiative balance in file 'rad_bal.out' - slow for 1D!! 40 meanOLR = .true. 41 41 # Variable gas species: Radiatively active ? 42 varactive = . false.42 varactive = .true. 43 43 # Variable gas species: Fixed vertical distribution ? 44 varfixed = . true.44 varfixed = .false. 45 45 # Variable gas species: Saturation percentage value at ground ? 46 satval = 0. 846 satval = 0.0 47 47 48 48 ## Star type … … 58 58 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 59 # Stellar flux at 1 AU. Examples: 60 # 1356.0 W m-2 Sol today 61 # 1017.0 W m-2 Sol today x 0.75 = weak early Sun 62 # 18.462 W m-2 The feeble Gl581 63 Fat1AU = 1017.0 60 # 1366.0 W m-2 Sol today 61 # 1024.5 W m-2 Sol today x 0.75 = weak Sun 3.8 GYa 62 # 18.462 W m-2 The feeble GJ581 63 # 19.960 W m-2 GJ581 with e=0.38 orbital average 64 Fat1AU = 1024.5 64 65 65 66 ## Tracer and aerosol options … … 78 79 79 80 ######################################################################### 80 ## extra non-standard definitions for Earth / Early Mars81 ## extra non-standard definitions for Gliese 581d 81 82 ######################################################################### 82 83 ## Radiative transfer options84 ## ~~~~~~~~~~~~~~~~~~~~~~~~~~85 # Parameterized Earth-like ozone absorption ?86 ozone = .false.87 83 88 84 ## Tracer and aerosol options 89 85 ## ~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 86 # Fixed aerosol distributions? 91 aerofixed = .true. 87 aerofixed = .false. 88 # Varying H2O cloud fraction? 89 CLFvarying = .false. 90 # H2O cloud fraction? 91 CLFfixval = 0.5 92 92 # number mixing ratio of CO2 ice particles 93 93 Nmix_co2 = 100000. … … 105 105 # WATER: Precipitation threshold (simple scheme only) ? 106 106 rainthreshold = 0.011 107 # WATER: hydrology ? 108 hydrology = .true. 107 109 108 110 ## CO2 options … … 114 116 # Set initial temperature profile to 1 K above CO2 condensation everywhere? 115 117 nearco2cond = .false. 118 119 ## N2 options 120 ## ~~~~~~~~~~ 121 # include N2 in cp and Rayleigh scattering calculation ? 122 addn2 = .false. 123 # N2 mixing ratio 124 n2mixratio = 0.0 125 126 ## H2 options 127 ## ~~~~~~~~~~ 128 # include H2 in cp and Rayleigh scattering calculation ? 129 # for now we assume H2 dominant if included 130 addh2 = .false. -
trunk/LMDZ.GENERIC/deftank/callphys.earth
r135 r253 23 23 callrad = .true. 24 24 # the rad. transfer is computed every "iradia" physical timestep 25 iradia = 425 iradia = 6 26 26 # call multilayer correlated-k radiative transfer ? 27 27 corrk = .true. 28 28 # folder in which correlated-k data is stored ? 29 corrkdir = earth29 corrkdir = N2CO2poor_H2Ovar 30 30 # call visible gaseous absorption in radiative transfer ? 31 31 callgasvis = .true. … … 37 37 # Output spectral OLR in 3D? 38 38 specOLR = .false. 39 # Output global radiative balance in file ' olr.txt' - slow for 1D!!40 meanOLR = . false.39 # Output global radiative balance in file 'rad_bal.out' - slow for 1D!! 40 meanOLR = .true. 41 41 # Variable gas species: Radiatively active ? 42 varactive = . false.42 varactive = .true. 43 43 # Variable gas species: Fixed vertical distribution ? 44 varfixed = . true.44 varfixed = .false. 45 45 # Variable gas species: Saturation percentage value at ground ? 46 satval = 0. 846 satval = 0.0 47 47 48 48 ## Star type … … 58 58 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 59 # Stellar flux at 1 AU. Examples: 60 # 13 56.0 W m-2 Sol today61 # 10 17.0W m-2 Sol today x 0.75 = weak early Sun60 # 1366.0 W m-2 Sol today 61 # 1024.5 W m-2 Sol today x 0.75 = weak early Sun 62 62 # 18.462 W m-2 The feeble Gl581 63 Fat1AU = 13 56.063 Fat1AU = 1366.0 64 64 65 65 ## Tracer and aerosol options … … 78 78 79 79 ######################################################################### 80 ## extra non-standard definitions for Earth / Early Mars80 ## extra non-standard definitions for Earth 81 81 ######################################################################### 82 82 83 ## Radiative transfer options84 ## ~~~~~~~~~~~~~~~~~~~~~~~~~~85 # Parameterized Earth-like ozone absorption ?86 ozone = .false.87 88 83 ## Tracer and aerosol options 89 84 ## ~~~~~~~~~~~~~~~~~~~~~~~~~~ 90 85 # Fixed aerosol distributions? 91 aerofixed = .true. 86 aerofixed = .false. 87 # Varying H2O cloud fraction? 88 CLFvarying = .true. 89 # H2O cloud fraction if fixed? 90 CLFfixval = 0.5 92 91 # number mixing ratio of CO2 ice particles 93 92 Nmix_co2 = 100000. … … 105 104 # WATER: Precipitation threshold (simple scheme only) ? 106 105 rainthreshold = 0.011 106 # WATER: hydrology ? 107 hydrology = .true. 107 108 108 109 ## CO2 options … … 114 115 # Set initial temperature profile to 1 K above CO2 condensation everywhere? 115 116 nearco2cond = .false. 117 118 ## N2 options 119 ## ~~~~~~~~~~ 120 # include N2 in cp and Rayleigh scattering calculation ? 121 addn2 = .false. 122 # N2 mixing ratio 123 n2mixratio = 0.0 124 125 ## H2 options 126 ## ~~~~~~~~~~ 127 # include H2 in cp and Rayleigh scattering calculation ? 128 # for now we assume H2 dominant if included 129 addh2 = .false. -
trunk/LMDZ.GENERIC/deftank/run0
r135 r253 4 4 # SET HERE the maximum total number of simulations 5 5 6 set nummax= 26 set nummax=5 7 7 8 8 ########################################################################### … … 49 49 50 50 # Run GCM 51 nicegcm.e >! lrun${numnew}51 gcm.e >! lrun${numnew} 52 52 53 53 … … 66 66 endif 67 67 echo 99999 >! num_run 68 ############## To receive an Email message if the run crashes ########69 mail -s "crash run GCM" $address <<ENDMAIL70 The run on $machine in $dir has just crashed.71 ENDMAIL68 ############## To receive an email message if the run crashes ######## 69 #mail -s "crash run GCM" $address <<ENDMAIL 70 #The run on $machine in $dir has just crashed. 71 #ENDMAIL 72 72 ############################################"" 73 73 exit … … 77 77 if ( -f diagfi.nc ) then 78 78 \mv -f diagfi.nc diagfi${numnew}.nc 79 endif 80 if ( -f diagspec.nc ) then 81 \mv -f diagspec.nc diagspec${numnew}.nc 79 82 endif 80 83 if ( -f diagsoil.nc ) then … … 95 98 96 99 if ( -f rad_bal.out ) then 97 mv rad_bal.out rad bal${numnew}100 mv rad_bal.out rad_bal${numnew}.out 98 101 endif 99 102 103 if ( -f h2o_bal.out ) then 104 mv h2o_bal.out h2o_bal${numnew}.out 105 endif 100 106 101 107 # If we are over nummax : stop -
trunk/LMDZ.GENERIC/deftank/run1d.earlymars
r135 r253 1 1 # 2 2 #----------------------------------------------------------------------- 3 # Run parameters for the 1D ' testphys1d.e' model3 # Run parameters for the 1D 'rcm1d.e' model 4 4 #----------------------------------------------------------------------- 5 5 -
trunk/LMDZ.GENERIC/deftank/run1d.earth
r135 r253 1 1 # 2 2 #----------------------------------------------------------------------- 3 # Run parameters for the 1D ' testphys1d.e' model3 # Run parameters for the 1D 'rcm1d.e' model 4 4 #----------------------------------------------------------------------- 5 5 … … 11 11 time=0 12 12 # Number of time steps per sol 13 day_step= 4813 day_step=24 14 14 # Number of sols to run 15 ndt =200015 ndt =2000 16 16 17 17 #### Physical parameters … … 23 23 # Molar mass of atmosphere (g) 24 24 mugaz=28.97 25 # Specific heat capacity of atmosphere (J kg-1 K-1)25 # Specific heat capacity of atmosphere? 26 26 cpp=1003.0 27 27 # latitude (in degrees) 28 28 latitude=60.0 29 29 # orbital distance at perihelion (AU) 30 peri heli=1.030 periastr=1.0 31 31 # orbital distance at aphelion (AU) 32 ap helie=1.032 apoastr=1.0 33 33 # obliquity (degrees) 34 34 obliquit=0.0 35 35 36 36 # Albedo of bare ground 37 albedo=0.1 37 albedo=0.16 38 38 # Emissivity of bare ground 39 39 emis=1.0 … … 48 48 # hybrid vertical coordinate ? (.true. for hybrid and .false. for sigma levels) 49 49 hybrid=.false. 50 50 # autocompute vertical discretisation? (useful for exoplanet runs) 51 autozlevs=.true. 51 52 52 53 ###### Initial atmospheric temperature profile … … 73 74 hauteur=30. 74 75 75 76 76 # some definitions for the physics, in file 'callphys.def' 77 77 INCLUDEDEF=callphys.def -
trunk/LMDZ.GENERIC/deftank/start_earlymars
r135 r253 7 7 peri_day 8 8 0.0 9 peri heli9 periastr 10 10 227.9 11 ap helie11 apoastr 12 12 227.9 13 13 year_day … … 25 25 daysec 26 26 88775.00 27 albedice 28 0.5 29 0.5 27 30 28 31 surface_mars.nc … … 32 35 250 33 36 ptot 34 200000.037 500000.0 35 38 y 36 39 n … … 38 41 1.0 39 42 isotherm 40 260 43 260.0 41 44 co2ice=0 42 45 q=0 43 watercapn 44 watercaps 46 oborealis 45 47 46 48 exit 0 -
trunk/LMDZ.GENERIC/deftank/start_earth
r135 r253 7 7 peri_day 8 8 0.0 9 peri heli9 periastr 10 10 149.0 11 ap helie11 apoastr 12 12 149.0 13 13 year_day 14 14 365 15 rad 16 6378137.0 15 17 omeg 16 18 7.2722E-05 … … 26 28 surface_earth.nc 27 29 0 28 bilball29 0.130 25031 30 ptot 32 31 101325.0 … … 34 33 y 35 34 101325.0 36 emis 37 1.0 38 isotherm 39 300 35 radequi 40 36 q=0 41 watercapn42 watercaps43 37 44 38 exit 0 -
trunk/LMDZ.GENERIC/deftank/z2sig.earth
r135 r253 20 20 3.6962495e+01 21 21 4.0453872e+01 22 45 23 50 24 55 25 60 26 65 27 70 28 80 29 90 -
trunk/LMDZ.GENERIC/deftank/z2sig.mars
r135 r253 1 10.00000 H: atmospheric scale height (km) (used as a reference only) 2 0.0040 Typical pseudo-altitude (m) for 1st layer (z=H*log(sigma)) 1 8.00000 H: atmospheric scale height (km) (used as a reference only) 3 2 0.018 ,, ,, ,, ,, ,, ,, ,, ,, ,, 2nd layer, etc... 4 3 0.0400
Note: See TracChangeset
for help on using the changeset viewer.