Changeset 6443
- Timestamp:
- Mar 4, 2009, 12:48:51 PM (14 years ago)
- Location:
- anuga_work/production/australia_ph2/dampier
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/australia_ph2/dampier/export_results_max.py
r6395 r6443 23 23 24 24 time_dir1 = '20090130_165532_run_final_0.6_27255_extend_dt_kvanputt' 25 ##time_dir2 = '' 26 ##time_dir3 = '' 27 ##time_dir4 = '' 28 ##time_dir5 = '' 29 ##time_dir6 = '' 30 ## 31 time_dirs = [time_dir1] #5, time_dir4]# , time_dir4, time_dir5, time_dir6] 32 25 time_dirs = [time_dir1] 33 26 34 27 cellsize = 250 -
anuga_work/production/australia_ph2/dampier/project.py
r6408 r6443 8 8 from time import localtime, strftime, gmtime 9 9 from os.path import join, exists 10 from os import sep 10 11 11 12 … … 29 30 zone = 50 # specify zone of model 30 31 event_number = 70028 # the event number or the mux file name 32 index = 1203 31 33 alpha = 0.1 # smoothing parameter for mesh 32 34 friction=0.01 # manning's friction coefficient 33 35 starttime=0 # start time for simulation 34 finaltime= 1000 # final time for simulation36 finaltime=80000 # final time for simulation 35 37 36 38 setup = 'trial' # This can be one of three values … … 115 117 mux_input_filename = 'event.list' 116 118 multi_mux = True 119 120 117 121 118 122 … … 215 219 mux_input = join(event_folder, mux_input_filename) 216 220 221 boundary_csv = event_folder + sep + 'sts_gauge_' + str(index) +'.csv' -
anuga_work/production/australia_ph2/dampier/run_model.py
r6394 r6443 35 35 from anuga.interface import Reflective_boundary 36 36 from anuga.interface import Field_boundary 37 from anuga.interface import Time_boundary 38 from anuga.interface import file_function 39 37 40 from anuga.interface import create_sts_boundary 38 41 from anuga.interface import csv2building_polygons … … 47 50 from setup_model import project 48 51 import build_urs_boundary as bub 52 import prepare_timeboundary as TB 49 53 50 54 #------------------------------------------------------------------------------- … … 135 139 print 'Set boundary - available tags:', domain.get_boundary_tags() 136 140 141 # Prepare time boundary 142 TB.prepare_timeboundary(project.boundary_csv) 143 f = file_function(project.boundary_csv[:-4] + '.tms') 144 137 145 Br = Reflective_boundary(domain) 138 146 Bt = Transmissive_stage_zero_momentum_boundary(domain) … … 145 153 use_cache=True, 146 154 verbose=True) 155 Tb = Time_boundary(domain,f) 147 156 148 157 domain.set_boundary({'back': Br, 149 158 'side': Bd, 150 'ocean': Bf})159 'ocean': Tb}) 151 160 152 161 #-------------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.