CFD Online Logo CFD Online URL
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] Calling .VTK and .VTI fields in Paraview

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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2015, 06:32
Default Calling .VTK and .VTI fields in Paraview
New Member
Join Date: Apr 2015
Posts: 1
Rep Power: 0
Xavi7 is on a distinguished road

I use Paraview to visualize Elmer Multiphysics ouput (.vtu). I want to operate between results in different Time Steps.

I normally load a file and use the calculator (Filters/Data Analysis/Calculator) to perform operation between the different scalars/vectors in the same Time Step. It works smoothly.

Now I wanted to perform operations using scalars/vectors between different Time Steps.

One way to do it is:
- Load TimeSteps separately in Paraview so they are independent (different input files).
- Select both of them and apply the Pyhton Calculator (Filters/Alphabetical/Pyhton Calculator).
- Write the calculation you want to perform:

With .vtk files it works this way
inputs[0].CellData("temperature")-inputs[1].CellData("temperature") (select Array Association Cell Data)
inputs[0].PointData("temperature")-inputs[1].PointData("temperature") (select Array Association Point Data)

With .vtu files I am not able to access to the data from the input files.

Have someone faced this problem?

Thanks in advance,

Xavi7 is offline   Reply With Quote


fields, input, vtk, vtu

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

All times are GMT -4. The time now is 02:07.