>> >> 2) Is there a way to create a compressed rectilinear (Cartesian) grid?
>> >> I would like to be able to just specify 3 1-D arrays for each edge of my 
>> >> 3D
>> >>  cartesian grid, and then create something that looks like a 3D dataset 
>> >> but
>> >> where x(:,j/=1,k/=1) points to x(:,1,1).

> Since the grid
> transformation to map from computational space (a Cartesian grid with unity
> spacing between elements) to physical space is so simple, rather than
> storing the grid as large three dimensional data sets (one 3D data set for
> x, y, and z each)  over millions of points, we can simply store the grid as
> 1D array data sets (again one for x, y, and z).

To the best of my knowledge, HDF has no native understanding of a grid
(structured or otherwise).  Assembling semantic understanding about
the contents of your HDF files is up to your simulation and
visualization software.  Quincey, please correct me if I am wrong.

I would be very, very surprised if Tecplot cannot product a 3D
rectilinear grid from the outer product of three 1D arrays.  It's
probably just hidden in one of their myriad unusable interface
dialogs.  You might try asking in a Tecplot or CFD forum.

Using Xdmf's "3DRectMesh" with the "VXVYVZ" option should work for you
(http://www.xdmf.org/index.php/XDMF_Model_and_Format).  Both Paraview
and VisIt will accept Xdmf.  No idea if Tecplot does.  Paraview is not
amazingly robust in the presence of errors in your Xdmf description so
have patience if you choose to try.  I have successfully visualized a
nontrivial 3D rectilinear CFD field in this manner using Paraview
(though I don't have my sample Xdmf handy).

Best of luck,
Rhys

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to