Changeset 9022 for trunk/anuga_work/development/gareth/tests/parabolic
- Timestamp:
- Nov 13, 2013, 9:44:05 PM (11 years ago)
- Location:
- trunk/anuga_work/development/gareth/tests/parabolic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_work/development/gareth/tests/parabolic/parabolaplot.py
r8991 r9022 31 31 pyplot.draw() 32 32 #pyplot.plot( (0,1),(0,0), 'r' ) 33 pyplot.plot(p2.x[v],p2.elev[1,v])33 #pyplot.plot(p2.x[v],p2.elev[v]) 34 34 pyplot.title(str(i)+'/200') # : velocity does not converge to zero' ) 35 35 pyplot.xlabel('x') … … 63 63 w = D0 + 2*A*D0/(L**2)*numpy.cos(omega*p2.time)*( (p2.x[ppp]-4.*L/2.) -A/2.*numpy.cos(omega*p2.time)) 64 64 w2 = D0 + 2*A*D0/(L**2)*numpy.cos(omega*p2.time)*( (p2.x[ppp2]-4.*L/2.) -A/2.*numpy.cos(omega*p2.time)) 65 w2 = w2*(w2>p2.elev[ 1,ppp2])+p2.elev[1,ppp2]*(w2<=p2.elev[1,ppp2])65 w2 = w2*(w2>p2.elev[ppp2])+p2.elev[ppp2]*(w2<=p2.elev[ppp2]) 66 66 67 67 pyplot.clf() -
trunk/anuga_work/development/gareth/tests/parabolic/parabolic.py
r8992 r9022 23 23 domain.set_name('parabola_v2') # Output to file runup.sww 24 24 domain.set_datadir('.') # Use current folder 25 domain.set_store_centroids(True) 25 26 #domain.set_minimum_allowed_height(0.01) 26 27
Note: See TracChangeset
for help on using the changeset viewer.