This is very possible. The general array import makes things a little messier, but possible. If you bring in all of your data as separate fields that are position dependent (i as a vector and bc_type as a scalar or int) then you can use Include to select only those that you need. For example, bring in all of your data with a bc_type as well.

a = Import("all data")
b = Select(a, "bc_type")
c = Include(b, min=7, max=7, cull=0)

Now c contains a new "invalid positions" that makes DX use only the positions that are valid for rendering. You now need to put these "invalid positions" on the other fields.

d = Replace(a, c, "invalid positions", "invalid positions")

Our book will help you understand the data model further and can explain how separate fields differ from separate components.

David

Hi David,

The boundary conditions are described for each direction separately. For
example, there may be an i-surfice at i=64, j=1 to 12 and k=23 to 74,
with normal = -1 and boundary conditions type 7:

i-surfaces  imin imax jmin jmax kmin kmax normal bc_type
   ....
     7       64   64    1   12   23   74    -1      7
8 1 1 1 49 1 128 1 2 ....

where i-surfaces is just a sequential bc_surface tag. I would like to be
able to tag the surface points with both i-surface and with bc_type
property tags. The reason I need this is that I have 1/8 of the grid for
an axial-symetric problem. Now I need to restore the full grid along
with the boundary conditions. Because I am at the beginning of the work
I am trying to foresee some usual problems with generation of a grid and
to build a tool that will make debugging of this process easier.

Thanks,
Ted
--
.............................................................................
David L. Thompson                   Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED]    5515 Skyway Drive, Missoula, MT 59804
                                    Phone : (406)257-8530

Reply via email to