Hi,
I am working with a vdc file which has multiple time steps. I want to show the evolution of magnetic field lines over time, where the seed points are biased by the vertical field strength.
I tried the following to set the initial time step to 100:
ses = session.Session()
data = ses.OpenDataset(dataset.VDC, [vdc_file])
ses.SetTimestep(100)
But, it looks like the renderers take the time step 0 by default. And when I show the flow renderer, it always plots the field lines with respect to time step 0. If I run the cell for the flow renderer again, it then plots the field line with time step 100 on top of the existing field lines (which came from time step 0). This is shown in the attached image, where the field line on top is the correct (time step 100), while the field line below is coming from time step 0, which should not have been there in the first place!
I have noticed this behaviour with the slice renderer as well. But over there, the image is over-written and it is less problematic.
All the examples in the documentation pertain to single time step data sets. So, may be I am not setting the time step correctly. The SetTimestep
method is not even listed in the documentation for Session
, but shows up only we check for help.
Can you please have a look and share some examples on how to evolve the flow renderer with time (with seed points biased by a variable)?
Please let me know if you need any further information regarding the question. I can share my codes if that helps.
Regards
Avijeet