Stephen,

By averaging, are you trying to compute the lift/drag forces? If so, do the
following:

1) Generate Surface Normals (requires vtkPolyData as input, so you may have
to use Extract Surface first)
2) Multiply it by your pressure variable using the Calculator.
3) You can then integrate up using Integrate Variables to get the pressure
force in the x, y, and z directions (this includes the face area).

If you are doing this for a 2D line, make sure to do items 1) and 2) first
before taking your slice and applying 3). 

Cheers,

Adriano

===================================

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: [email protected]
Url: www.ara.co.uk 
-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Stephen Wornom
Sent: 16 June 2010 17:08
To: [email protected]
Subject: [Paraview] PV 3.8.0 averaging variables along multiple span lines

I have a cylindrical mesh and would like to average the variables in the
z-direction (span direction) for each x,y value (or theta=constant).
Can this be done in ParaView 3.8.0?
Hope my question is clear,
Stephen
p.s.
Presently I do a slice in the z-direction followed by a "plot over sorted
lines" to get the surface pressure coefficient.

--
[email protected]
2004 route des lucioles - BP93
Sophia Antipolis
06902 CEDEX
                
Tel: 04 92 38 50 54
Fax: 04 97 15 53 51



**********************************************************************
This email contains information that is private and confidential and is 
intended only for the addressee.
If you are not the intended recipient please delete it and notify us 
immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other 
than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 
503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**********************************************************************
_______________________________________________
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