CFD Online Discussion Forums

CFD Online Discussion Forums (
-   ParaView (
-   -   paraview for meshfree/particle method (

xnov December 8, 2012 10:53

paraview for meshfree/particle method
Hi all,
I'm new in paraview and i'm trying to plot my meshfree simulation using paraview, but i'm confused how to set up the input data. There is an example i found somewhere in internet as in the following code

<VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian">
  <Piece NumberOfPoints="3" NumberOfCells="0">
<DataArray name="Position" type="Float32" NumberOfComponents="3" format="ascii">
      0 0 0 1 1 1 0 0 1
    <PointData  Vectors="vector">
<DataArray type="Float32" Name="Velocity" NumberOfComponents="3" format="ascii">
      4 4 4 4 0 0 2 2 -2
  <DataArray type="Float32" Name="Diameter" format="ascii">
      0.1 0.5 1
  <DataArray type="Float32" Name="Temperature" format="ascii">
      273 300 350
      <DataArray type="Int32" Name="connectivity" format="ascii">
      <DataArray type="Int32" Name="offsets" format="ascii">
      <DataArray type="UInt8" Name="types" format="ascii">

However I'm not sure it is correct one or not. is there someone can verify it is the right format? do i need to fill the Cell type=1 (VTK_VERTEX) ? is there any suggestion or better example for me?

thanks a lot

All times are GMT -4. The time now is 07:12.