Yeah, my steps go on for several days, so I want to save let us say 100 steps 
in a file (each steps has 100K particles), and then 101-200 steps in next file 
and so on.

That way if my code crashes after 100 steps, I can resume from that point 
onwards.

So is there a way to save the H5Part timeseries in separate files based on time 
?

Regards

Amit

On Jul 5, 2016, at 6:53 AM, 曹智选 <[email protected]<mailto:[email protected]>> 
wrote:

Sorry for late reply. gmail is blocked in China.

I write all time steps in one file. Do you have any reason why you want to 
write data in different files?

2016-07-05 5:47 GMT+08:00 Amit Goel 
<[email protected]<mailto:[email protected]>>:
yes I have my own code.

I wrote the step numbers as 1-10 in first file and then 11-20 in second file 
and so on.

So do I have to create first file with data from 1-10 steps and then second 
file with empty 10 steps and then data for 11-20 steps and so on ?

Is there any other easy way to create h5part file such that:
- code writes N steps and then closes the file and starts a new file
- write another N steps and then closes the file and starts a new file ?

Regards

Amit


> On Jul 2, 2016, at 4:59 PM, Zhixuan Cao 
> <[email protected]<mailto:[email protected]>> wrote:
>
> I guess your .h5part files are not correct. You need write data of each time 
> step into the file. Do you have your own code to write the data?
>
>
>> On Jul 2, 2016, at 1:28 PM, Amit Goel 
>> <[email protected]<mailto:[email protected]>> wrote:
>>
>> Hi
>>
>> I created sim_*.h5part files with 100 steps in each. The step numbers was 
>> recorded as 1-100, 101-200….
>>
>> However when I load the files, it doesnt show as a time series.
>>
>> So question is how do I breakup H5Part files on time-steps so they can be 
>> visualized by paraview.
>>
>> Regards
>>
>> Amit
>> _______________________________________________
>> Powered by www.kitware.com<http://www.kitware.com/>
>>
>> Visit other Kitware open-source projects at 
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at: 
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>



_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to