|
[Sponsors] |
July 21, 2017, 05:47 |
Getting data into pvpython.
|
#1 |
New Member
Didrick Kruse
Join Date: Jul 2017
Posts: 1
Rep Power: 0 |
Hi I am trying to take a vtk mesh, and getting the area for each part as I move over the array. I have gotten this far with my script but I can't find a way to reliable get data out to pvpython when I change the position of my Clipbox.
I am new to Paraview and have read most of what I can find about this on the internet. Code:
from paraview.simple import * svtf=OpenDataFile('surface.vtk') clip=Clip(Input=svtf) clip.ClipType = "Box" clip.ClipType.Scale = [0.1,1,1] clip.InsideOut=1 areaint=IntegrateVariables(clip) |
|
Tags |
pvpython |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Paraview doesn't seem to be picking up data generated by icofoam | MikeHersee | ParaView | 2 | January 6, 2015 09:27 |
Data Produced From Fine Marine Cant Match with The Experimental Data | PeiSan | Fidelity CFD | 4 | August 23, 2014 06:33 |
Problem running in parralel | Val | OpenFOAM Running, Solving & CFD | 1 | June 12, 2014 03:47 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 11:52 |
How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 18:27 |