Changeset 4047 for anuga_work
- Timestamp:
- Dec 4, 2006, 10:11:34 AM (18 years ago)
- Location:
- anuga_work/development
- Files:
-
- 11 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/friction_dam_2006/calc_norm.py
r4043 r4047 1 1 """ 2 2 Idea's 3 have it use cache! 3 4 """ 4 5 … … 97 98 interpolation_points = gauge_locations, 98 99 verbose = True, 99 use_cache = False)100 use_cache = True) 100 101 # file_instance(0.02, point_id=0) #This works 101 102 norm_sum = 0 … … 130 131 if __name__ == "__main__": 131 132 calc_norm('fromD_0.2_Slope0.05_x0.2-0.6.csv', 132 is_trial_run = True,133 outputdir_name='friction_set ')133 is_trial_run = False, 134 outputdir_name='friction_set_A') 134 135 -
anuga_work/development/friction_dam_2006/run_dam.py
r4043 r4047 3 3 4 4 Ole Nielsen and Duncan Gray, GA - 2006 5 6 7 Issues 8 If running this is hand-set-up parallel, the python files are overwritten. 9 5 10 """ 6 11 … … 55 60 dirname(project.__file__) \ 56 61 + sep + project.__name__+'.py') 62 copy (pro_instance.codedir + 'run_dam.py', 63 pro_instance.outputdir + 'run_dam' + str(friction)+ '.py') 57 64 copy (pro_instance.codedir + 'create_mesh.py', 58 65 pro_instance.outputdir + 'create_mesh.py') … … 145 152 #------------------------------------------------------------- 146 153 if __name__ == "__main__": 147 for friction in [ 0.0 15]:154 for friction in [ 0.0275]: 148 155 main(friction, is_trial_run = False, outputdir_name='friction_set_A') 149 156 157 # to do 158 # .075, -0-1 159 # 0.0075 - 0-16 160 #.01, - 0-2 161 # 162 #.0125, - 0-6 163 #0.015, - 0-17 164 #0.02, - 0-14 165 #$0.03]: - 0-7 166 # [0.016, - 0-11 167 #0.017, -0-8 168 #0.018, -0-9 169 #0.019]: - 0-12 170 # 0.005 - 0-20 171 # 0.02 - 4 172 # 0.016 - 8 173 # 0.017 - 9 174 # 0.018 - 1 175 # 0.019 -17 176 # calc - 7 177 # 0.0075 -12 150 178 179 # Let's fill some gaps 180 # 0.0225 - 7 181 # 0.025 - 12 182 # 0.0275 - 6 151 183 #for friction in [0.0, .0025, .005, .0075, .01, .0125, 0.015, 0.02, 0.03]: 152 184 #for friction in [0.016, 0.017, 0.018, 0.019]:
Note: See TracChangeset
for help on using the changeset viewer.