Hi,
I wrote a simple variable time-step solver and use ParaView as
post-processor. For every timestep I wrote a ".vtu" file to the disk.
Unfortunately, I was not able to find a way to put the time information
within this files. What I found was this: A possible solution is to
write a single meta-data file, called ".pvd" file, which is a simple xml
file and can be opened with ParaView. It looks like e.g. this:
<VTKFile type="Collection" version="0.1" ByteOrder="LittleEndian">
<Collection>
<DataSet timestep="0.01" group="" part="0" file="solution-001.vtu"/>
<DataSet timestep="0.0456855" group="" part="0" file="solution-002.vtu"/>
<DataSet timestep="0.0932504" group="" part="0" file="solution-003.vtu"/>
</Collection>
</VTKFile>
There it is possible to put some meta-information to every ".vtu" file,
particularly the timestep. I wrote a small application based on RapidXml
(http://rapidxml.sourceforge.net/), which creates such a ".vpd" file and
for every timestep parses the existing ".pvd" file, adds a DataSet node
and writes it back to the disk. Everything compiles fine and runs well,
but somehow I get an error after some iterations. As my solver runs well
without this, it is not really a deal.ii problem. So my question is
rather: is there another possibility to write out the time information
(and use ParaView)? If not, I would suggest to add it (and would offer
my help for it where possible), as I assume this problem not only occurs
to me?
Best Regards,
Marco
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii