Hi,

I was wondering if someone might offer me a few hints as to how I might
use opendx to animate my data.  I currently have header files in ".dx"
format which describe the data to opendx.  Each one is named something
like data001aa.dx referencing a file data001aa.  (Sorry, the output is
from a time dependent mhd calculation and the file numbers increase with
time evolution.)

A while back Chris Pelkie suggested using an additional file which would
contain a series referencing each data file (excerpt included below)
though I believe that this might have been in a different context.  I had
thought that if I constructed a similar file and imported it that I could
take the output and pass it to a select module together with the output
of a sequencer and that the result would be one of the members.

Then if I could extract the filename I could pass that to an import and so
on as if I were visualizing a single data file.  Is this a viable
approach?

Any hints on how to extract the filename and time or pointers to the
appropriate documentation?

Thanks a lot,

Tom



------------------------------------------------------------------------
Another trick worth knowing is that you can create a series header file
with nothing but the member references (essentially file pointers). Thus,
you can have say 1000 time step files, (probably in the same directory, but
not absolutely required), then one series file (.dx). For example,
series.dx might be:
object "my_series" class series
member 0 position x.x file time001.dx
member 1 position x.x file time002.dx
....

where x.x is some arbitrary position value of your specification (could be
the real time for example). The nice part is you can easily write a csh
script or something to auto-create this series file given start, end,
increment of the time steps, so you can easily create alternates, like
every 10th time step for testing purposes (the member numbers must be
continuous starting at 0 in all series, however, but the file names
associated with each member name may differ).
--------------------------------------------------------------------------

Reply via email to