Changeset 3673


Ignore:
Timestamp:
Sep 28, 2006, 11:28:26 AM (18 years ago)
Author:
sexton
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/hobart_2006/run_hobart.py

    r3671 r3673  
    9898_ = cache(create_mesh_from_regions,
    9999          project.polyAll,
    100           {'boundary_tags': {'bottom': [0], 'bright': [1],
    101                              'topr': [2], 'top': [3], 'left': [4]},
     100#          {'boundary_tags': {'bottom': [0], 'bright': [1],
     101#                             'topr': [2], 'top': [3], 'left': [4]},
     102           {'boundary_tags': {'e0': [0], 'e1': [1], 'e2': [2],
     103                                'e3': [3], 'e4':[4], 'e5': [5],
     104                                'e6': [6], 'e7': [7], 'e8': [8],
     105                                'e9': [9], 'e10': [10], 'e11': [11],
     106                                'e12': [12], 'e13': [13], 'e14': [14],
     107                                'e15': [15], 'e16': [16], 'e17': [17]},
    102108           'maximum_triangle_area': 250000,
    103109           'filename': meshname},           
     
    194200
    195201# for testing
    196 domain.set_boundary( {'topr': Bd, 'left': Bd, 'top': Bd,
    197                       'bottom': Bw, 'bright': Bd} )
     202#domain.set_boundary( {'topr': Bd, 'left': Bd, 'top': Bd,
     203#                      'bottom': Bw, 'bright': Bd} )
     204domain.set_boundary( {'e0': Bd, 'e1': Bd, 'e2': Bd, 'e3': Bd, 'e4': Bd,
     205                        'e5': Bd, 'e6': Bd, 'e7': Bd, 'e8': Bd, 'e9': Bd,
     206                        'e10': Bd, 'e11': Bd, 'e12': Bd, 'e13': Bd, 'e14': Bd,
     207                        'e15': Bd, 'e16': Bw, 'e17': Bd} )
    198208
    199209#-------------------------------------------------------------------------------                                 
     
    203213t0 = time.time()
    204214
    205 for t in domain.evolve(yieldstep = 60, finaltime = 120):
     215for t in domain.evolve(yieldstep = 60, finaltime = 12000):
    206216    domain.write_time()
    207217    domain.write_boundary_statistics(tags = 'bottom')     
Note: See TracChangeset for help on using the changeset viewer.