Changeset 4046 for anuga_work/production


Ignore:
Timestamp:
Dec 1, 2006, 2:46:11 PM (18 years ago)
Author:
sexton
Message:

slide updates

Location:
anuga_work/production
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/newcastle_2006/project_slide.py

    r4036 r4046  
    6262
    6363# bounding polygon for study area
    64 polyAll = read_polygon(polygondir+'extent.csv')
     64polyAll = read_polygon(polygondir+'extentC.csv')
    6565
    66 # plot bounding polygon and make sure BC info surrounds it
    67 #plot_polygons([polyAll, poly_bc],'boundingpoly',verbose=False)
    6866print 'Area of bounding polygon', polygon_area(polyAll)/1000000.0
    6967
     
    7270###############################
    7371
    74 # broome digitized polygons
     72# newcastle digitized polygons
    7573poly_newcastle1 = read_polygon(polygondir+'.csv')
    7674poly_newcastle2 = read_polygon(polygondir+'.csv')
     
    9189northingmax =
    9290
    93 #slump_origin = [,]
     91###################################################################
     92# Slide characteristics
     93###################################################################
     94
     95slide_origin_a = [352928.37,6188303.94]
     96slide_origin_b = [393301.80,6253255.08]
     97slide_origin_c = [446025.35,6330307.46]
     98
     99bulli_depth = 2087.0
     100bulli_length = 16840.0
     101bulli_thickness = 424.0
     102bulli_width = 8860.0
     103bulli_density = 1.46
     104bulli_slope = 4.0
     105bulli_alpha = 126.0 + 90.0
     106
     107shovel_depth = 968.0
     108shovel_length = 13500.0
     109shovel_thickness = 165.0
     110shovel_width = 4350.0
     111shovel_density = 1.49
     112shove_slope = 4.0
     113shovel_alpha = 118.0 + 90.0
     114
     115yacaaba_depth = 1119.0
     116yacaaba_length = 7050.0
     117yacaaba_thickness = 144.0
     118yacaaba_width = 3080.0
     119yacaaba_density = 1.48
     120yacaaba_slope = 3.0
     121yacaaba_alpha = 133.0 + 90.0
  • anuga_work/production/sydney_2006/project_slide.py

    r4045 r4046  
    6666
    6767# bounding polygon for study area
    68 polyAll = read_polygon(polygondir+'extent.csv')
     68polyAll = read_polygon(polygondir+'extent2.csv')
    6969
    70 # plot bounding polygon and make sure BC info surrounds it
    71 #plot_polygons([polyAll, poly_bc],'boundingpoly',verbose=False)
    7270print 'Area of bounding polygon', polygon_area(polyAll)/1000000.0
    7371
     
    7775
    7876# sydney digitized polygons
    79 interior_regions = []
    80 area = 0.
    81 coast_res = 500.
    82 for i in range(1,10):
    83     poly = read_polygon(polygondir+'poly'+str(i)+'.csv')
    84     area += polygon_area(poly)
    85     #interior_regions.append([poly,coast_res])
    86 
     77poly_coast = read_polygon(polygondir+'coast.csv')
    8778poly_syd1 = read_polygon(polygondir+'local.csv')
    88 local_res = 50000.
    89 interior_regions.append([poly_syd1,local_res])
    9079
    9180print 'Area of local polygon', polygon_area(poly_syd1)/1000000.0
    92 print 'Area of local polygon', area/1000000.0
     81print 'Area of coastal polygon', polygon_area(poly_coast)/1000000.0
    9382
    9483###################################################################
     
    129118###################################################################
    130119
    131 #slide_origin = [,]
     120slide_origin_a = [352928.37,6188303.94]
     121slide_origin_b = [393301.80,6253255.08]
     122slide_origin_c = [446025.35,6330307.46]
     123
    132124bulli_depth = 2087.0
    133125bulli_length = 16840.0
     
    135127bulli_width = 8860.0
    136128bulli_density = 1.46
     129bulli_slope = 4.0
    137130bulli_alpha = 126.0 + 90.0
    138131
     
    142135shovel_width = 4350.0
    143136shovel_density = 1.49
     137shove_slope = 4.0
    144138shovel_alpha = 118.0 + 90.0
    145139
     
    149143yacaaba_width = 3080.0
    150144yacaaba_density = 1.48
     145yacaaba_slope = 3.0
    151146yacaaba_alpha = 133.0 + 90.0
  • anuga_work/production/sydney_2006/run_sydney_slide.py

    r4045 r4046  
    128128
    129129from anuga.pmesh.mesh_interface import create_mesh_from_regions
    130 remainder_res = 500000
    131 local_res = 25000
    132 #interior_regions = [[project_slide.poly_syd1, local_res]]
    133 #interior_regions.append(project_slide.poly_sydcoast)
     130remainder_res = 1000000.
     131local_res = 50000.
     132coast_res = 10000.
     133interior_regions = [[project_slide.poly_syd1, local_res],
     134                    [project_slide.poly_coast, coast_res]]
    134135
    135136from caching import cache
     
    140141           'maximum_triangle_area': remainder_res,
    141142           'filename': meshname,
    142            'interior_regions': project_slide.interior_regions},
     143           'interior_regions': interior_regions},
    143144          verbose = True, evaluate=False)
    144145print 'created mesh'
     
    182183                               slope=project_slide.bulli_slope,
    183184                               thickness=project_slide.bulli_thickness,
    184                                x0=project_slide.slide_origin[0],
    185                                y0=project_slide.slide_origin[1],
     185                               x0=project_slide.slide_origin_b[0],
     186                               y0=project_slide.slide_origin_b[1],
    186187                               alpha=project_slide.bulli_alpha,
    187188                               domain=domain)
     
    202203#-------------------------------------------------------------------------------
    203204import time
     205from Numeric import allclose
     206from anuga.abstract_2d_finite_volumes.quantity import Quantity
     207
    204208t0 = time.time()
    205209
  • anuga_work/production/wollongong_2006/project_slide.py

    r4036 r4046  
    6262
    6363# bounding polygon for study area
    64 polyAll = read_polygon(polygondir+'extent.csv')
     64polyAll = read_polygon(polygondir+'extentA.csv')
    6565
    66 # plot bounding polygon and make sure BC info surrounds it
    67 #plot_polygons([polyAll, poly_bc],'boundingpoly',verbose=False)
    6866print 'Area of bounding polygon', polygon_area(polyAll)/1000000.0
    6967
     
    9189northingmax =
    9290
    93 #slump_origin = [,]
     91###################################################################
     92# Slide characteristics
     93###################################################################
     94
     95slide_origin_a = [352928.37,6188303.94]
     96slide_origin_b = [393301.80,6253255.08]
     97slide_origin_c = [446025.35,6330307.46]
     98
     99bulli_depth = 2087.0
     100bulli_length = 16840.0
     101bulli_thickness = 424.0
     102bulli_width = 8860.0
     103bulli_density = 1.46
     104bulli_slope = 4.0
     105bulli_alpha = 126.0 + 90.0
     106
     107shovel_depth = 968.0
     108shovel_length = 13500.0
     109shovel_thickness = 165.0
     110shovel_width = 4350.0
     111shovel_density = 1.49
     112shove_slope = 4.0
     113shovel_alpha = 118.0 + 90.0
     114
     115yacaaba_depth = 1119.0
     116yacaaba_length = 7050.0
     117yacaaba_thickness = 144.0
     118yacaaba_width = 3080.0
     119yacaaba_density = 1.48
     120yacaaba_slope = 3.0
     121yacaaba_alpha = 133.0 + 90.0
     122
Note: See TracChangeset for help on using the changeset viewer.