Can't get 3d plots in Paraview
Been using Viper for a long time, and can get 3d plot in Viper.
Now want to do animation, so downloaded and installed Paraview.
But I can only get 2d plots in Paraview -- it won't use the z range info. It will do animation, though.
(May be a paraview question ... but hope you can help).
I have tracked the problem this far: In the .vtu XML output, Paraview is only using <Points>, which b/c of my mesh all have a z-coordinate of 0. I need the <PointData Scalars = "u"> data to replace the z-coordinates of the <Points> data; or do the equivalent in Paraview.
I've tried working with project(w,V), which works fine but doesn't seem to fix the problem in Paraview.
Maybe I am using it wrong?? Any help greatly appreciated...
At least, before I write a script to fix this problem, maybe someone has already written such a script???
mesh = Rectangle
file = File("PNLSoutpu
file << ( w,t) # inside my time loop
plot( w)
interactive() # last frame is shown correctly in viper
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Jan Blechta
- Solved:
- Last query:
- Last reply: