Hi Tim,

Thanks very much for the hint. 

I have tried both approaches.

1. Amendmenting of my Xdmf and HDF5 files using "Node" data as the input. 

2. Applying CellDataToPointData filter first as ParaView reads in "Cell" data.

Unfortunately, in either way, I could not have the Contour and Streamline 
filters working.

I wonder do I still miss some key ingredient?

Li



Date: Wed, 23 Dec 2015 18:52:33 -0500
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [Paraview] Xdmf format and the contour plot

Apply a CellDataToPointData filter after you load your dataset and before you 
try to use the contour or stream line filters. They both require node-based 
data but you are providing cell-centered data.

Tim

From: "wide li" <[email protected]>
To: [email protected]
Sent: Wednesday, December 23, 2015 6:22:20 PM
Subject: [Paraview] Xdmf format and the contour plot




Hi there,

I have a basic question about the contour and stream line plots in ParaView. 

When I load my Xdmf file to the ParaView, neither of the contour nor streamline 
filters does function. 

I wonder WHY it is so and HOW I can solve this problem. At the moment, I really 
have no clue at all. The ParaView (5.0.0-RC1) is compiled and installed on Mac 
(El Capitan). In ccmake, I switched on 

PARAVIEW_BUILD_QT_GUI                 ON                                        
   
PARAVIEW_ENABLE_CATALYST         ON                                           
PARAVIEW_ENABLE_FFMPEG            ON                                           
PARAVIEW_ENABLE_PYTHON            ON 
PARAVIEW_USE_MPI                           ON
VTK_USE_LARGE_DATA                      ON.


Chosen by ParaView itself, all Modules are not activated except, 

Module_vtkWrappingPythonCore     ON.


Thanks very much in advance.

Li


PS. Here is my Xdmf file:

<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf Version="2.0">
 <Domain>
   <Grid Name="mesh" GridType="Uniform">
     <Topology TopologyType="3DSMesh" NumberOfElements="14 17 33"/>
     <Geometry GeometryType="X_Y_Z">
       <DataItem Dimensions="14 17 33" NumberType="Float" Precision="8" 
Format="HDF">
        ./../DATA/Coords.h5:/X
       </DataItem>
       <DataItem Dimensions="14 17 33" NumberType="Float" Precision="8" 
Format="HDF">
        ./../DATA/Coords.h5:/Y
       </DataItem>
       <DataItem Dimensions="14 17 33" NumberType="Float" Precision="8" 
Format="HDF">
        ./../DATA/Coords.h5:/Z
       </DataItem>
     </Geometry>
     <Attribute Name="B" AttributeType="Vector" Center="Cell">
       <DataItem Dimensions="13 16 32 3" Function="JOIN($0, $1, $2)" 
ItemType="Function">
     <DataItem Dimensions="13 16 32" NumberType="Float" Precision="4" 
Format="HDF">
           ./../DATA/Field0.h5:/Br
     </DataItem>
     <DataItem Dimensions="13 16 32" NumberType="Float" Precision="4" 
Format="HDF">
           ./../DATA/Field0.h5:/Bt
     </DataItem>
     <DataItem Dimensions="13 16 32" NumberType="Float" Precision="4" 
Format="HDF">
           ./../DATA/Field0.h5:/Bp
     </DataItem>
       </DataItem>
     </Attribute>
   </Grid>
 </Domain>
</Xdmf>
                                          

_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to