Changeset 669


Ignore:
Timestamp:
Dec 3, 2004, 12:01:07 PM (19 years ago)
Author:
chris
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/analytical solutions/Malpasset_new.py

    r619 r669  
    3131filename = 'Malpasset_26000_merged.tsh'
    3232yieldstep = 1
    33 finaltime = 10
     33finaltime = 1000
    3434   
    3535print 'Creating domain from', filename
     
    3838
    3939domain.default_order = 1
    40 domain.filename = filename
    4140domain.smooth = True
    42 domain.store = True
    43 
    44 domain.set_quantity('friction', 0.07)
    4541
    4642#------------------------------
     
    4844tags = {}
    4945tags['external'] = Reflective_boundary(domain)
    50 tags['open'] = Transmissive_boundary(domain)
     46tags['open'] = Dirichlet_boundary([50.0, 0., 0.]) # replacing Transmissive_boundary(domain)
    5147domain.set_boundary(tags)
    5248
    5349#-----------------
    5450#Initial condition
    55 domain.set_quantity('level', 20.)
     51domain.set_quantity('level', 0.)
     52
     53#-------------------------------------
     54# Provide file name for storing output
     55domain.store = True
     56domain.format = 'sww'
     57domain.filename = 'Malpasset_second_order'
     58
     59#----------------------------
     60# Friction
     61domain.set_quantity('friction', 0.033)
    5662         
    5763######################
Note: See TracChangeset for help on using the changeset viewer.