CFD Online Logo CFD Online URL
Home > Forums > ParaView

Save VTK-LINES file with attributes for filter "Tube"

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

LinkBack Thread Tools Display Modes
Old   December 4, 2013, 06:43
Default Save VTK-LINES file with attributes for filter "Tube"
New Member
Join Date: Dec 2013
Posts: 1
Rep Power: 0
PietroG is on a distinguished road
Good morning to everyone,

I have a set of curves with different radius. I would like to save these curves as "VTK LINES" with the radius as attribute so that when paraview loads the file it uses automatically the filter Tube with the correct radius saved in the VTK file.

My problem is that I do not know how to "tell" Paraview to load automatically the filter TUBE with a certain radius.

Does anyone know the answer?

Thank you in advance!

PietroG is offline   Reply With Quote

Old   December 25, 2013, 12:09
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,123
Blog Entries: 39
Rep Power: 110
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Greetings PietroG and welcome to the forum!

Mmm... the filters usually are not applied automatically when a file is loaded. The only way to do so would be to rely on a "state" file, namely the ones with the extension "*.pvsm". And this would require the original VTK file to always have the same name.
In other words, you need to open at least once the VTK file in ParaView, then apply manually the filter Tubes and configure it accordingly to your needs. Then from the menu, choose "File -> Save State".

The only other possibility I can think of relies on a macro/Python script. Here's a nice example: post #14

Best regards,
wyldckat is offline   Reply With Quote


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
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 16:02
Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit OpenFOAM Paraview & paraFoam 60 September 18, 2013 03:23
2.0.x on Mac OSX niklas OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 74 March 28, 2012 16:46
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 05:16
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00

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