Changeset 528


Ignore:
Timestamp:
Nov 12, 2004, 11:36:37 AM (19 years ago)
Author:
ole
Message:

Added file boundary to Merimbula validation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/validation/run_merimbula.py

    r522 r528  
    1010sys.path.append('..'+sep+'pyvolution')
    1111
    12 from shallow_water import Domain, Reflective_boundary, Dirichlet_boundary
     12from shallow_water import Domain, Reflective_boundary, File_boundary,\
     13     Dirichlet_boundary
    1314from pmesh2domain import pmesh_to_domain_instance
    1415
     
    3031######################
    3132# Boundary conditions
     33
     34filename = 'Eden_Australia_31082004.txt'
     35Bf = File_boundary(domain, filename)
     36
    3237inflow_stage = 20.0
    3338Bd = Dirichlet_boundary([inflow_stage, 0.0, 0.0])
    3439Br = Reflective_boundary(domain)
    35 domain.set_boundary({'external': Br, 'open': Bd}) 
     40domain.set_boundary({'external': Br, 'open': Bf}) 
    3641         
    3742######################
Note: See TracChangeset for help on using the changeset viewer.