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

[OpenFOAM] pvpython, using ProbeLocation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 8, 2015, 12:30
Default pvpython, using ProbeLocation
  #1
New Member
 
Join Date: Nov 2012
Posts: 27
Rep Power: 13
dmaz is on a distinguished road
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
dmaz is offline   Reply With Quote

Reply


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
[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


All times are GMT -4. The time now is 15:45.