Changeset 6322


Ignore:
Timestamp:
Feb 12, 2009, 3:40:04 PM (16 years ago)
Author:
ole
Message:

Added file length, changed resolution in time and space.

Location:
anuga_work/production/patong
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/patong/project.py

    r6321 r6322  
    4848finaltime=15000         # final time for simulation 15000
    4949
    50 setup='trial'  # Final can be replaced with trial or basic.
     50setup='final'  # Final can be replaced with trial or basic.
    5151               # Either will result in a coarser mesh that will allow a
    5252               # faster, but less accurate, simulation.
     
    6666    res_factor=1
    6767    time_thinning=4
    68     yieldstep=10
     68    yieldstep=5
    6969
    7070use_buildings = True
     
    180180# Inundation area
    181181poly_ia = read_polygon(polygons_dir+'inundation_area.csv')
    182 res_ia = 75*res_factor
     182res_ia = 59*res_factor
    183183poly_saddle = read_polygon(polygons_dir+'saddle_10m.txt')
    184184
    185185# Area of Interest 1 elevation from -10m to 20m
    186186poly_aoi1 = read_polygon(polygons_dir+'aoi.csv')
    187 res_aoi1 = 200*res_factor
     187res_aoi1 = 150*res_factor
    188188
    189189# Area of Significance 1 elevation from -20m to a 200m buffer of the 20m contour
    190190poly_aos1 = read_polygon(polygons_dir+'aos.csv')
    191 res_aos1 = 900*res_factor
     191res_aos1 = 700*res_factor
    192192
    193193
    194194# Area of Shallow water and coastal land that needs a finer res than 1000000
    195195poly_sw = read_polygon(polygons_dir+'sw.csv')
    196 res_sw = 6000*res_factor
     196res_sw = 5000*res_factor
    197197
    198198
     
    204204building_saddle = read_polygon(polygons_dir+'building_saddle.csv')
    205205building_area_polygons = [building_main, building_main_small, building_main_south, building_saddle]
    206 bld_res = 25*res_factor
     206bld_res = 20*res_factor
    207207
    208208
  • anuga_work/production/patong/run_patong.py

    r6321 r6322  
    5757print 'output_dir', output_dir
    5858
    59 copy_code_files(output_dir,__file__,
    60                 dirname(project.__file__)+sep+ project.__name__+'.py' )
    61 
    62 start_screen_catcher(output_dir, myid, numprocs)
     59#copy_code_files(output_dir,__file__,
     60#                dirname(project.__file__)+sep+ project.__name__+'.py' )
     61#
     62#start_screen_catcher(output_dir, myid, numprocs)
    6363
    6464
     
    8383# Number of landward_boundary points
    8484M = file_length(project.landward_dir)
     85
    8586
    8687# Boundary tags refer to project.landward_boundary
     
    105106
    106107print domain.statistics()
    107 
    108108
    109109#-------------------------------------------------------------------------
     
    122122print 'friction'
    123123domain.set_quantity('friction', project.friction)
     124
    124125print 'elevation'
    125126domain.set_quantity('elevation',
     
    182183
    183184Br = Reflective_boundary(domain)
    184 Bd = Dirichlet_boundary([project.tide,0,0])
     185Bs = Dirichlet_boundary([project.tide,0,0])
    185186#Bs = Transmissive_stage_zero_momentum_boundary(domain)
    186187Bf = Field_boundary(urs_boundary_name+'.sts',
     
    188189                    mean_stage= project.tide,
    189190                    time_thinning=project.time_thinning,
    190                     default_boundary=Bd,
     191                    default_boundary=Bs,
    191192                    use_cache=True,
    192193                    verbose=True,
     
    194195
    195196domain.set_boundary({'back': Br,
    196                      'side': Bd,
     197                     'side': Bs,
    197198                     'ocean': Bf})
    198199
Note: See TracChangeset for help on using the changeset viewer.