[dune-fem] Fwd: Re: VTK output, data prefix and such

Claus-Justus Heine Claus-Justus.Heine at ians.uni-stuttgart.de
Tue Jul 2 22:50:43 CEST 2013


Yeah, already did this. It seems to work. There is no need whatsoever to
change dune-grid, of course. Your vtkio.hh file even contained sample
code about how to compute the basename in C++ ;)

Best,

Claus

On 02.07.2013 22:37, Dedner, Andreas wrote:
> Everything happens in
> dune-fem-git/dune/fem/io/file/dataoutput.hh : 800
> The filename used is the one returned by the writeVTKOutput().
> The problem now is this filename is generated by the VTKWritter in dune-grid
> called in dune/fem/io/file/vtkio.hh : 321.
> In this dune-grid part the s*-p* is added which you need but the returned string contains
> the path + s*-p* + prefix. So you would have to take that returned string and subtract the path
> again (since we can not change the behaviour in dune-grid - that would be quite a significant
> change...), I'm fine with anything in this respect - would perhaps keep the series files so that
> here the full path name is available for postprocessing but from my point of view any change in
> the pvd file is fine.
> Best
> Andreas
>  
> 
> ________________________________________
> From: dune-fem-bounces+a.s.dedner=warwick.ac.uk at dune-project.org [dune-fem-bounces+a.s.dedner=warwick.ac.uk at dune-project.org] on behalf of Claus-Justus Heine [Claus-Justus.Heine at IANS.Uni-Stuttgart.DE]
> Sent: 02 July 2013 19:23
> To: dune-fem at dune-project.org
> Subject: [dune-fem] Fwd: Re:  VTK output, data prefix and such
> 
> Ok, if we keep the .pvd file, then it should probably only store the
> base-name of the data files. As also the .pvtu files only contain the
> base-name of the .vtu files, it should be possible for me to find out
> how to do this. Does any of the native Dunicans see a problem in storing
> only the base-name in the .pvd files?
> 
> And yes: I would like to have the real time available in Paraview.
> 
> Thanks Claus
> 
> 
> -------- Original-Nachricht --------
> Betreff:        Re: [dune-fem] VTK output, data prefix and such
> Datum:  Tue, 2 Jul 2013 17:26:13 +0000
> Von:    Dedner, Andreas <A.S.Dedner at warwick.ac.uk>
> Antwort an:     Dedner, Andreas <A.S.Dedner at warwick.ac.uk>
> An:     Claus-Justus.Heine at IANS.Uni-Stuttgart.DE
> <Claus-Justus.Heine at IANS.Uni-Stuttgart.DE>
> 
> 
> 
> The series files have nothing to do with paraview afaik.  One does
> perhaps need the pvd files after all for the real time information -  I
> haven't needed that lately since the snapshots were enough for what I've
> been doing.
> Andreas
> 
> Claus-Justus Heine <Claus-Justus.Heine at IANS.Uni-Stuttgart.DE> wrote:
> Am 02.07.13 19:05, schrieb Robert Kloefkorn:
>>
>>>> I'm also in favor of removing the pvd files. Are they still needed?
>>>
>>> At least on OSX with PV 4.0.1
>>
>> Ok, then I change my question: Who needs Mac OS? :-D
> 
> ... I will retry at home, using a decent operating system ;)
> 
> Only I fear this will not help in this case. The time-information is
> also contained in that ".series" file. Is paraview supposed to read that
> file? Andreas previous post was suggesting that this should be the case.
> 
> 
> 
> --
> Dr. Claus-Justus Heine
> Institut für Angewandte Analysis und Simulation
> * Numerische Mathematik für Höchstleistungsrechner
> Universität Stuttgart
> 
> Fon: +49 (0) 711 - 685 65558
> Fax: +49 (0) 711 - 685 65507
> 
> _______________________________________________
> dune-fem mailing list
> dune-fem at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-fem
> 
> 
> 
> _______________________________________________
> dune-fem mailing list
> dune-fem at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-fem
> 
> 
> _______________________________________________
> dune-fem mailing list
> dune-fem at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-fem
> 


-- 
Dr. Claus-Justus Heine
Institut für Angewandte Analysis und Simulation
* Numerische Mathematik für Höchstleistungsrechner
Universität Stuttgart

Fon: +49 (0) 711 - 685 65558
Fax: +49 (0) 711 - 685 65507




More information about the dune-fem mailing list