[Paraview] xmdf question, vector and raw binary data

Ricardo Reis rreis at aero.ist.utl.pt
Tue May 22 09:55:43 EDT 2012


  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: kyriusan at gmail.com  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 -


More information about the ParaView mailing list