Changeset 1353 for inundation/ga/storm_surge/analytical solutions
- Timestamp:
- May 9, 2005, 12:33:09 PM (20 years ago)
- Location:
- inundation/ga/storm_surge/analytical solutions
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/analytical solutions/Analytical solution_wave_runup.py
r774 r1353 55 55 domain.store = True 56 56 domain.format = 'sww' 57 domain.filename = 'run-up_second_order '57 domain.filename = 'run-up_second_order_again' 58 58 59 59 print "Number of triangles = ", len(domain) -
inundation/ga/storm_surge/analytical solutions/Analytical_solution_contracting_channel_import_mesh.py
r774 r1353 6 6 for use with the generic finite volume framework 7 7 8 Copyright 200 49 Christopher Zoppou, Stephen Roberts , Ole Nielsen, Duncan Gray10 Geoscience Australia8 Copyright 2005 9 Christopher Zoppou, Stephen Roberts 10 ANU 11 11 12 12 Specific methods pertaining to the 2D shallow water equation … … 18 18 """ 19 19 20 #--------------- --------------20 #--------------- 21 21 # Module imports 22 22 import sys … … 29 29 from pmesh2domain import pmesh_to_domain_instance 30 30 31 32 #------------------------------ 31 #------- 33 32 # Domain 34 33 filename = 'converging_channel_30846.tsh' … … 37 36 print 'Number of triangles = ', len(domain) 38 37 39 domain.default_order = 1 38 #---------------- 39 # Order of scheme 40 domain.default_order = 2 40 41 domain.smooth = True 41 42 43 #------------------------------------- 42 44 # Provide file name for storing output 43 45 domain.store = True #Store for visualisation purposes 44 46 domain.format = 'sww' #Native netcdf visualisation format 45 domain.filename = 'contracting_channel_ first-order'47 domain.filename = 'contracting_channel_second-order' 46 48 47 #Decide which quantities are to be stored at each timestep 49 #---------------------------------------------------------- 50 # Decide which quantities are to be stored at each timestep 48 51 domain.quantities_to_be_stored = ['stage', 'xmomentum', 'ymomentum'] 49 52 50 #Reduction operation for get_vertex_values 53 #------------------------------------------ 54 # Reduction operation for get_vertex_values 51 55 from util import mean 52 56 domain.reduction = mean 53 57 54 #------------------------ ------55 # Boundary Conditions58 #------------------------ 59 # Set boundary Conditions 56 60 tags = {} 57 61 tags['upstream'] = Dirichlet_boundary([0.2, 1.2, 0.0]) … … 60 64 domain.set_boundary(tags) 61 65 62 #----------------- 63 # Initial condition66 #---------------------- 67 # Set initial condition 64 68 domain.set_quantity('elevation', 0.0) 65 69 domain.set_quantity('stage', 0.2) 66 70 67 68 #----------------- 69 #Evolution 71 #---------- 72 # Evolution 70 73 import time 71 74 t0 = time.time() -
inundation/ga/storm_surge/analytical solutions/MacDonald_77541.tsh
r632 r1353 122152 122152 0 # <Hole #> <x> <y> ...Mesh Holes... 122153 122153 0 # <Region #> <x> <y> <tag>...Mesh Regions... 122154 0 # <Region #> [Max Area] ...Mesh Regions... -
inundation/ga/storm_surge/analytical solutions/Sydney.py
r776 r1353 17 17 Dirichlet_boundary, Transmissive_boundary 18 18 from pmesh2domain import pmesh_to_domain_instance 19 from util import Polygon_function 19 from util import Polygon_function,read_polygon 20 20 21 21 22 ###################### … … 33 34 domain.store = True 34 35 domain.format = 'sww' 35 domain.filename = 'sydney_ubd '36 domain.filename = 'sydney_ubd_again' 36 37 37 38 #Reduction operation for get_vertex_values
Note: See TracChangeset
for help on using the changeset viewer.