[Paraview] Trying to plot a grid-centered value over time

Karl König kkoenig11 at web.de
Wed Jul 3 05:30:22 EDT 2013


Johan,

See http://markmail.org/message/cq2kox2h6hhcfjrj for this previously
answered question on how to plot field data over time in ParaView.

Karl


Johan Sundberg wrote, On 03.07.2013 08:16:
> Hello!
> 
> This is my first time using a mailing list so I hope im doing it right.
> 
> Im working on a project where I write information from a physics engine
> into a HDF5 file, generate a XDMF file from a python script that
> connects to the HDF5 data and then open the xml file in paraview to plot
> it. Right now I have a 3D-grid with position points and velocities and
> this works fine, it steps forward in time and moves just as expected.
> 
> The positions are for example 
> <Attribute Center="Node" Name="position" Type="Vector">
> in the xml file.
> 
> The problem arises when I have a single scalar value for each time-step
> that I want to plot against time. I connect it through xdmf as such
> <Attribute Center="Grid" Name="anMomBW" Type="Scalar">
> 
> as far as I understand this should be one value per time step for the
> entire grid. It shows up in paraview as a global value (I think, it has
> another symbol atleast) under data arrays. I have tried alot of
> different plot options such as "plot global variables over time" but
> cant locate the variable.
> 
> Any help would be appreciated, Thanks 
> //Johan



More information about the ParaView mailing list