<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
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.
<div class=""><br class="">
</div>
<div class="">That way if my code crashes after 100 steps, I can resume from that point onwards.</div>
<div class=""><br class="">
</div>
<div class="">So is there a way to save the H5Part timeseries in separate files based on time ?</div>
<div class=""><br class="">
</div>
<div class="">Regards</div>
<div class=""><br class="">
</div>
<div class="">Amit</div>
<div class=""><br class="">
</div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jul 5, 2016, at 6:53 AM, 曹智选 <<a href="mailto:hitcaozx@gmail.com" class="">hitcaozx@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Sorry for late reply. gmail is blocked in China.
<div class=""><br class="">
</div>
<div class="">I write all time steps in one file. Do you have any reason why you want to write data in different files?</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">2016-07-05 5:47 GMT+08:00 Amit Goel <span dir="ltr" class="">
<<a href="mailto:Amit.Goel@ucf.edu" target="_blank" class="">Amit.Goel@ucf.edu</a>></span>:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
yes I have my own code.<br class="">
<br class="">
I wrote the step numbers as 1-10 in first file and then 11-20 in second file and so on.<br class="">
<br class="">
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 ?<br class="">
<br class="">
Is there any other easy way to create h5part file such that:<br class="">
- code writes N steps and then closes the file and starts a new file<br class="">
- write another N steps and then closes the file and starts a new file ?<br class="">
<br class="">
Regards<br class="">
<span class="HOEnZb"><font color="#888888" class=""><br class="">
Amit<br class="">
</font></span>
<div class="HOEnZb">
<div class="h5"><br class="">
<br class="">
> On Jul 2, 2016, at 4:59 PM, Zhixuan Cao <<a href="mailto:hitcaozx@gmail.com" class="">hitcaozx@gmail.com</a>> wrote:<br class="">
><br class="">
> 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?<br class="">
><br class="">
><br class="">
>> On Jul 2, 2016, at 1:28 PM, Amit Goel <<a href="mailto:Amit.Goel@ucf.edu" class="">Amit.Goel@ucf.edu</a>> wrote:<br class="">
>><br class="">
>> Hi<br class="">
>><br class="">
>> I created sim_*.h5part files with 100 steps in each. The step numbers was recorded as 1-100, 101-200….<br class="">
>><br class="">
>> However when I load the files, it doesnt show as a time series.<br class="">
>><br class="">
>> So question is how do I breakup H5Part files on time-steps so they can be visualized by paraview.<br class="">
>><br class="">
>> Regards<br class="">
>><br class="">
>> Amit<br class="">
>> _______________________________________________<br class="">
>> Powered by <a href="http://www.kitware.com/" rel="noreferrer" target="_blank" class="">
www.kitware.com</a><br class="">
>><br class="">
>> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank" class="">
http://www.kitware.com/opensource/opensource.html</a><br class="">
>><br class="">
>> Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank" class="">
http://paraview.org/Wiki/ParaView</a><br class="">
>><br class="">
>> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank" class="">
http://markmail.org/search/?q=ParaView</a><br class="">
>><br class="">
>> Follow this link to subscribe/unsubscribe:<br class="">
>> <a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank" class="">
http://public.kitware.com/mailman/listinfo/paraview</a><br class="">
><br class="">
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>