Hi,
I try to add a time averaged field to the XDMF reader of a temporal collection.
I done something like in the example below.
That work not to bad there is just a problem: for example looking at the value on the surface the field surface will not be collored property according to the color legend.
But the iso-surface will work and  be colored properly.
Please is somebody known where can come from this problem and how to fix it?
Cheers,
G

<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf  xmlns:xi="http://www.w3.org/2001/XInclude";  Version="2.0">
<Domain>
    <Topology  name="topo"  TopologyType="3DCoRectMesh"
        Dimensions="100 500 500">
    </Topology>
    <Geometry  name="geo"  Type="ORIGIN_DXDYDZ">
        <!-- Origin -->
        <DataItem  Format="XML"  Dimensions="3">
        0.0 0.0 0.0
        </DataItem>
        <!-- DxDyDz -->
        <DataItem  Format="XML"  Dimensions="3">
        1.0 1.0 1.0
        </DataItem>
    </Geometry>
<Grid Name="Avg" GridType="Uniform">
            <Topology  Reference="/Xdmf/Domain/Topology[1]"/>
            <Geometry  Reference="/Xdmf/Domain/Geometry[1]"/>
            <Attribute  Name="UfAvg"  Center="Node">
<DataItem Format="Binary" DataType="Float" Precision="4" Endian="Big"
                 Dimensions="100 500 500">
                    UfAvg.bin
                </DataItem>
            </Attribute>
    </Grid>

    <Grid  Name="TimeSeries"  GridType="Collection"  CollectionType="Temporal">
        <Time  TimeType="HyperSlab">
            <DataItem  Format="XML"  NumberType="Float"  Dimensions="3">
            0.0 1.0 2
            </DataItem>
        </Time>
<Grid Name="T1" GridType="Uniform">
            <Topology  Reference="/Xdmf/Domain/Topology[1]"/>
            <Geometry  Reference="/Xdmf/Domain/Geometry[1]"/>
            <Attribute  Name="CLOUDf"  Center="Node">
<DataItem Format="Binary" DataType="Float" Precision="4" Endian="Big"
                 Dimensions="100 500 500">
                    CLOUDf01.bin
                </DataItem>
            </Attribute>
            <Attribute  Name="Pf"  Center="Node">
<DataItem Format="Binary" DataType="Float" Precision="4" Endian="Big"
                 Dimensions="100 500 500">
                    Pf01.bin
                </DataItem>
            </Attribute>
            <Attribute  Name="TCf"  Center="Node">
<DataItem Format="Binary" DataType="Float" Precision="4" Endian="Big"
                 Dimensions="100 500 500">
                    TCf01.bin
                </DataItem>
            </Attribute>
            <Attribute  Name="Uf"  Center="Node">
<DataItem Format="Binary" DataType="Float" Precision="4" Endian="Big"
                 Dimensions="100 500 500">
                    Uf01.bin
                </DataItem>
            </Attribute>
            <Attribute  Name="Vf"  Center="Node">
<DataItem Format="Binary" DataType="Float" Precision="4" Endian="Big"
                 Dimensions="100 500 500">
                    Vf01.bin
                </DataItem>
            </Attribute>
            <Attribute  Name="Wf"  Center="Node">
<DataItem Format="Binary" DataType="Float" Precision="4" Endian="Big"
                 Dimensions="100 500 500">
                    Wf01.bin
                </DataItem>
            </Attribute>
        </Grid>
<Grid Name="T2" GridType="Uniform">
            <Topology  Reference="/Xdmf/Domain/Topology[1]"/>
            <Geometry  Reference="/Xdmf/Domain/Geometry[1]"/>
            <Attribute  Name="CLOUDf"  Center="Node">
<DataItem Format="Binary" DataType="Float" Precision="4" Endian="Big"
                 Dimensions="100 500 500">
                    CLOUDf02.bin
                </DataItem>
            </Attribute>
            <Attribute  Name="Pf"  Center="Node">
<DataItem Format="Binary" DataType="Float" Precision="4" Endian="Big"
                 Dimensions="100 500 500">
                    Pf02.bin
                </DataItem>
            </Attribute>
            <Attribute  Name="TCf"  Center="Node">
<DataItem Format="Binary" DataType="Float" Precision="4" Endian="Big"
                 Dimensions="100 500 500">
                    TCf02.bin
                </DataItem>
            </Attribute>
            <Attribute  Name="Uf"  Center="Node">
<DataItem Format="Binary" DataType="Float" Precision="4" Endian="Big"
                 Dimensions="100 500 500">
                    Uf02.bin
                </DataItem>
            </Attribute>
            <Attribute  Name="Vf"  Center="Node">
<DataItem Format="Binary" DataType="Float" Precision="4" Endian="Big"
                 Dimensions="100 500 500">
                    Vf02.bin
                </DataItem>
            </Attribute>
            <Attribute  Name="Wf"  Center="Node">
<DataItem Format="Binary" DataType="Float" Precision="4" Endian="Big"
                 Dimensions="100 500 500">
                    Wf02.bin
                </DataItem>
            </Attribute>
        </Grid>
</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

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

Reply via email to