Animation with moving plane

4 posts / 0 new
Last post
tonyinme
Animation with moving plane

I wanted to know if it is possible to:

Create an animation with a moving probe.
I am interested in moving a probe along the x axis for a single snapshot in time of my simulation.

So far I've been able to move my domain using the keyframing capabilities.
Now I would like to change my opacity and move the probe in the visualization.

Thanks,
Tony

alan

Tony, moving the probe in an animation is currently not supported, although this is a feature that we would like to support in a future release.  Currently it should be possible to get this effect (in a very awkward way) by creating a derived variable in Python.  For example if you want to animate a probe of the variable U, you could create a derived variable UU(x,y,z)  that at time step T is equal to the variable U(x+T,y,z).  This is a hack but it might help with your immediate problem.   Have a look at the Python guide (http://www.vapor.ucar.edu/sites/default/files/releases/VaporPythonGuide_...) and in particular the vapor module, to create a variable such as UU.

Animating the opacity is also not supported, but is something we would like to support in a future release.

-Alan

tonyinme

Hey Alan,

Thanks for your reply.

It would seem that doing that would give problems at the boundary of the domain?
I tried to play with it but with no success.

I did an image capture and moved the plane manually.
That way it got recorded by capturing jpegs avery time I changed the plane.
Not the most elegant way of doing it, but it gave decent results.
Same thing for the opacity but it isnt as smooth.

I look forward to these capabilities beeing added in the future!

Thanks,

Tony

alan

Tony,

Sorry, yes there will be problems at the edge of the region, unless you reduce the current region so that it still fits inside the data volume when displaced by X.  In any case I realize this is a hack and not the right way to solve your problem.  I hope we can enable moving probes, etc. soon.

-Alan