Changeset 9180
- Timestamp:
- Jun 18, 2014, 2:58:31 PM (10 years ago)
- Location:
- trunk/anuga_core/demos/cairns
- Files:
-
- 6 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/demos/cairns/ExportResults.py
r8728 r9180 9 9 10 10 print 'output dir:', name 11 which_var = 311 which_var = 0 12 12 13 13 if which_var == 0: # Stage … … 25 25 if which_var == 3: # Speed 26 26 outname = name + '_speed' 27 quantityname = '(xmomentum**2 + ymomentum**2)**0.5/(stage-elevation+1.e-3 0)' #Speed27 quantityname = '(xmomentum**2 + ymomentum**2)**0.5/(stage-elevation+1.e-3)' #Speed 28 28 29 29 if which_var == 4: # Elevation … … 37 37 quantity=quantityname, 38 38 cellsize=100, 39 easting_min=project.eastingmin,40 easting_max=project.eastingmax,41 northing_min=project.northingmin,42 northing_max=project.northingmax,39 #easting_min=project.eastingmin, 40 #easting_max=project.eastingmax, 41 #northing_min=project.northingmin, 42 #northing_max=project.northingmax, 43 43 reduction=max, 44 44 verbose=True) -
trunk/anuga_core/demos/cairns/project.py
r8846 r9180 79 79 #------------------------------------------------------------------------------ 80 80 eastingmin = 363000 81 #eastingmax = 418000 81 82 eastingmax = 418000 82 83 northingmin = 8026600 -
trunk/anuga_core/demos/cairns/run_cairns.py
r9172 r9180 117 117 Bw = anuga.Transmissive_n_momentum_zero_t_momentum_set_stage_boundary( 118 118 domain=domain, 119 function=lambda t: [(60<t<3660)* 50, 0, 0])119 function=lambda t: [(60<t<3660)*10, 0, 0]) 120 120 121 121 domain.set_boundary({'ocean_east': Bw, -
trunk/anuga_core/demos/cairns/run_parallel_cairns.py
r9172 r9180 132 132 Bw = anuga.Transmissive_n_momentum_zero_t_momentum_set_stage_boundary( 133 133 domain=domain, 134 function=lambda t: [(60<t<3660)* 50, 0, 0])134 function=lambda t: [(60<t<3660)*10.0, 0, 0]) 135 135 136 136 domain.set_boundary({'ocean_east': Bw,
Note: See TracChangeset
for help on using the changeset viewer.