[dune-pdelab] Very large .vtu files

Dominic Kempf dominic.r.kempf at gmail.com
Tue Jul 28 10:31:57 CEST 2015


May not be a high-tech answer, but people usually only write a vtk file in
every nth time step (like every 10th or so). You still see the overall
behaviour, but you save some disk space.

Dominic

On Mon, Jul 27, 2015 at 7:05 PM, <conf86 at web.de> wrote:

> Thank you for your fast answer.
>
> > Are you using ascii-mode to write the files (the default)?  Use
> appendedraw
> > instead, see
> >
> https://www.dune-project.org/doc/doxygen/html/dune-grid_2dune_2grid_2io_2file_2vtk_2common_8hh.html
>
> I use a modification of the course examples and it seems they already use
> appendedraw:
>
>  Dune::SubsamplingVTKWriter<GV> vtkwriter(gv,3);
>  Dune::PDELab::addSolutionToVTKWriter(vtkwriter,gfs,unew);
>  vtkwriter.write(fn.getName(),Dune::VTK::appendedraw);
>  fn.increment();
>
> Best regards
>
> _______________________________________________
> dune-pdelab mailing list
> dune-pdelab at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-pdelab
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20150728/96f12c90/attachment.htm>


More information about the dune-pdelab mailing list