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