CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

pvpython, using ProbeLocation

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 8, 2015, 12:30
Default pvpython, using ProbeLocation
  #1
New Member
 
Join Date: Nov 2012
Posts: 26
Rep Power: 4
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
pvpython rendering and focus filexaura ParaView 0 May 6, 2015 05:27
Pvpython ubuntu deb package maero21 OpenFOAM Paraview & paraFoam 3 January 26, 2014 08:55
setting up pvpython to act like parafoam jonathanbyrn OpenFOAM Paraview & paraFoam 1 September 26, 2013 09:42
problem with pvpython when loading state involving Plot Over Lines hadrien51 ParaView 1 October 17, 2012 11:18


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