Changeset 528 for inundation/ga/storm_surge/validation
- Timestamp:
- Nov 12, 2004, 11:36:37 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/validation/run_merimbula.py
r522 r528 10 10 sys.path.append('..'+sep+'pyvolution') 11 11 12 from shallow_water import Domain, Reflective_boundary, Dirichlet_boundary 12 from shallow_water import Domain, Reflective_boundary, File_boundary,\ 13 Dirichlet_boundary 13 14 from pmesh2domain import pmesh_to_domain_instance 14 15 … … 30 31 ###################### 31 32 # Boundary conditions 33 34 filename = 'Eden_Australia_31082004.txt' 35 Bf = File_boundary(domain, filename) 36 32 37 inflow_stage = 20.0 33 38 Bd = Dirichlet_boundary([inflow_stage, 0.0, 0.0]) 34 39 Br = Reflective_boundary(domain) 35 domain.set_boundary({'external': Br, 'open': B d})40 domain.set_boundary({'external': Br, 'open': Bf}) 36 41 37 42 ######################
Note: See TracChangeset
for help on using the changeset viewer.