Peano
Loading...
Searching...
No Matches
plot3D.py File Reference

Go to the source code of this file.

Namespaces

namespace  plot3D
 

Functions

 plot3D.plot (quantity)
 Plot the specified quantity.
 

Variables

dict plot3D.params
 
float plot3D.time = 0.6
 
str plot3D.pvdfile = "particles.pvd"
 
 plot3D.reader = ParticleVTUReader(pvdfile=pvdfile, snapshot_time=time)
 
 plot3D.partData = reader.load()
 
 plot3D.x = partData.x[:, 0]
 
 plot3D.y = partData.x[:, 1]
 
 plot3D.z = partData.x[:, 2]
 
 plot3D.vx = partData.v[:, 0]
 
 plot3D.vy = partData.v[:, 1]
 
 plot3D.vz = partData.v[:, 2]
 
 plot3D.u = partData.u
 
 plot3D.P = partData.pressure
 
 plot3D.rho = partData.density