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

[OpenFOAM] Cubic Line Cell not showing in Paraview?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 6, 2012, 09:32
Default Cubic Line Cell not showing in Paraview?
  #1
New Member
 
Join Date: Mar 2011
Posts: 2
Rep Power: 0
Woggy is on a distinguished road
Hey.

I'm trying to get a cubic line cell (ID = 35) to show up in Paraview. Its not CFD related but I'm sure someone here could help me out.

Here is the VTK file ... it just wont show up! I dont get an error message or anything. Any ideas?

Code:
# vtk DataFile Version 2.0
Unstructured Grid Example
ASCII
DATASET UNSTRUCTURED_GRID

POINTS 4 float
0 0 0
1 0 0
0.333333 0 0
0.666667 0 0

CELLS 1 5
4 0 1 2 3

CELL_TYPES 1
35

POINT_DATA 4
VECTORS translation float
0 0 0 
2.22031e-016 -0.333333 0 
0 -0.154622 0
0 -0.271159 0

VECTORS appliedForces float
0 0 0
0 -1 0
0.0 0.0 0.0
0.0 0.0 0.0

VECTORS reactionForces float
1.39403e-020 1 0 
-1.39403e-020 -1.77636e-015 0 
0.0 0.0 0.0
0.0 0.0 0.0
Edit: Sorry guys, I should have posted this in the general Paraview fourm.

Last edited by Woggy; December 6, 2012 at 17:41.
Woggy is offline   Reply With Quote

Old   December 8, 2012, 22:45
Default
  #2
New Member
 
Join Date: Mar 2011
Posts: 2
Rep Power: 0
Woggy is on a distinguished road
Gee, figured it out :/

For anyone reading this with the same problem, you need a tessellate filter to render the cubic line correctly.

This didn't occur to me at first because a QuadraticEdge cell renders (as two straight lines) without the need for a tessellate filter.

Hope that helps someone.
Woggy is offline   Reply With Quote

Reply

Tags
cubic line cell, paraview


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
[Gmsh] 3D Mesh conversion from gmsh-2.5.0 to OpenFOAM Ancioi OpenFOAM Meshing & Mesh Conversion 17 January 9, 2019 00:50
[OpenFOAM] could not open file .vtk in paraview ali_atrian ParaView 8 August 27, 2014 11:31
[General] 2 datas on one plot Akuji ParaView 46 December 1, 2013 15:06
Problems of Duns Codes! Martin J Main CFD Forum 8 August 15, 2003 00:19
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


All times are GMT -4. The time now is 21:58.