|
[Sponsors] |
May 8, 2015, 12:30 |
pvpython, using ProbeLocation
|
#1 |
New Member
Join Date: Nov 2012
Posts: 27
Rep Power: 13 |
Hi I'm trying to access to the probe data of a point in a simulation using pvpython.
I run the pitzDaily tutorial in OpenFoam and in Paraview I can see the probe values using the command "probe location", specifying the point coordinate. I'm setting the pvpython script in this way: from paraview.simple import * pitzDaily_foam = OpenFOAMReader( FileName='/home/pyt/pitzDaily/pitzDaily.foam' ) AnimationScene1 = GetAnimationScene() AnimationScene1.EndTime = 817.0 AnimationScene1.PlayMode = 'Snap To TimeSteps' pitzDaily_foam.TimestepValues.GetData() pitzDaily_foam.CellArrays = ['U', 'epsilon', 'k', 'nuTilda', 'nut', 'p'] pitzDaily_foam.LagrangianArrays = [] pitzDaily_foam.MeshRegions = ['internalMesh'] pitzDaily_foam.PointArrays = [] ProbeLocation1 = ProbeLocation( ProbeType="Fixed Radius Point Source" ) ProbeLocation1.ProbeType.Center = [0.2, 0.0, 0.0] From there, I'm not able to extract the information using the command ProbeLocation, what can I do? Thanks in advance, Dmaz |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Paraview Shell and PVPython Mismatch | subhasis | ParaView | 1 | June 1, 2018 06:32 |
[OpenFOAM] Correctly loading my casefiles via pvpython | karma15 | ParaView | 3 | August 18, 2016 09:44 |
[General] Export spreadsheet from pvpython | wgan | ParaView | 0 | June 10, 2016 15:53 |
[General] pvpython can't find numpy | seanread | ParaView | 0 | April 4, 2016 21:40 |
[OpenFOAM] matlab call a pvpython script, ecountering error | dalianwei | ParaView | 0 | July 11, 2015 12:09 |