Ignore:
Timestamp:
Apr 5, 2012, 12:37:54 AM (13 years ago)
Author:
davies
Message:

balanced_dev: more application adjustments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_work/development/gareth/tests/wave/run_wave.py

    r8354 r8384  
    1313import anuga
    1414from anuga import Domain
    15 #from balanced_dev import *
     15
     16from balanced_dev import *
     17from balanced_dev import Domain as Domain
    1618
    1719from math import cos
     
    3941# Setup domain
    4042#------------------------------------------------------------------------------
    41 dx = 500.
     43dx = 1000.
    4244dy = dx
    4345L = 100000.
     
    5557# Setup Algorithm
    5658#------------------------------------------------------------------------------
    57 domain.set_timestepping_method('rk2')
    58 domain.set_default_order(2)
    59 domain.set_beta(2.0)
     59#domain.set_timestepping_method('rk2')
     60#domain.set_default_order(2)
     61#domain.set_beta(2.0)
    6062
    61 print domain.get_timestepping_method()
     63#print domain.get_timestepping_method()
    6264
    6365#domain.use_edge_limiter = True
     
    8183Bd = anuga.Dirichlet_boundary([1,0.,0.]) # Constant boundary values
    8284amplitude = 1
    83 wave_length = 3000.0
     85wave_length = 300.0
    8486Bw = anuga.Time_boundary(domain=domain,     # Time dependent boundary
    8587## Sine wave
     
    116118#------------------------------------------------------------------------------
    117119
    118 for t in domain.evolve(yieldstep = 10.0, finaltime = 60*60.*10.):
     120for t in domain.evolve(yieldstep = 10.0, finaltime = 60*60.*3.):
    119121    domain.write_time()
    120122    if interactive_visualisation:
Note: See TracChangeset for help on using the changeset viewer.