Changeset 3998


Ignore:
Timestamp:
Nov 16, 2006, 9:33:57 AM (16 years ago)
Author:
nick
Message:

update dampier_2006/run_dampier.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/dampier_2006/run_dampier.py

    r3997 r3998  
    9797#    if access(project.meshes_time_dir,F_OK) == 0:
    9898#        mkdir(project.meshes_time_dir)
    99 #    if access(project.meshes_dir,F_OK) == 0:
    100 #        mkdir(project.meshes_dir)
    101  
     99    if access(project.meshes_dir,F_OK) == 0:
     100        mkdir(project.meshes_dir)
     101    print 'start create mesh from regions'
     102    interior_regions = [#[project.karratha_polygon, 25000],
     103#                    [project.cipma_polygon, 1000],
     104#                    [project.poly_pipeline, 5000],
     105#                    [project.poly_facility, 500]]   
     106                    [project.poly_interior, 1000]]   
    102107#    meshes_dir_name = project.meshes_dir_name + '.msh'
    103108
     
    250255        domain.set_quantity('xmomentum', 0)
    251256        domain.set_quantity('ymomentum', 0)
    252 #import sys; sys.exit()
     257import sys; sys.exit()
    253258     
    254259for t in domain.evolve(yieldstep = 60, finaltime = 28800
Note: See TracChangeset for help on using the changeset viewer.