<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>This is outside of what I usually do, so I may not be much help. But once you have the vorticity at all verticies, that should include the verticies on the cylinder surface. <br><br>How do you extract the surface? Is it a body fitted grid or an embedded boundary/levelset to mark it? I would assume if you extract the surface in the pipeline downstream of the derivatives and interpolation filters, all of the variables would be available on the surface. <br><br>Unless of course the surface is looking for cell data and not point data, in which case you would skip the second interpolation filter. <br><br>Tim<br><br><hr id="zwchr"><b>From: </b>"Stephen Wornom" <stephen.wornom@inria.fr><br><b>To: </b>agagliardi@ara.co.uk<br><b>Cc: </b>"ParaView list" <paraview@paraview.org>, "Andy Bauer" <andy.bauer@kitware.com>, gtg085x@mail.gatech.edu<br><b>Sent: </b>Thursday, June 2, 2011 3:18:29 PM<br><b>Subject: </b>Re: [Paraview] PV 3.10.1 computing vorticity from vector field<br><br><style>p { margin: 0; }</style><div style="font-family: Times New Roman; font-size: 12pt; color: #000000"><br><br><hr id="zwchr"><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><b>From: </b>"Adriano Gagliardi" <agagliardi@ara.co.uk><br><b>To: </b>"Andy Bauer" <andy.bauer@kitware.com>, gtg085x@mail.gatech.edu, "stephen wornom" <stephen.wornom@inria.fr><br><b>Cc: </b>"ParaView list" <paraview@paraview.org><br><b>Sent: </b>Thursday, June 2, 2011 7:11:36 PM<br><b>Subject: </b>RE: [Paraview] PV 3.10.1 computing vorticity from vector field<br><br>
<div><span class="828030617-02062011"><font id="DWT197" size="2" color="#0000ff" face="Arial">On
this subject, it should also be possible to use the Python Calculator to perform
this function. Create a vector, U and obtain the curl of it by using: curl(U). I
think your version of Python must have numpy available,
though.</font></span></div></blockquote>I tried both the suggestion of Time and Andy, both worked well. Now that I have the vorticity at all the vertices. What must I do to obtain the surface flow (vorticity) and surface vectors? The solution is for the Navier-Stokes equations for flow over a cylinder. I know how to extract the surface of the cylinder but how do I tell PV to use the vorticity and not the velocity field?<br>Hope my quest is clear,<br>Stephen<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div><span class="828030617-02062011"><font size="2" color="#0000ff" face="Arial"></font></span></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> </div><br>
<div class="OutlookMessageHeader" dir="ltr" lang="en-us" align="left">
<hr>
<font size="2" face="Tahoma"><b>From:</b> paraview-bounces@paraview.org
[mailto:paraview-bounces@paraview.org] <b>On Behalf Of </b>Andy
Bauer<br><b>Sent:</b> 02 June 2011 17:42<br><b>To:</b> gtg085x@mail.gatech.edu;
stephen.wornom@inria.fr<br><b>Cc:</b> ParaView list<br><b>Subject:</b> Re:
[Paraview] PV 3.10.1 computing vorticity from vector field<br></font><br></div>
<div></div>For computing vorticity, depending on the grid type you can also use
the Gradient of Unstructured Datasets filter. There is an option to
compute vorticity for 3 component arrays (i.e. velocity). It
works on both point data and cell data and the output will be the same type of
field data. I'm about to change this filter so that it will work with all
types of VTK grids.<br><br>Andy<br><br>
<div class="gmail_quote">On Thu, Jun 2, 2011 at 12:29 PM, Tim Gallagher <span dir="ltr"><<a href="mailto:tim.gallagher@gatech.edu" target="_blank">tim.gallagher@gatech.edu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="padding-left: 1ex; margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);">The
output from the ComputeDerivatives is Cell Data. To do those things, you want
to make it Point Data with another CellDataToPointData filter.<br><br>The
calculator would see it if you changed it from point data to cell data. But
since you want to do other stuff with it, add the interpolation filter again
and then it will appear with the rest of your point data.<br>
<div class="im"><br>Tim<br><br>----- Original Message -----<br>From: "Stephen
Wornom" <<a href="mailto:stephen.wornom@inria.fr" target="_blank">stephen.wornom@inria.fr</a>><br></div>
<div>
<div></div>
<div class="h5">To: <a href="mailto:gtg085x@mail.gatech.edu" target="_blank">gtg085x@mail.gatech.edu</a><br>Cc:
"ParaView list" <<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>><br>Sent:
Thursday, June 2, 2011 12:26:04 PM<br>Subject: Re: [Paraview] PV 3.10.1
computing vorticity from vector field<br><br>Tim Gallagher wrote:<br>> 1.
If it's cell centered data, apply the CellDataToPointData filter. If it's
point data, skip this step<br>> 2. Apply the ComputeDerivatives filter.
Choose your velocity vector as the Vectors argument, set the Output Vector
Type to Vorticity. I usually also set Output Tensor Type to nothing unless you
need it.<br>> 3. Hit apply.<br>><br>Works correctly but what must I do
to:<br>1 make a vector or contour plot<br>2 tracer plot or vorticity lines
(like streamlines) plot?<br>The choice for these is only the velocity field
that I read.<br>Calculator does not see the vorticity vector that was
created.<br>Thanks for you help,<br>Stephen<br>> Tim<br>><br>> -----
Original Message -----<br>> From: "Stephen Wornom" <<a href="mailto:stephen.wornom@inria.fr" target="_blank">stephen.wornom@inria.fr</a>><br>>
To: <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>>
Sent: Wednesday, June 1, 2011 10:55:12 AM<br>> Subject: [Paraview] PV
3.10.1 computing vorticity from vector field<br>><br>> What are the
steps to compute the vorticity vector from the velocity vector?<br>>
Stephen<br>><br>><br><br><br>--<br><a href="mailto:stephen.wornom@inria.fr" target="_blank">stephen.wornom@inria.fr</a><br>2004
route des lucioles - BP93<br>Sophia Antipolis<br>06902 CEDEX<br><br>Tel: 04 92
38 50 54<br>Fax: 04 97 15 53
51<br><br><br></div></div>_______________________________________________<br>Powered
by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source
projects at <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: <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>Powered
by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source
projects at <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: <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></blockquote></div><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>
</blockquote><br></div></div></body></html>