Changeset 2079
- Timestamp:
- Nov 28, 2005, 10:25:28 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
production/gippsland_2005/run_gippsland.py
r2078 r2079 51 51 52 52 #Create the mesh without elevation data 53 triagle_count = cache(create_mesh,(1000 ), {'mesh_file':project.meshname}53 triagle_count = cache(create_mesh,(100000), {'mesh_file':project.meshname} 54 54 ,dependencies = ['create_mesh.py']) 55 55 … … 103 103 Bt = Transmissive_boundary(domain) 104 104 Bd = Dirichlet_boundary([project.tide,0,0]) 105 Bw = Time_boundary(domain=domain,106 f=lambda t: [(60<t<660)*4, 0, 0])105 #Bw = Time_boundary(domain=domain, 106 # f=lambda t: [(60<t<660)*4, 0, 0]) 107 107 108 108 domain.set_boundary( {'back': Br,'side': Bd, 'ocean': Bf} ) #CSIRO storm surge … … 112 112 t0 = time.time() 113 113 114 for t in domain.evolve(yieldstep = 60 0, finaltime = 60*60*24):114 for t in domain.evolve(yieldstep = 60, finaltime = 1200): 115 115 # skip_initial_step = True): 116 116 domain.write_time()
Note: See TracChangeset
for help on using the changeset viewer.