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

Paraview data from DescriptiveStatistics

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 16, 2018, 15:04
Default Paraview data from DescriptiveStatistics
  #1
New Member
 
Join Date: Dec 2015
Posts: 2
Rep Power: 0
zackalucard is on a distinguished road
Hello,

In a pvpython script, I would like to extract a value from the DescriptiveStatistics filter. Like 'Minimum' or 'Maximum' for exemple.

To this purpose, I used the servermanager command:

Code:
descriptiveStatistics1 = descriptiveStatistics(Input=clip,ModelInput=None)
descriptiveStatistics1.variablesofInterest = ['T']
r = servermanager.Fetch[descriptiveStatistics1]
T_min = r.GetPointData().GetArray('Minimum').GetValue(0)
But it doesn't work, telling me that the "object has no attribute 'GetPointData' ".
Do you have any idea how can I do that ?

Thank you in advance.
zackalucard is offline   Reply With Quote

Old   March 20, 2018, 07:00
Default
  #2
New Member
 
Join Date: Dec 2015
Posts: 2
Rep Power: 0
zackalucard is on a distinguished road
Someone could help me please ?
zackalucard is offline   Reply With Quote

Reply

Tags
descriptivestatistics, paraview


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
UDF value to large for defined data type Anna73 Fluent UDF and Scheme Programming 9 September 30, 2018 23:18
[General] Paraview data format conversion from vtk to parallel prog data format. odho ParaView 0 September 20, 2016 08:01
Animation of Fluent data with paraview Lilly FLUENT 1 June 26, 2016 17:07
[OpenFOAM] Paraview doesn't seem to be picking up data generated by icofoam MikeHersee ParaView 2 January 6, 2015 09:27
[General] paraview - plotting difference to reference data joewe ParaView 0 August 30, 2010 19:01


All times are GMT -4. The time now is 20:14.