Changeset 4047


Ignore:
Timestamp:
Dec 4, 2006, 10:11:34 AM (17 years ago)
Author:
duncan
Message:

Checking in the scripts I've been using to determine the optimised mannings value from UQ and UA experiments

Location:
anuga_work/development
Files:
11 added
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/friction_dam_2006/calc_norm.py

    r4043 r4047  
    11"""
    2 
     2Idea's
     3have it use cache!
    34"""
    45
     
    9798                                      interpolation_points = gauge_locations,
    9899                                      verbose = True,
    99                                       use_cache = False)
     100                                      use_cache = True)
    100101        # file_instance(0.02, point_id=0) #This works
    101102        norm_sum = 0
     
    130131if __name__ == "__main__":
    131132    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')
    134135   
  • anuga_work/development/friction_dam_2006/run_dam.py

    r4043 r4047  
    33
    44Ole Nielsen and Duncan Gray, GA - 2006
     5
     6
     7Issues
     8If running this is hand-set-up parallel, the python files are overwritten.
     9
    510"""
    611
     
    5560                    dirname(project.__file__) \
    5661                    + sep + project.__name__+'.py')
     62    copy (pro_instance.codedir + 'run_dam.py',
     63          pro_instance.outputdir + 'run_dam' + str(friction)+ '.py')
    5764    copy (pro_instance.codedir + 'create_mesh.py',
    5865          pro_instance.outputdir + 'create_mesh.py')
     
    145152#-------------------------------------------------------------
    146153if __name__ == "__main__":
    147     for friction in [ 0.015]:
     154    for friction in [ 0.0275]:
    148155        main(friction, is_trial_run = False, outputdir_name='friction_set_A')
    149156   
     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
    150178
     179    # Let's fill some gaps
     180    # 0.0225 - 7
     181    # 0.025 - 12
     182    # 0.0275 - 6
    151183    #for friction in [0.0, .0025, .005, .0075, .01, .0125, 0.015, 0.02, 0.03]:
    152184    #for friction in [0.016, 0.017, 0.018, 0.019]:
Note: See TracChangeset for help on using the changeset viewer.