Changeset 669
- Timestamp:
- Dec 3, 2004, 12:01:07 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/analytical solutions/Malpasset_new.py
r619 r669 31 31 filename = 'Malpasset_26000_merged.tsh' 32 32 yieldstep = 1 33 finaltime = 10 33 finaltime = 1000 34 34 35 35 print 'Creating domain from', filename … … 38 38 39 39 domain.default_order = 1 40 domain.filename = filename41 40 domain.smooth = True 42 domain.store = True43 44 domain.set_quantity('friction', 0.07)45 41 46 42 #------------------------------ … … 48 44 tags = {} 49 45 tags['external'] = Reflective_boundary(domain) 50 tags['open'] = Transmissive_boundary(domain)46 tags['open'] = Dirichlet_boundary([50.0, 0., 0.]) # replacing Transmissive_boundary(domain) 51 47 domain.set_boundary(tags) 52 48 53 49 #----------------- 54 50 #Initial condition 55 domain.set_quantity('level', 20.) 51 domain.set_quantity('level', 0.) 52 53 #------------------------------------- 54 # Provide file name for storing output 55 domain.store = True 56 domain.format = 'sww' 57 domain.filename = 'Malpasset_second_order' 58 59 #---------------------------- 60 # Friction 61 domain.set_quantity('friction', 0.033) 56 62 57 63 ######################
Note: See TracChangeset
for help on using the changeset viewer.