Thanks for that! I used the cell-to-point filter and it is working perfectly !

pratik
On Wednesday 04 May 2011 06:36 PM, Utkarsh Ayachit wrote:
ParaView only supports volume rendering point data for 3D uniform grid
datasets. You can apply a cell-data-to-point-data filter and the then
volume render.

Utkarsh

On Wed, May 4, 2011 at 8:55 AM, pratik<[email protected]>  wrote:
Greetings,
I loaded a scalar data (defined on a 3d grid) into paraview 3.10.1. When i
try to change "Representation" to "Volume", i get the error:

Cannot volume render since no point (or cell) data available.

But this can't be true since the "Information" tab shows that:

Statistics:
type:Image(Uniform Rectilinear Grid)
Number of Cells: 2048383
Number of Points: 2146689
Memory: 1.6e+02 MB
and the data arrays do show the 2 dataitems that i read in; a scalar data S
and a tensor data Q

hmm..any ideas on why this is happening? Thanks in advance for the help.

pratik

P.S; I'll post part of the XDMF file here:
<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf>
     <Domain Name="NemTens">
         <Grid Name="NemTensTime" GridType="Collection"
CollectionType="Temporal">

             <Grid Name="NemTensValues" GridType="Uniform">
                 <Time Value= "0" />
                     <Topology TopologyType="3DCoRectMesh" Dimensions="128
128 128 9 "/>
                     <Geometry GeometryType="ORIGIN_DXDYDZ">
                             <DataItem DataType="Float" Dimensions="3"
Format="XML">0.0 0.0 0.0</DataItem>
                             <DataItem DataType="Float" Dimensions="3"
Format="XML">0.1 0.1 0.1</DataItem>
                     </Geometry>
                     <Attribute Name="S" Center="Cell" AttributeType="Scalar"
Precision="8">
                         <DataItem Format="HDF" NumberType="Float"
Dimensions="128 128 128" Precision="8">
                             analtest.h5:/S_00000000
                         </DataItem>
                     </Attribute>
                     <Attribute Name="Q" Center="Cell"
AttributeType="Tensor" Precision="8">
                         <DataItem  Format="HDF" NumberType="Float"
Dimensions="128 128 128 9" Precision="8">
                             Q.h5:/Q/Q_00000000
                         </DataItem>
                     </Attribute>
             </Grid>
</Grid>
     </Domain>
</Xdmf>

this is for the first timestep only

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview



_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to