CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

"plot over line" of .vtk-format in Paraview

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 11, 2019, 07:24
Default "plot over line" of .vtk-format in Paraview
  #1
New Member
 
philip lu
Join Date: Aug 2019
Posts: 13
Rep Power: 2
philiplu is on a distinguished road
Hello,

by OF, a set of sampling data was generated in .vtk-format:

data-"type" like that of paraView's "Plot over Line", i.e.
gauge_1
{
............
start (0.02 0.20 0.005);
end (0.02 0.25 0.005);;
............

gauge_2
{
............
start (0.2 0.03 0.005);
end (0.2 0.55 0.005);
............

data-storage: in diverse folders, each folder refers 1 time-step and has 2 gauge-files e.g.
gauge_1_alpha.water.vtk
gauge_2_alpha.water.vtk


my question is:
does someone know how to open and visualize a single file in ParaView?
and
if ParaView can open and visualize them in batch-wise, especially when time-steps are too many? (I did open them in ParaView, but got some trouble to visualize them)



many thanks in advance


here, 1 example of a single .vtk-file:
------------------------------------------------------------------
# vtk DataFile Version 2.0
gauge_1
ASCII
DATASET POLYDATA
POINTS 5 double
0.02 0.201142 0.005
0.02 0.213904 0.005
0.02 0.226666 0.005
0.02 0.239428 0.005
0.02 0.25219 0.005
POINT_DATA 5
FIELD attributes 1
alpha.water 1 5 float
0.999991 0.999922 0.999324 0.933144 0.519512
------------------------------------------------------------------
philiplu is offline   Reply With Quote

Old   September 16, 2019, 00:48
Default
  #2
New Member
 
Damian Berghof
Join Date: May 2019
Posts: 10
Rep Power: 6
virengos will become famous soon enough
Hi,
one possible way to easily visualize the points from your VTK file is by using the "Point Gaussian", see my screenshot!
best,
Damian
__________________
Get more support about Meshing with Salome and Visualization with ParaView in my growing groups
https://bit.ly/2lFfDkQ
https://bit.ly/2k2u8Pj
virengos is offline   Reply With Quote

Old   Yesterday, 21:14
Default thank you, virengos
  #3
New Member
 
philip lu
Join Date: Aug 2019
Posts: 13
Rep Power: 2
philiplu is on a distinguished road
Hello, virengos,

thank you indeed for the reply.


regards
philiplu is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
[General] Calling .VTK and .VTI fields in Paraview Xavi7 ParaView 0 April 29, 2015 05:32
[OpenFOAM] could not open file .vtk in paraview ali_atrian ParaView 8 August 27, 2014 10:31
PS (or EPS) format from ParaView ternik OpenFOAM 4 October 4, 2009 13:47
[General] Paraview file format for collocated grid hadian ParaView 0 February 13, 2008 09:55
[General] paraview format Gunilla ParaView 3 December 25, 2005 22:16


All times are GMT -4. The time now is 04:01.