<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hermano,</p>
<p>Here is an example *pvd file. <br>
</p>
Samuel Key<br>
FMA Development<br>
1005 39th Ave NE<br>
Great Falls, Montana, USA<br>
<br>
<div class="moz-cite-prefix">On 9/28/2017 1:21 PM, Andy Bauer wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMaOp+GUofs25EGhH3gyXTNbSXTveZfyk_zA_s7jZZG+zrfQOA@mail.gmail.com">
<div dir="ltr">
<div>Hi,<br>
<br>
</div>
The XML readers and writers don't properly support time so
currently the best way would be to create a pvd file which would
contain the time and time step information. I don't know of
anything in VTK or ParaView that writes out pvd files (I only
see a vtkPVDReader in ParaView) but the format is meant to be
simple. I would suggest doing it directly in the Catalyst Python
script through some Python library as the best workaround for
now.<br>
<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Sep 28, 2017 at 3:08 PM,
Hermano Lustosa <span dir="ltr"><<a
href="mailto:hllustosa@gmail.com" target="_blank"
moz-do-not-send="true">hllustosa@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Ohh I see... <br>
<br>
Just another quick question. Currently, I am creating a
series of VTU and VTI files whose names follow the pattern
mysimulation-t%d. With %d being replaced by an integer
index identifying the time step. I am about to code a
simple PVD writer to consolidate the output and also to
assign the real time step value in seconds instead of
maintaining this integer index.<br>
<br>
It doesn't seem to be very hard to create this PVD file by
hand, but I was just wondering if there is something in
the VTK library that could automatically create these
files for me. I still could not understand how I can
assign the real time step in seconds to a file, don't know
if its even possible with VT? files. If this is possible,
some directions that could help me implement that would be
very nice!
<div><br>
</div>
<div>Thanks once again!<br>
<div><br>
</div>
<div><br>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Sep 28, 2017 at 3:50 PM,
Andy Bauer <span dir="ltr"><<a
href="mailto:andy.bauer@kitware.com" target="_blank"
moz-do-not-send="true">andy.bauer@kitware.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,
<div><br>
</div>
<div>The TemporalStatistics filter (or any other
filter that iterates through time steps) doesn't
currently work with Catalyst. We hope to change
this in the future but because of the way that the
ParaView pipeline works it makes it a non-trivial
change.</div>
<div><br>
</div>
<div>Andy</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div>
<div class="m_2045309384246558070h5">On Thu, Sep
28, 2017 at 2:40 PM, Hermano Lustosa <span
dir="ltr"><<a
href="mailto:hllustosa@gmail.com"
target="_blank" moz-do-not-send="true">hllustosa@gmail.com</a>></span>
wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0
0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div>
<div class="m_2045309384246558070h5">
<div dir="ltr">I have doubt about using
paraview catalyst from my simulation code.
Suppose I created a simple Paraview
pipeline containing the TemporalStatistics
filter only.
<div><br>
</div>
<div>Initially, it is not clear for which
"dummy" source is adequate for the
script. I used a simple programmable
source or even a unstructured cell types
source to create the python script.
Then, I call the script from catalyst in
my code like this:<br>
<br>
for each time step
<div> update grid;</div>
<div> create data description;</div>
<div> call coprocessing method;</div>
<div><br>
</div>
<div>The problem is that I expect the
TemporalStatistics filter to create a
single file containing the statistics
for all the time steps. However, this
approach creates a file for every time
step. What I should do in the catalyst
(or during the script creation) to
have a single output for this filter.</div>
<div><br>
</div>
<div>Thanks in advance.<br>
<div><br>
<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com"
rel="noreferrer" target="_blank"
moz-do-not-send="true">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a
href="http://www.kitware.com/opensource/opensource.html"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the
ParaView Wiki at: <a
href="http://paraview.org/Wiki/ParaView"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a
href="http://markmail.org/search/?q=ParaView"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a
href="http://public.kitware.com/mailman/listinfo/paraview"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>
Search the list archives at: <a class="moz-txt-link-freetext" href="http://markmail.org/search/?q=ParaView">http://markmail.org/search/?q=ParaView</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/paraview">http://public.kitware.com/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
</body>
</html>