[Paraview] xmdf question, vector and raw binary data

Ricardo Reis rreis at aero.ist.utl.pt
Tue May 22 11:32:20 EDT 2012


Hi David

  After some head banging I've managed to get a xmdf file that works 
exactly with the Function you mention... in Visit. Paraview just suicides 
after I try to do any visualization operation with it.

<Xdmf Version="2.0">

       <DataItem Name="udata"
         ItemType="Uniform"
         Format="Binary"
         Dimensions="368 1110 371" Precision="4" NumberType="float">
         pjet_part_ux_0100.out
       </DataItem>

       <DataItem Name="vdata"
         ItemType="Uniform"
         Format="Binary"
         Dimensions="368 1110 371" Precision="4" NumberType="float">
         pjet_part_uy_0100.out
       </DataItem>

       <DataItem Name="wdata"
         ItemType="Uniform"
         Format="Binary"
         Dimensions="368 1110 371" Precision="4" NumberType="float">
         pjet_part_uz_0100.out
       </DataItem>

   <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="V" AttributeType="Vector" Center="Node">
     <DataItem  Dimensions="368 1110 371 3" ItemType="Function"
         Function="JOIN($0 , $1, $2)">
           <DataItem  Dimensions="368 1110 371" Reference="/Xdmf/DataItem[@Name='udata']" />
           <DataItem  Dimensions="368 1110 371" Reference="/Xdmf/DataItem[@Name='vdata']" />
           <DataItem  Dimensions="368 1110 371" Reference="/Xdmf/DataItem[@Name='wdata']" />
       </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