Ignore:
Timestamp:
Sep 16, 2005, 12:11:41 PM (19 years ago)
Author:
steve
Message:

Investigating Circular Hydraulic jump.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/analytical solutions/Analytical_solution_circular_hydraulic_jump.py

    r1834 r1839  
    113113# Order of accuracy
    114114domain.default_order = 2
     115domain.CFL = 1.0
     116#domain.beta_w = 0.5
     117#domain.beta_h = 0.2
    115118domain.smooth = True
     119
     120
    116121
    117122
     
    119124    #domain.visualiser.coloring['stage'] = True
    120125domain.visualiser.scale_z['stage'] = 2.0
    121 #domain.visualiser.scale_z['elevation'] = 0.05
     126domain.visualiser.scale_z['elevation'] = 0.05
     127
     128
     129from realtime_visualisation_new import Visualiser
     130vxmom = Visualiser(domain,title='xmomentum',scale_z=10.0)
     131vymom = Visualiser(domain,title='ymomentum',scale_z=10.0)
     132
     133
    122134#----------
    123135# Evolution
    124136import time
     137
     138print 'PROBLEM WITH INSTABILITY AFTER t'
    125139t0 = time.time()
    126140for t in domain.evolve(yieldstep = .01, finaltime = 10):
    127141    domain.write_time()
     142    vxmom.update_quantity('xmomentum')
     143    vymom.update_quantity('ymomentum')
    128144
    129145print 'That took %.2f seconds' %(time.time()-t0)
Note: See TracChangeset for help on using the changeset viewer.