I'm a new user to data explorer so bear with me.

I'm using dx to visualize my CFD data.  The data comes from the program FLUENT 
which has the ability to export the data files to native dx format.  I know 
that 
FLUENT uses a unstructured format (positions with connections) whether or not 
the grid is rectangular (rectangles/hexahedrals) or triangular 
(triangles/tetrahedrals).

What I want to do is to able to extract the data for a particular field (eg. 
temperature) along a 1D line.  Eventually what I'm trying to do is make 2D plot 
of the variable along this 1D line vs it's position along this line. 

When I use the slice it complains because the data is not regular (I already 
know this).  How would I accomplish this?

Thanks in advance for any replies, Chris


Ps - The following is my data file that FLUENT creates for dx.  The ellipses 
represent all the data in between.

# Title: "Fluent export"
                                                                                
# Positions
object 1 class array type float rank 1 shape 2 items 47965 data follows
 0.00000e+00  1.04000e+00
 0.00000e+00  1.03950e+00

...

 1.03967e+00 -8.67361e-18
 1.04000e+00  0.00000e+00
                                                                                
# Connectivity
object 2 class array type int rank 1 shape 4 items 47520 data follows
1 0 2 3
3 4 2 5

...

47963 47962 47782 47781
47783 47964 47782 47963
attribute "ref" string "positions"
attribute "element type" string "quads"
                                                                                
# Velocities
object 3 class array type float rank 1 shape 2 items 47965 data follows
   2.72150e-01  0.00000e+00
   5.44300e-01  0.00000e+00

...   

   0.00000e+00  0.00000e+00
   8.57188e-02  2.48084e-03
attribute "dep" string "positions"
                                                                                
object "velocity-field" class field
component "positions" value 1
component "connections" value 2
component "data" value 3
                                                                                
# total-temperature
object 4 class array type float rank 0 items 47965 data follows
                                                                                
  2.88000e+02  2.88000e+02  2.88000e+02  2.88000e+02  2.88000e+02
  2.88000e+02  2.88000e+02  2.88000e+02  2.88000e+02  2.88000e+02

...

  3.05805e+02  3.05795e+02  3.05788e+02  3.05784e+02  3.05784e+02
  3.05788e+02  3.05799e+02  3.05817e+02  3.05848e+02  3.05867e+02
attribute "dep" string "positions"
                                                                                
object "total-temperature-field" class field
component "positions" value 1
component "connections" value 2
component "data" value 4
                                                                                
# Group of data arrays
object "fluidgroup" class group
  member "velocity" value "velocity-field"
  member "total-temperature" value "total-temperature-field"
end

Reply via email to