Changeset 4856 for anuga_work/production/wollongong_2006/run_kembla.py
- Timestamp:
- Nov 27, 2007, 4:18:39 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/wollongong_2006/run_kembla.py
r4696 r4856 41 41 meshname = project_kembla.meshname+'.msh' 42 42 43 # creates DEM from asc data44 convert_dem_from_ascii2netcdf(dem_name, use_cache=True, verbose=True)45 46 # creates pts file for onshore DEM47 dem2pts(dem_name, use_cache=True, verbose=True)48 49 print 'create onshore'50 G = Geospatial_data(file_name = project_kembla.dem_name + '.pts')51 52 print 'export points'53 G.export_points_file(project_kembla.combined_dem_name + '.pts')43 ### creates DEM from asc data 44 ##convert_dem_from_ascii2netcdf(dem_name, use_cache=True, verbose=True) 45 ## 46 ###creates pts file for onshore DEM 47 ##dem2pts(dem_name, use_cache=True, verbose=True) 48 ## 49 ##print 'create onshore' 50 ##G = Geospatial_data(file_name = project_kembla.dem_name + '.pts') 51 ## 52 ##print 'export points' 53 ##G.export_points_file(project_kembla.combined_dem_name + '.pts') 54 54 #G.export_points_file(project_kembla.combined_dem_name + '.xya') 55 55 … … 114 114 f=lambda t: [(60<t<660)*6, 0, 0]) 115 115 116 domain.set_boundary( {'top': Bd, 116 domain.set_boundary( {'top': Bd,'right': Bw, 'bottom': Bd, 'left': Bd} ) 117 117 118 118 … … 125 125 from anuga.abstract_2d_finite_volumes.quantity import Quantity 126 126 127 for t in domain.evolve(yieldstep = 30, finaltime = 5000):127 for t in domain.evolve(yieldstep = 10, finaltime = 1000): 128 128 domain.write_time() 129 domain.write_boundary_statistics(tags = ' ')129 domain.write_boundary_statistics(tags = 'right') 130 130 stagestep = domain.get_quantity('stage') 131 131
Note: See TracChangeset
for help on using the changeset viewer.