Changeset 3284


Ignore:
Timestamp:
Jul 6, 2006, 2:39:35 PM (18 years ago)
Author:
sexton
Message:

yet more updates

Location:
production/pt_hedland_2006
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • production/pt_hedland_2006/project.py

    r3281 r3284  
    136136d6 = [690000.0, 7740510.33]
    137137#polyAll = [d0, d1, d2, d3, d4, d5, d6]
    138 polyAll = [d0_50, d1_50, d2_50, d4, d5, d6]
     138#polyAll = [d0_50, d1_50, d2_50, d4, d5, d6]
     139# from Hamish
     140h0=[629262.17, 7747205.47]
     141h1=[552686.00, 7871579.99] #d3
     142h2=[658264.00, 7926314.00] #d2
     143h3=[710986.99, 7925796.99] #d1
     144h4=[763851.99, 7934357.99] #d0
     145h5=[701485.21, 7770656.86]
     146h6=[698273.75, 7762227.38]
     147h7=[698194.23, 7762018.65]
     148h8=[691627.41, 7744781.98]
     149h9=[679220.75, 7743604.59]
     150h10=[653512.59, 7740528.56]
     151h11=[634777.71, 7738247.17]
     152h12=[629443.86, 7746910.37]
     153h13=[629396.84, 7746986.75]
     154h14=[629352.32, 7747059.06]
     155h15=[629276.24, 7747182.63]
     156h16=[629262.17, 7747205.47] #repeat of h0
     157# using Hamish's new bounding polygon
     158polyAll = [d0_50, d1_50, d2_50, h16,h15,h14,h13,h12,h11,h10,h9,h8,h7,h6,h5]
    139159
    140160#Interior region - Pt Hedland town
  • production/pt_hedland_2006/run_pt_hedland.py

    r3281 r3284  
    100100from pmesh.mesh_interface import create_mesh_from_regions
    101101
    102 region_res = 100000
    103 coast_res = 2500
    104 pt_hedland_res = 1500
     102region_res = 50000
     103coast_res = 500
     104pt_hedland_res = 500
    105105interior_regions = [[project.poly_pt_hedland, pt_hedland_res],
    106106                    [project.poly_region, region_res]]
     
    123123                             'left': [2], 'bottomleft': [3],
    124124                             'bottomright': [4], 'right': [5]},
    125            'maximum_triangle_area': 500000,
     125           'maximum_triangle_area': 250000,
    126126           'filename': meshname,           
    127127           'interior_regions': interior_regions},
     
    209209t0 = time.time()
    210210
    211 for t in domain.evolve(yieldstep = 240, finaltime = 12240):
    212     domain.write_time()
    213     domain.write_boundary_statistics(tags = 'topleft')     
    214 
    215 for t in domain.evolve(yieldstep = 120, finaltime = 15600
    216                        ,skip_initial_step = True):
    217     domain.write_time()
    218     domain.write_boundary_statistics(tags = 'topleft')     
    219 
    220 for t in domain.evolve(yieldstep = 60, finaltime = 22020
    221                        ,skip_initial_step = True):
    222     domain.write_time()
    223     domain.write_boundary_statistics(tags = 'topleft')     
     211for t in domain.evolve(yieldstep = 240, finaltime = 10800):
     212    domain.write_time()
     213    domain.write_boundary_statistics(tags = 'topright')     
     214
     215for t in domain.evolve(yieldstep = 120, finaltime = 16200
     216                       ,skip_initial_step = True):
     217    domain.write_time()
     218    domain.write_boundary_statistics(tags = 'topright')     
     219
     220for t in domain.evolve(yieldstep = 60, finaltime = 21600
     221                       ,skip_initial_step = True):
     222    domain.write_time()
     223    domain.write_boundary_statistics(tags = 'topright')     
    224224   
    225 for t in domain.evolve(yieldstep = 120, finaltime = 27060
    226                        ,skip_initial_step = True):
    227     domain.write_time()
    228     domain.write_boundary_statistics(tags = 'topleft')     
     225for t in domain.evolve(yieldstep = 120, finaltime = 27000
     226                       ,skip_initial_step = True):
     227    domain.write_time()
     228    domain.write_boundary_statistics(tags = 'topright')     
    229229
    230230for t in domain.evolve(yieldstep = 240, finaltime = 36000
    231231                       ,skip_initial_step = True):
    232232    domain.write_time()
    233     domain.write_boundary_statistics(tags = 'topleft')     
     233    domain.write_boundary_statistics(tags = 'topright')   
    234234 
    235235print 'That took %.2f seconds' %(time.time()-t0)
Note: See TracChangeset for help on using the changeset viewer.