[Paraview] Average Calculation on Slice from Ensight Data

Berk Geveci berk.geveci at kitware.com
Wed Apr 30 13:05:56 EDT 2008


If you divide the integrated value by the area/volume, it should give
you the average. The area/volume should be in the output of the
Integrate Variable filter.
There is no writer for unstructured data that can be used to write
something Matlab or Excel would read. However, you can write your
field data using the python filter very easily. Here is an example
that prints an array to the output:

inp = self.GetInputDataObject(0, 0)
array = inp.GetPointData().GetArray("RTData")
for i in range(array.GetNumberOfTuples()):
	print array.GetTuple1(i)

-berk

On Wed, Apr 30, 2008 at 10:33 AM,  <merluza at gmx.net> wrote:
> Hi all
>
>  I am relatively new to CFD postprocessing and use Paraview as the main tool to visualize CFD data (generated by Fluent). The results were exported from Fluent in the EnsightGold format. Reading this data into Paraview is easy and robust.
>
>  I wanted to calculate the average / mean value of a slice. To display the data of this slice is no problem at all (e.g. temperature distribution). I want to determine the average temperature on that slice (or the median), and the standard distribution. The median filter is shaded in grey and not selectable, however. Is there any way how to calculate the average in a simle way?
>
>  When I used the Integrator to integrate all temperature values, and divided manually by the number of cells or points, no sensible result was yielded.
>
>  Is it also possible to export the temperature values of that slice in an easy way to Matlab or Excel?
>
>  I am grateful for any help. Thanks!! Maurice
>
>
>  --
>  GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
>  Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
>  _______________________________________________
>  ParaView mailing list
>  ParaView at paraview.org
>  http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list