I think the JOIN function is supposed to allow that: From:http://www.xdmf.org/index.php/XDMF_Model_and_Format See: <DataItem ItemType="Function" Function="JOIN($0 , $1, $2)"> <DataItem Reference="/Xdmf/DataItem[1]" /> <DataItem Reference="/Xdmf/DataItem[2]" /> <DataItem Reference="/Xdmf/DataItem[3]" /> </DataItem>
But I had trouble using that when I tried long ago and resorted to using the calculator filter to do the corresponding thing after the read. (field1*iHat+field2*jHat+field3*kHat). David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, May 22, 2012 at 9:55 AM, Ricardo Reis <[email protected]> wrote: > > Hi all > > I'm trying to write a xmdf file to see a vector field. I have each vector > component in a separated binary file. I'm using the xmdf file bellow but I'm > unable to make it work. Does anyone has sugestions, please? > > <Xdmf Version="2.0"> > <Domain> > <Grid Name="pjet" GridType="Uniform" CollectionType="Spatial"> > > <Topology TopologyType="3DCoRectMesh" Dimensions="368 1110 371"/> > > <Geometry Name="geo" GeometryType="ORIGIN_DXDYDZ"> > <DataItem Dimensions="3 " NumberType="Float" Precision="4" > Format="XML"> > 9.99516 -6.00361 0. > </DataItem> > <DataItem Dimensions="3 " NumberType="Float" Precision="4" > Format="XML"> > 0.10817E-01 0.10817E-01 0.10817E-01 > </DataItem> > </Geometry> > > <Attribute Name="u" AttributeType="Scalar" Center="Node"> > <DataItem > ItemType="Uniform" > Format="Binary" > Dimensions="368 1110 371" Precision="4" NumberType="float"> > pjet_part_ux_0100.out > </DataItem> > </Attribute> > > <Attribute Name="V" AttributeType="Vector" Center="Node"> > <DataItem Name="u" > ItemType="Uniform" > Format="Binary" > Dimensions="368 1110 371" Precision="4" NumberType="float"> > pjet_part_ux_0100.out > </DataItem> > <DataItem Name="v" > ItemType="Uniform" > Format="Binary" > Dimensions="368 1110 371" Precision="4" NumberType="float"> > pjet_part_uy_0100.out > </DataItem> > <DataItem Name="w" > ItemType="Uniform" > Format="Binary" > Dimensions="368 1110 371" Precision="4" NumberType="float"> > pjet_part_uz_0100.out > </DataItem> > > </Attribute> > > </Grid> > </Domain> > </Xdmf> > > > > > > Ricardo Reis > > 'Non Serviam' > > PhD/MSc Mechanical Engineering | Lic. Aerospace Engineering > > Computational Fluid Dynamics, High Performance Computing, Turbulence > http://www.lasef.ist.utl.pt > > Cultural Instigator @ Rádio Zero > http://www.radiozero.pt > > http://www.flickr.com/photos/rreis/ > > contacts: gtalk: [email protected] skype: kyriusan > > Institutional Address: > > Ricardo J.N. dos Reis > IDMEC, Instituto Superior Técnico, Technical University of Lisbon > Av. Rovisco Pais > 1049-001 Lisboa > Portugal > > - email sent with alpine 2.00 - > _______________________________________________ > 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
