CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] paraview for meshfree/particle method

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 8, 2012, 09:53
Default paraview for meshfree/particle method
  #1
New Member
 
-xnov-
Join Date: Mar 2009
Posts: 10
Rep Power: 17
xnov is on a distinguished road
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
Code:
<VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian">
 <UnstructuredGrid>
   <Piece NumberOfPoints="3" NumberOfCells="0">
     <Points>
<DataArray name="Position" type="Float32" NumberOfComponents="3" format="ascii">
       0 0 0 1 1 1 0 0 1
       </DataArray>
     </Points>
     <PointData  Vectors="vector">
<DataArray type="Float32" Name="Velocity" NumberOfComponents="3" format="ascii">
       4 4 4 4 0 0 2 2 -2
       </DataArray>
   <DataArray type="Float32" Name="Diameter" format="ascii">
       0.1 0.5 1
       </DataArray>
   <DataArray type="Float32" Name="Temperature" format="ascii">
       273 300 350
       </DataArray>
     </PointData>
     <Cells>
       <DataArray type="Int32" Name="connectivity" format="ascii">
       </DataArray>
       <DataArray type="Int32" Name="offsets" format="ascii">
       </DataArray>
       <DataArray type="UInt8" Name="types" format="ascii">
       </DataArray>
     </Cells>
   </Piece>
 </UnstructuredGrid>
</VTKFile>
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
xnov is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vortex Panel Method Rafaelle55 Main CFD Forum 1 December 17, 2018 10:16
Finite element method ANSYS CFX tomd97 CFX 2 April 4, 2018 04:10
[OpenFOAM] Paraview client/server does not work with ParaView 5.0.1 snak ParaView 0 October 17, 2016 10:22
[General] paraview ignores SPACING in STRUCTURED_POINTS vtk data? jaffar ParaView 0 November 27, 2012 09:36
Help about the preconditioner in gmres method Dan Gao Main CFD Forum 3 July 5, 2008 01:18


All times are GMT -4. The time now is 16:45.