|
[Sponsors] |
[General] Calling .VTK and .VTI fields in Paraview |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 29, 2015, 06:32 |
Calling .VTK and .VTI fields in Paraview
|
#1 |
New Member
X
Join Date: Apr 2015
Posts: 1
Rep Power: 0 |
Heej!
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) or 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, /Xavi |
|
Tags |
fields, input, vtk, vtu |
Thread Tools | Search this Thread |
Display Modes | |
|
|