Changeset 8197 for trunk/anuga_work/development
- Timestamp:
- Aug 12, 2011, 1:48:27 PM (14 years ago)
- Location:
- trunk/anuga_work/development/2010-projects/anuga_1d/pipe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_work/development/2010-projects/anuga_1d/pipe/pipe_domain_ext.c
r8196 r8197 21 21 22 22 // Hard coded choices of computational methods 23 //#define flux_formula0 flux_formula_press024 //#define flux_formula1 flux_formula_press125 #define flux_formula0 flux_formula_fs026 #define flux_formula1 flux_formula_fs123 #define flux_formula0 flux_formula_press0 24 #define flux_formula1 flux_formula_press1 25 //#define flux_formula0 flux_formula_fs0 26 //#define flux_formula1 flux_formula_fs1 27 27 #define compute_flux compute_flux_godunov 28 28 #define forcingterm_formula_press forcingterm_formula_press_naive 29 29 #define forcingterm_formula_fs forcingterm_formula_fs_naive 30 //#define compute_forcingterm compute_forcingterm_press31 #define compute_forcingterm compute_forcingterm_fs30 #define compute_forcingterm compute_forcingterm_press 31 //#define compute_forcingterm compute_forcingterm_fs 32 32 33 33 // Some formulae -
trunk/anuga_work/development/2010-projects/anuga_1d/pipe/test_pipe.py
r8196 r8197 22 22 y = numpy.zeros(len(x),numpy.float) 23 23 for i in range(len(x)): 24 y[i] = z_infty+2*A0*z_infty/L_x*cos(omega*t)*(x[i]/L_x-0.5*A0/(L_x)*cos(omega*t))25 #y[i] = 12.024 #y[i] = z_infty+2*A0*z_infty/L_x*cos(omega*t)*(x[i]/L_x-0.5*A0/(L_x)*cos(omega*t)) 25 y[i] = 12.0 26 26 return y 27 27 … … 52 52 53 53 # Set final time and yield time for simulation 54 finaltime = 500.055 yieldstep = 1 0.054 finaltime = 130.0 55 yieldstep = 1.0 56 56 57 57 # Length of channel (m)
Note: See TracChangeset
for help on using the changeset viewer.