|
[Sponsors] |
[General] Create 2D visualizations in Paraview |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 9, 2015, 04:21 |
Create 2D visualizations in Paraview
|
#1 |
New Member
Jon Vegard Venås
Join Date: Apr 2014
Posts: 16
Rep Power: 12 |
I want to create vtk files to visualize 2D data. Below is an example of what I want, but opening this vtk file will crash Paraview, what is wrong here?
Code:
<VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian"> <UnstructuredGrid> <Piece NumberOfPoints="6" NumberOfCells="2"> <Points> <DataArray NumberOfComponents="2" type="Float32" format="ascii"> 1 0 2 0 1 1 2 1 2 1 2 2 </DataArray> </Points> <Cells> <DataArray type="Int32" Name="connectivity" format="ascii"> 0 1 2 3 2 3 4 5 </DataArray> <DataArray type="Int32" Name="offsets" format="ascii"> 4 4 </DataArray> <DataArray type="UInt8" Name="types" format="ascii"> 9 9 </DataArray> </Cells> <PointData Scalars="scalars"> <DataArray type="Float32" Name="Scalar field" format="ascii"> -13631.2721976846 -13058.6317510996 -5979.79007645443 -5053.77407136656 -4456.80248759105 6696.34201153212 </DataArray> </PointData> </Piece> </UnstructuredGrid> </VTKFile> |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Two different versions of ParaView with same OpenFOAM release | FJSJ | OpenFOAM Installation | 2 | July 23, 2017 05:48 |
[OpenFOAM] Paraview client/server does not work with ParaView 5.0.1 | snak | ParaView | 0 | October 17, 2016 10:22 |
[stressAnalysis] Failed to create symbolic link: flappingConsoleSmall and unable to use ParaView in it | Maimouna | OpenFOAM CC Toolkits for Fluid-Structure Interaction | 6 | December 10, 2013 06:12 |
Actuator disk model | audrich | FLUENT | 0 | September 21, 2009 07:06 |
Where's the singularity/mesh flaw? | audrich | FLUENT | 3 | August 4, 2009 01:07 |