Changeset 9327
- Timestamp:
- Sep 8, 2014, 10:06:35 AM (11 years ago)
- Location:
- trunk/anuga_core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/shallow_water/swDE1_domain_ext.c
r9320 r9327 619 619 double weirScale, 620 620 double s1, double s2, 621 double h1, double h2 621 double h1, double h2, 622 double *max_speed_local 622 623 ){ 623 624 // Adjust the edgeflux to agree with a weir relation [including … … 702 703 } 703 704 705 // Adjust the max speed 706 *max_speed_local = sqrt(g*maxhd) + abs(edgeflux[0])/(maxhd+1.0e-100); 707 704 708 return 0; 705 709 } … … 872 876 adjust_edgeflux_with_weir(edgeflux, h_left_tmp, h_right_tmp, D->g, 873 877 weir_height, Qfactor, 874 s1, s2, h1, h2); 875 // NOTE: Should perhaps also adjust the wave-speed here?? Small chance of instability?? 878 s1, s2, h1, h2, &max_speed_local); 876 879 } 877 880 } -
trunk/anuga_core/validation_tests/behaviour_only/tides_hecras/channel_floodplain1.py
r9256 r9327 30 30 bankwidth = 0.01 # Width of the bank regions -- note that these protrude into the channel 31 31 man_n=0.03 # Manning's n 32 l0 = 20.000 # Length scale associated with triangle side length in channel (min_triangle area = 0.5*l0^2)32 l0 = 50.000 # Length scale associated with triangle side length in channel (min_triangle area = 0.5*l0^2) 33 33 34 34 assert chan_width < floodplain_width, \
Note: See TracChangeset
for help on using the changeset viewer.