Changeset 6056 for anuga_validation
- Timestamp:
- Dec 11, 2008, 10:26:44 AM (16 years ago)
- Location:
- anuga_validation/automated_validation_tests/UQ_runup_2006
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/automated_validation_tests/UQ_runup_2006/create_mesh.py
r4753 r6056 1 """Create mesh for lwru2 validation of the Oshiri island tsunami1 """Create mesh for UQ validation of the dam break flume at UQ 2 2 """ 3 3 4 4 5 from anuga.pmesh.mesh import *5 from anuga.pmesh.mesh import Mesh 6 6 from anuga.coordinate_transforms.geo_reference import Geo_reference 7 7 -
anuga_validation/automated_validation_tests/UQ_runup_2006/project.py
r4751 r6056 1 """Common filenames and locations for topographic data, meshes and outputs. 2 Also includes origin for slump scenario. 1 """Common filenames and locations for meshes and outputs. 3 2 """ 4 3 basename = "uq" 5 6 depth_filename = "depth.csv"7 velocity_x_filename = "velocity_x.csv"8 velocity_y_filename = "velocity_y.csv"9 10 4 mesh_filename = 'uq-mesh.tsh' 11 12 5 actual_filename = 'actual.csv' -
anuga_validation/automated_validation_tests/UQ_runup_2006/run_dam.py
r4774 r6056 18 18 # Related major packages 19 19 from anuga.shallow_water import Domain, Reflective_boundary, \ 20 20 Dirichlet_boundary, Time_boundary, File_boundary 21 21 from anuga.abstract_2d_finite_volumes.region import Set_region 22 22 from anuga.fit_interpolate.interpolate import interpolate_sww2csv, \ … … 25 25 copy_code_files 26 26 from anuga.shallow_water.data_manager import csv2dict 27 from numerical_tools import err # norm, corr,27 from numerical_tools import err 28 28 29 29 # Application specific imports 30 30 import create_mesh 31 31 import project 32 def main(): 33 32 33 def main(): 34 34 slope= 0 35 35 friction = 0.01 … … 52 52 53 53 head,tail = path.split(project.mesh_filename) 54 54 55 #------------------------------------------------------------------------- 55 56 # Setup computational domain 56 57 #------------------------------------------------------------------------- 57 58 domain = Domain(project.mesh_filename, use_cache = False, verbose = False) 58 59 60 61 59 domain.set_name(project.basename) 62 60 domain.set_datadir('.')
Note: See TracChangeset
for help on using the changeset viewer.