How to create only one big output file with VTKRecorder?

Asked by Klaus Thoeni on 2011-11-24

Hi guys,

is there a way to just create one output file with the VTKRecorder which includes all the data of all steps? Usually for each iterPeriod-step an output file is created and so I end up with thousands of files. It would be handy to have just one big file. Maybe it's not supported by paraview either. Any idea?

Thanks,

Klaus

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Klaus Thoeni
Solved:
2011-11-29
Last query:
2011-11-29
Last reply:
2011-11-24
Jan Stránský (honzik) said : #1

A workaround could be creating separate directory for each simulation (e.g.
unique names from O.tags['id']) and saving all vtk files to this directory.
Jsn

2011/11/24 Klaus Thoeni <email address hidden>

> New question #179811 on Yade:
> https://answers.launchpad.net/yade/+question/179811
>
> Hi guys,
>
> is there a way to just create one output file with the VTKRecorder which
> includes all the data of all steps? Usually for each iterPeriod-step an
> output file is created and so I end up with thousands of files. It would be
> handy to have just one big file. Maybe it's not supported by paraview
> either. Any idea?
>
> Thanks,
>
> Klaus
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Klaus Thoeni (klaus.thoeni) said : #2

Thanks Jan,

that's exactly what I am doing already. The point is that I have to copy the
files at some stage and it makes a huges difference in time copying 10000 files
each 1MB or one file with 10GB. If there is no other way probably the best
option is to create one compressed archive after the simulation is finished
(which probably takes a lot of time as well). Any other suggestions?

Klaus

On Fri, 25 Nov 2011 01:41:10 AM Jan Stránský wrote:
> Question #179811 on Yade changed:
> https://answers.launchpad.net/yade/+question/179811
>
> Status: Open => Answered
>
> Jan Stránský proposed the following answer:
> A workaround could be creating separate directory for each simulation (e.g.
> unique names from O.tags['id']) and saving all vtk files to this directory.
> Jsn
>
> 2011/11/24 Klaus Thoeni <email address hidden>
>
> > New question #179811 on Yade:
> > https://answers.launchpad.net/yade/+question/179811
> >
> > Hi guys,
> >
> > is there a way to just create one output file with the VTKRecorder which
> > includes all the data of all steps? Usually for each iterPeriod-step an
> > output file is created and so I end up with thousands of files. It would
> > be handy to have just one big file. Maybe it's not supported by paraview
> > either. Any idea?
> >
> > Thanks,
> >
> > Klaus
> >
> > --
> > You received this question notification because you are a member of
> > yade-users, which is an answer contact for Yade.
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~yade-users
> > Post to : <email address hidden>
> > Unsubscribe : https://launchpad.net/~yade-users
> > More help : https://help.launchpad.net/ListHelp

Klaus Thoeni (klaus.thoeni) said : #3

Well, I think it's not possible. This answers at least my question.