Changeset 5102 for anuga_work/development/attenuation_near_shore
- Timestamp:
- Mar 3, 2008, 3:35:02 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/attenuation_near_shore/run_beach.py
r5101 r5102 138 138 domain.set_datadir(pro_instance.outputdir) 139 139 domain.set_default_order(2) # Use second order spatial scheme 140 domain.set_timestepping_method('rk2') 141 domain.beta_w = 1.5 142 domain.beta_uh = 1.5 143 domain.beta_vh = 1.5 144 domain.beta_h = 1.5 140 145 domain.set_quantities_to_be_stored(['stage', 'xmomentum', 'ymomentum']) 141 146 domain.set_minimum_storable_height(0.001) … … 166 171 lambda t: [1.2*sin(2*t*pi/10)+1.0*sin(2*t*pi/9.5), 167 172 0.0, 0.0]) 168 domain.set_boundary( {'wall': Br, 'wave': Bwp } )173 domain.set_boundary( {'wall': Br, 'wave': Bwp_velocity} ) 169 174 170 175 #------------------------------------------------------------------------- … … 188 193 if __name__ == "__main__": 189 194 main( is_trial_run = False, friction=0.0, 190 outputdir_name=' Primary_wave_2nd_order')195 outputdir_name='Velocity_wave_2nd_order')
Note: See TracChangeset
for help on using the changeset viewer.