I'm new to OpenDX and am trying to learn the dx file format. I have my
data in a binary file named BEM.dx.bin and a header file named BEM.dx
(attached to the end of this message). I'm trying to import a wing
object which is a group of two fields: (i) body, (ii) wake. Each field is
a surface grid with cell-centered data. In the header file, I define
objects 1,2,3 and 4,5,6 as the components of the Body and Wake fields.
The Problem: When I import the variable "body", it works fine and I can
render the image. However, when I try to import either "wake" or "wing",
I get the error
ERROR: Import: Invalid data: no objects matched variable list
If I alter the header file to make objects 4,5,6, and "wake" to appear
first before the body-related objects, then I can successfully import the
wake. If I try the same for the wing group, then I get an Import error
saying "bad or missing member object / file".
Can someone help me by pointing out what I'm doing wrong? I'm using
OpenDX v.4.1 on Linux 2.0.36 Debian (potato dist.).
Thanks for your help,
Trevor Wood
AME Dept., Boston University
==================
BEM.dx header file
==================
# Body field
object 1 class array type float rank 1 shape 3 items 170 lsb binary
data file BEM.dx.bin, 4
object 2 class gridconnections counts 17 10
object 3 class array type float rank 1 shape 1 items 144 lsb binary
data file BEM.dx.bin, 2052
attribute "dep" string "connections"
object "body" class field
component "positions" value 1
component "connections" value 2
component "data" value 3
end
# Wake field
object 4 class array type float rank 1 shape 3 items 60 lsb binary
data file BEM.dx.bin, 2636
object 5 class gridconnections counts 6 10
object 6 class array type float rank 1 shape 1 items 45 lsb binary
data file BEM.dx.bin, 3364
attribute "dep" string "connections"
object "wake" class field
component "positions" value 4
component "connections" value 5
component "data" value 6
end
# Wing Group
object "wing" class group
member "body" value "body"
member "wake" value "wake"
end