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

[General] Save VTK-LINES file with attributes for filter "Tube"

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 4, 2013, 06:43
Default Save VTK-LINES file with attributes for filter "Tube"
  #1
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
PietroG is offline   Reply With Quote

Old   December 25, 2013, 12:09
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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: http://www.cfd-online.com/Forums/ope...tml#post449046 post #14

Best regards,
Bruno
wyldckat 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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 02:22
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 18:18
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 12:32
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 04:23
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 05:11.