CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ParaView

paraview for meshfree/particle method

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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: 7
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie: Install ParaView 3.81 on OF-1.6-ext/OpenSuse 11.2? lentschi OpenFOAM Installation 1 March 9, 2011 02:32
Paraview not found fusij OpenFOAM Installation 2 January 1, 2011 20:44
Help about the preconditioner in gmres method Dan Gao Main CFD Forum 3 July 5, 2008 01:18
Animating Lagrangian Particles in ParaView xiao OpenFOAM Paraview & paraFoam 4 April 8, 2008 02:24
ParaView patch visualisation error in Development version philippose OpenFOAM Paraview & paraFoam 17 March 26, 2007 06:45


All times are GMT -4. The time now is 22:26.