<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.6000.17092" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=484023714-14042011>Forwarding this to the mailing 
list...</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV><!-- Converted from text/plain format -->
<P><FONT size=2>===================================<BR><BR>Adriano Gagliardi 
MEng PhD<BR>Business Sector Leader<BR>Computational Aerodynamics<BR>Aircraft 
Research Association Ltd.<BR>Manton Lane<BR>Bedford<BR><BR>Tel: 01234 32 
4644<BR>E-mail: agagliardi@ara.co.uk<BR>Url: www.ara.co.uk </FONT></P>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Anowarul Islam 
[mailto:anwar0165@gmail.com] <BR><B>Sent:</B> 14 April 2011 15:32<BR><B>To:</B> 
agagliardi@ara.co.uk<BR><B>Subject:</B> Re: [Paraview] Calculating Surface 
area<BR></FONT><BR></DIV>
<DIV></DIV>Hello,<BR><BR>Thanks for your reply.Actually paraview crashes when I 
do integrate variables.And I don't know how to use python scripting in 
paraview.So if you give me the script and tell me how to run it, that would be 
great.I found area of the triangles by using python calculator.I wrote in the 
expression box : area(input[0]) and select cell type data.After that it gives me 
some number beside every cell.As I sum all the results (which i beleive the area 
of my triangles) I got the result which is very close to my expectation.Is 
area(input[0]) expression giving me the area of all the triangles? or what?I 
found this expression in wikipedia I guess.Thank you a lot.I think&nbsp; for 
people like you paraview is getting popular day by day.<BR><BR>
<DIV class=gmail_quote>On Thu, Apr 14, 2011 at 3:35 AM, Adriano Gagliardi <SPAN 
dir=ltr>&lt;<A 
href="mailto:agagliardi@ara.co.uk">agagliardi@ara.co.uk</A>&gt;</SPAN> 
wrote:<BR>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><BR>I'm 
  pretty sure you can use a Python programmable filter to do this. If 
  you<BR>check the doxygen for vtkTriangle, there should be a member function 
  that<BR>returns the area of a specific triangle. Otherwise, the area of a 
  triangle<BR>is calculated as follows:<BR><BR>// &nbsp; &nbsp; 2<BR>// &nbsp; 
  &nbsp;/ \ &nbsp; &nbsp;v1 = (pt1-pt0)<BR>// &nbsp; / &nbsp; \ &nbsp; v2 = 
  (pt2-pt0)<BR>// &nbsp;0-----1 &nbsp;area = 0.5*mag( v1 x v2 )<BR><BR>You can 
  write a quick script that does this for each face.<BR><BR>If I get time later 
  today, I can supply a script as 
  well.<BR><BR>Cheers,<BR><BR>Adriano<BR><BR>===================================<BR><BR>Adriano 
  Gagliardi MEng PhD<BR>Business Sector Leader<BR>Computational 
  Aerodynamics<BR>Aircraft Research Association Ltd.<BR>Manton 
  Lane<BR>Bedford<BR><BR>Tel: 01234 32 4644<BR>E-mail: <A 
  href="mailto:agagliardi@ara.co.uk">agagliardi@ara.co.uk</A><BR>Url: <A 
  href="http://www.ara.co.uk" target=_blank>www.ara.co.uk</A><BR>
  <DIV>
  <DIV></DIV>
  <DIV class=h5>-----Original Message-----<BR>From: <A 
  href="mailto:paraview-bounces@paraview.org">paraview-bounces@paraview.org</A> 
  [mailto:<A 
  href="mailto:paraview-bounces@paraview.org">paraview-bounces@paraview.org</A>]<BR>On 
  Behalf Of Ivo Roghair<BR>Sent: 14 April 2011 08:29<BR>To: Anowarul 
  Islam<BR>Cc: <A 
  href="mailto:paraview@paraview.org">paraview@paraview.org</A><BR>Subject: Re: 
  [Paraview] Calculating Surface area<BR><BR>Perhaps you could try the Mesh 
  Quality filter on the Delauny2D you created,<BR>then the Cell Data To Point 
  Data, finally the Integrate Variables (look for<BR>the 'Quality' as the result 
  of this function).<BR><BR>2011/4/12 Anowarul Islam &lt;<A 
  href="mailto:anwar0165@gmail.com">anwar0165@gmail.com</A>&gt;:<BR>&gt; 
  Hello,<BR>&gt;<BR>&gt; I have created a surface using the delaunay2d 
  filters.After creating<BR>&gt; the surface I use smooth filter for surface 
  smoothing.Now I want to<BR>&gt; find the surface area created by paraview.How 
  can it be possible?I am<BR>&gt; trying to use the integrate variables but I am 
  not sure about this<BR>&gt; filter because when I select this filter paraview 
  crashes.Or is there<BR>&gt; any way I can get the area of the triangles of my 
  delauny<BR>&gt; filters?Cause if I go to the delaunay filter and change 
  table<BR>&gt; attribute to cell it shows the cell ID and highlights only 
  that<BR>&gt; triangle in the model but it doesn't show the area of the 
  triangle.I am<BR>pretty new in paraview.Could you please help?<BR>&gt;<BR>&gt; 
  Anwar<BR>&gt;<BR>&gt;<BR>&gt; 
  _______________________________________________<BR>&gt; Powered by <A 
  href="http://www.kitware.com" 
  target=_blank>www.kitware.com</A><BR>&gt;<BR>&gt; Visit other Kitware 
  open-source projects at<BR>&gt; <A 
  href="http://www.kitware.com/opensource/opensource.html" 
  target=_blank>http://www.kitware.com/opensource/opensource.html</A><BR>&gt;<BR>&gt; 
  Please keep messages on-topic and check the ParaView Wiki at:<BR>&gt; <A 
  href="http://paraview.org/Wiki/ParaView" 
  target=_blank>http://paraview.org/Wiki/ParaView</A><BR>&gt;<BR>&gt; Follow 
  this link to subscribe/unsubscribe:<BR>&gt; <A 
  href="http://www.paraview.org/mailman/listinfo/paraview" 
  target=_blank>http://www.paraview.org/mailman/listinfo/paraview</A><BR>&gt;<BR>&gt;<BR>_______________________________________________<BR>Powered 
  by <A href="http://www.kitware.com" 
  target=_blank>www.kitware.com</A><BR><BR>Visit other Kitware open-source 
  projects at<BR><A href="http://www.kitware.com/opensource/opensource.html" 
  target=_blank>http://www.kitware.com/opensource/opensource.html</A><BR><BR>Please 
  keep messages on-topic and check the ParaView Wiki at:<BR><A 
  href="http://paraview.org/Wiki/ParaView" 
  target=_blank>http://paraview.org/Wiki/ParaView</A><BR><BR>Follow this link to 
  subscribe/unsubscribe:<BR><A 
  href="http://www.paraview.org/mailman/listinfo/paraview" 
  target=_blank>http://www.paraview.org/mailman/listinfo/paraview</A><BR><BR><BR></DIV></DIV>**********************************************************************<BR>This 
  email contains information that is private and confidential and is intended 
  only for the addressee.<BR>If you are not the intended recipient please delete 
  it and notify us immediately by e-mailing the sender.<BR>Note: All email sent 
  to or from this address may be accessed by someone other than the recipient, 
  for<BR>system management and security reasons.<BR>Aircraft Research 
  Association Ltd. &nbsp;Registered in England, Registration No 503668 
  Registered Office:<BR>Manton Lane, Bedford MK41 7PF England VAT No GB 
  196351245<BR><BR>**********************************************************************<BR></BLOCKQUOTE></DIV><BR><BR 
clear=all><BR>-- <BR>Anwar<BR><BR><BR><BR><p>**********************************************************************<br />This email contains information that is private and confidential and is intended only for the addressee.<br />If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.<br />Note: All email sent to or from this address may be accessed by someone other than the recipient, for<br />system management and security reasons.<br />Aircraft Research Association Ltd.  Registered in England, Registration No 503668 Registered Office:<br />Manton Lane, Bedford MK41 7PF England VAT No GB 196351245</p><p>**********************************************************************</p>
</BODY></HTML>