[Paraview] Visualising time-dependent field and time-dependent scalars at the same time

Berk Geveci berk.geveci at kitware.com
Mon Dec 29 11:47:23 EST 2008


If your "global" data is stored in field data, you can use the "Plot
Global Variables Over Time" filter.

-berk

On Thu, Dec 18, 2008 at 2:29 PM, Daniele Avitabile
<d.avitabile at gmail.com> wrote:
> Thanks berk,
>
> what I would like to do it is
> 1) produce an XY plot of s1 versus t (and similar for s2). This would be
> good already
> 2) Produce two synchronous animations: while I visualise the field u as a
> function of t, I would like also to trace s1 (or s2) as a function of t.
>
> Hope I have been clear.
>
> Thanks again!
>
> Daniele
>
> On Thu, Dec 18, 2008 at 5:48 PM, Berk Geveci <berk.geveci at kitware.com>
> wrote:
>>
>> If you want to store values that are not associated with points or
>> cells, you can store them in the field data. ParaView reads field data
>> with everything else. The question is, what do you want to do with
>> those values after you load them?
>>
>> -berk
>>
>> On Thu, Dec 18, 2008 at 12:11 PM, Daniele Avitabile
>> <d.avitabile at gmail.com> wrote:
>> > Mike,
>> >
>> > I might totally unaware of what you are talking about, but do you mean I
>> > will have to store s1(t0) and s2(t0) together with u(x,y,z,t0)?
>> >
>> > Here u(x,y,z,t0) is a scalar field at time t0 (i.e. nx times ny times nz
>> > data points), whereas s1(t0) is *a single value* at time t0. How can I
>> > get
>> > ParaView to read *a single value* in a legacy vtk file?
>> >
>> > Best.
>> >
>> > Daniele
>> >
>> > On Thu, Dec 18, 2008 at 2:47 PM, Michael Jackson
>> > <mike.jackson at bluequartz.net> wrote:
>> >>
>> >>
>> >> On Dec 18, 2008, at 7:13 AM, Daniele Avitabile wrote:
>> >>
>> >>> Hi everybody,
>> >>>
>> >>> I have a time-dependent field u(x,y,z,t) and two scalars s1(t), s2(t).
>> >>> At
>> >>> the time being, for each time frame I have a separate .vtk file
>> >>>
>> >>> u(x,y,z,t0) -> step_0000.vtk
>> >>> u(x,y,z,t1) -> step_0001.vtk
>> >>> u(x,y,z,t2) -> step_0002.vtk
>> >>> etc.
>> >>>
>> >>> whereas the corresponding scalar quantities are stored synchronously
>> >>> in a
>> >>> single column-formatted file
>> >>> s1(t0)   s2(t0)
>> >>> s1(t1)   s2(t1)
>> >>> s1(t2)   s2(t2)
>> >>> etc.
>> >>>
>> >>> I usually visualise the .vtk file and animate u. Since s1(t) and s2(t)
>> >>> are influencing the overall dynamics, I wold need to looad and
>> >>> visualise s1
>> >>> and s2 at the same time, possibly animate them synchronously.
>> >>>
>> >>> What is the best way to achieve this? If you have any smart
>> >>> suggestions
>> >>> as to how store s1(t) and s2(t) within the .vtk file I would be
>> >>> grateful.
>> >>> Please note that s1 and s2 are *not* probation points of the field u,
>> >>> but
>> >>> they are totally diferent quantities.
>> >>>
>> >>> Best.
>> >>>
>> >>> Daniele
>> >>>
>> >>
>> >>
>> >> Can you store s1 and s2 as scalars of the vtk data set? This means it
>> >> would have to be included in each vtk file but would solve the problem.
>> >>
>> >> _________________________________________________________
>> >> Mike Jackson                  mike.jackson at bluequartz.net
>> >> BlueQuartz Software                    www.bluequartz.net
>> >> Principal Software Engineer                  Dayton, Ohio
>> >>
>> >>
>> >
>> >
>> > _______________________________________________
>> > ParaView mailing list
>> > ParaView at paraview.org
>> > http://www.paraview.org/mailman/listinfo/paraview
>> >
>> >
>
>


More information about the ParaView mailing list