[Paraview] XDMF data set not showing, or crashes

Jon Goldman goldman at stellarscience.com
Tue Feb 8 20:43:55 EST 2011


To followup a bit, attached are two images of the issue I am seeing.

The two-lobe rendering (from another package) is correct.
The single lobe that is rendered with ParaView is incorrect.

And if somebody would be kind enough to download the sample data and 
verify what I am seeing:

http://pages.swcp.com/~goldman/data/farfield/farfield.xmf.zip 
<http://pages.swcp.com/%7Egoldman/data/farfield/farfield.xmf.zip>

And/or if anybody knowledgeable on the xdmf or paraview source code can 
suggest an area of the code to look at, I can dig in to figure out 
what's going on.

thanks,
Jon

On 1/27/2011 11:03 AM, Eric E. Monson wrote:
> Hey Jon,
>
> I've never tried to use VxVyVz type geometry before, but I wonder 
> whether it's some sort of problem with you trying to specify polar 
> coordinates when it's expecting XYZ? You might want to play with a 
> smaller sample file that just uses light data first, and then if you 
> get that working you can make sure the same sort of arrays exist in 
> your HDF5 file. Here's a sample that I modified from one of the 
> standard Xdmf example data files (and which loads in ParaView 3.8.1 
> fine on my machine):
>
> <?xml version="1.0" ?>
> <!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
> <Xdmf xmlns:xi="http://www.w3.org/2001/XInclude" Version="2.0">
> <Domain>
> <Information Name="Description">
>             Example of a 2DRectMesh Topology with VxVy Geometry
> </Information>
> <Grid Name="2DRectMesh" GridType="Uniform">
> <Topology TopologyType="2DRectMesh"
>                 Dimensions="4 3">
> </Topology>
> <Geometry Type="VXVY">
> <!-- VX -->
> <DataItem Format="XML" Dimensions="4">
>                 0.0 1.0 2.0 4.0
> </DataItem>
> <!-- VY -->
> <DataItem Format="XML" Dimensions="3">
>                 0.0 1.0 3.0
> </DataItem>
> </Geometry>
> <Attribute Name="Node Centered Values" Center="Node">
> <DataItem Format="XML" Dimensions="4 3">
>                 100 200 300 400
>                 500 600 700 800
>                 900 1000 1100 1200
> </DataItem>
> </Attribute>
> <Attribute Name="Cell Centered Values" Center="Cell">
> <DataItem Format="XML" Dimensions="3 2">
>                 100 200 300
>                 400 500 600
> </DataItem>
> </Attribute>
> </Grid>
> </Domain>
> </Xdmf>
>
> Good luck,
> -Eric
>
> ------------------------------------------------------
> Eric E Monson
> Duke Visualization Technology Group
>
>
> On Jan 27, 2011, at 11:04 AM, Jon Goldman wrote:
>
>> Hi,
>>
>> We have a 2D Uniform grid data set in XDMF format that we are trying 
>> to visualize with ParaView. The data is stored in a 1MB HDF5 data 
>> set. The (light) meta xdmf file is attached to this email.
>>
>> I am seeing some problems when trying to load the data-- usually 
>> ParaView either crashes, or the data does not show. I have tried the 
>> PV 3.8.1 Windows binaries as well as building ParaView from source 
>> that I pulled a few days ago from the git://paraview.org/ParaView.git 
>> repository.
>>
>> After loading the data and hitting Apply, the 3D render window will 
>> be empty. What I've noticed is that the Y-range of the Bounds will 
>> sometimes be extremely large. For example here is a snapshot from the 
>> Information tab:
>>
>> <moz-screenshot-4.png>
>> Are these known issues with ParaView?
>>
>> Or perhaps the data is mal-formed, I am new to XDMF, so it'd help to know if there is an error in the .xmf file.
>>
>> HDF5 tools like HDFView and h5dump don't report any anomalies on the HDF5 file that goes with the heavy data.
>>
>> thanks
>> -- 
>> *Jon Goldman*
>> <farfield.xmf>_______________________________________________
>> Powered by www.kitware.com <http://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
>


-- 
*Jon Goldman*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110208/ead67fce/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rendering showing 1 lobe - incorrect.jpg
Type: image/jpeg
Size: 25099 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110208/ead67fce/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rendering showing 2 lobes.jpg
Type: image/jpeg
Size: 24251 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110208/ead67fce/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5882 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110208/ead67fce/attachment-0001.bin>


More information about the ParaView mailing list