Adriano

Thank you for this help. I gan get the output file appended at each animation step. I tested it with a string.

But I can't get the integrated value from the Surface Flow filter.

This filter produces an unstructured grid having one cell an one point with two arrays: the first array with name SurfaceFlow is the integrated value that I want, the other array is the vector array that I have integrated. I will try further with the Python help on the Surface Flow filter, but if someone has an idea.

Best regards


Richard

Adriano Gagliardi wrote:
Richard,

I don't thionk you'll need the first programmable filter. The following
should be a start:

vtkUnsData = self.GetInputDataObject(0,0)
fout = open(filename,'a')
#then you can use the write function to write data to file ie
fout.write("%s" % (vtkUnsData.GetPointData().GetTuple1(0))
fout.close()

I've never used Surface Flow so don't know what type of data-set you will be
working with.

Good luck!

Adriano
--
Richard GRENON
ONERA
Departement d'Aerodynamique Appliquee - DAAP/ACI
8 rue des Vertugadins
92190 MEUDON - FRANCE
phone : +33 1 46 73 42 17
fax   : +33 1 46 73 41 46
mailto:[email protected]
http://www.onera.fr

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to