Ignore:
Timestamp:
Dec 1, 2004, 2:25:43 PM (19 years ago)
Author:
chris
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/analytical solutions/Analytical_solution_MacDonald_import_mesh.py

    r638 r647  
    88   Copyright 2004
    99   Christopher Zoppou, Stephen Roberts, Ole Nielsen, Duncan Gray
    10    Geoscience Australia
     10   Geoscience Australia, ANU
    1111   
    1212Specific methods pertaining to the 2D shallow water equation
     
    8383#--------------------
    8484# Boundary Conditions
    85 upstream_depth = 5.035-4.393
     85upstream_depth = 5.035 - 4.393
     86downstream_depth = 1.5 - 0
    8687discharge = 20
    8788tags = {}
    88 tags['Upstream'] = Dirichlet_boundary([5.035, 2, 0.0])
     89tags['Upstream'] = Dirichlet_boundary([upstream_depth, 2, 0.0])
    8990tags['external'] = Reflective_boundary(domain)
    90 tags['Downstream'] = Transmissive_boundary(domain)
     91tags['Downstream'] = Dirichlet_boundary([downstream_depth, 2, 0.0])
    9192domain.set_boundary(tags)
    9293
     
    104105import time
    105106t0 = time.time()
    106 for t in domain.evolve(yieldstep = 50, finaltime = 5000):
     107for t in domain.evolve(yieldstep = 5, finaltime = 500):
    107108    domain.write_time()
    108109   
Note: See TracChangeset for help on using the changeset viewer.