Re: [Paraview] PV 3.10.1 computing vorticity from vector field

2011-06-03 Thread Stephen Wornom

Tim Gallagher wrote:
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.

Correct


How do you extract the surface? Is it a body fitted grid or an 
embedded boundary/levelset to mark it?

The geometry is a body fitted 3D cylinder unstructured mesh.
I have an id array for each vertex. The id at interior points is zero. 
Each boundary vertex has a non-zero value.

I set the id on the cylinder surface vertices  = -3
The extract the boundary like this.
1-extract surface
2-connectivity
3-threshold with id for the cylinder.
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.
I see the cylinder surface and display shows the variables available 
(vorticity is there).
I can see the surface vorticity contours and clearly see where flow 
separation occurs. I would like to see surface streaklines of the vorticity.
When I click on surface flow PV crashes. Maybe I need to transform the 
vorticity vector to r,theta,z coordinates before doing surface flow.

What do you think?
Stephen


Unless of course the surface is looking for cell data and not point 
data, in which case you would skip the second interpolation filter.


Tim


*From: *Stephen Wornom stephen.wor...@inria.fr
*To: *agaglia...@ara.co.uk
*Cc: *ParaView list paraview@paraview.org, Andy Bauer 
andy.ba...@kitware.com, gtg0...@mail.gatech.edu

*Sent: *Thursday, June 2, 2011 3:18:29 PM
*Subject: *Re: [Paraview] PV 3.10.1 computing vorticity from vector field





*From: *Adriano Gagliardi agaglia...@ara.co.uk
*To: *Andy Bauer andy.ba...@kitware.com,
gtg0...@mail.gatech.edu, stephen wornom stephen.wor...@inria.fr
*Cc: *ParaView list paraview@paraview.org
*Sent: *Thursday, June 2, 2011 7:11:36 PM
*Subject: *RE: [Paraview] PV 3.10.1 computing vorticity from
vector field

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.

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?

Hope my quest is clear,
Stephen

===

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

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk

 



*From:* paraview-boun...@paraview.org
[mailto:paraview-boun...@paraview.org] *On Behalf Of *Andy Bauer
*Sent:* 02 June 2011 17:42
*To:* gtg0...@mail.gatech.edu; stephen.wor...@inria.fr
*Cc:* ParaView list
*Subject:* Re: [Paraview] PV 3.10.1 computing vorticity from
vector field

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.

Andy

On Thu, Jun 2, 2011 at 12:29 PM, Tim Gallagher
tim.gallag...@gatech.edu mailto:tim.gallag...@gatech.edu wrote:

The output from the ComputeDerivatives is Cell Data. To do
those things, you want to make it Point Data with another
CellDataToPointData filter.

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.

Tim

- Original Message -
From: Stephen Wornom stephen.wor...@inria.fr
mailto:stephen.wor...@inria.fr
To: gtg0...@mail.gatech.edu mailto:gtg0...@mail.gatech.edu
Cc: ParaView list paraview@paraview.org
mailto:paraview@paraview.org
Sent: Thursday, June 2, 2011 12:26:04 PM
Subject: Re: [Paraview] PV 3.10.1 computing vorticity from
vector field

Tim Gallagher wrote:
 1. If it's cell centered data, apply the CellDataToPointData
filter. If 

Re: [Paraview] Connecting/Disconnecting to pvservers multiple times doesn't work

2011-06-03 Thread Utkarsh Ayachit
I've committed a fix for this. Feel free to give it a try.

Utkarsh

On Fri, Jun 3, 2011 at 9:17 AM, Utkarsh Ayachit
utkarsh.ayac...@kitware.com wrote:
 I was able to reproduce it. I'll track it down, thanks.

 Utkarsh

 2011/5/31 Takuya OSHIMA osh...@eng.niigata-u.ac.jp:
 Yes I am starting pvservers from the server config as attached.

 And now I noticed that I don't have the problem if I start pvservers
 manually from the command line and let the client connect to the
 pvservers.

 Takuya

 Takuya OSHIMA, Ph.D.
 Faculty of Engineering, Niigata University
 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN

 From: Utkarsh Ayachit utkarsh.ayac...@kitware.com
 Subject: Re: [Paraview] Connecting/Disconnecting to pvservers multiple times 
 doesn't work
 Date: Tue, 31 May 2011 08:53:14 -0400

 Interesting, I could not reproduce the problem. Are the server-configs
 that you are trying to connect also staring the pvserver process? Can
 you post the server config you're trying to use? Maybe I can try to
 reproduce the problem with that server config.

 Utkarsh




___
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


[Paraview] Using vtkFileSeriesReader with vtkSpyPlotReader

2011-06-03 Thread Andreyev, Andrey
Hi,

I'm trying to read in a restarted CTH Data set using vtkSpyPlotReader with 
vtkFileSeriesReader. But I cannot figure out how to transfer the information 
from the meta file (*.spcth-timeseries) to the spyplot reader.

a section of my code:

vtkFileSeriesReader* restartReader=vtkFileSeriesReader::New();
vtkSpyPlotReader* cthReader=vtkSpyPlotReader::New();
vtkDummyController* controller=vtkDummyController::New();
cthReader-SetGlobalController(controller);

restartReader-UseMetaFileOn();
restartReader-SetMetaFileName(filename.c_str());

restartReader-SetReader(cthReader);

But the spyplot reader doesn't have the information it needs; so it will not 
let me update the pipeline.

Any suggestions? Thank you in advance.

Andrey Andreyev
Software Engineer
___
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


Re: [Paraview] Using vtkFileSeriesReader with vtkSpyPlotReader

2011-06-03 Thread Robert Maynard
Hi,

The SpyPlotReader already handle file series. The file extension just need
to be a numeric value ie, spcth-a.0,spcth-a.1,spcth-a.2 while the name of
the file start with spct.

On Fri, Jun 3, 2011 at 12:11 PM, Andreyev, Andrey aandre...@hpti.comwrote:

  Hi,

 I'm trying to read in a restarted CTH Data set using vtkSpyPlotReader with
 vtkFileSeriesReader. But I cannot figure out how to transfer the information
 from the meta file (*.spcth-timeseries) to the spyplot reader.

 a section of my code:

 vtkFileSeriesReader* restartReader=vtkFileSeriesReader::New();
 vtkSpyPlotReader* cthReader=vtkSpyPlotReader::New();
 vtkDummyController* controller=vtkDummyController::New();
 cthReader-SetGlobalController(controller);

 restartReader-UseMetaFileOn();
 restartReader-SetMetaFileName(filename.c_str());

 restartReader-SetReader(cthReader);

 But the spyplot reader doesn't have the information it needs; so it will
 not let me update the pipeline.

 Any suggestions? Thank you in advance.

 Andrey Andreyev
 Software Engineer

 ___
 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




-- 
Robert Maynard
___
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


Re: [Paraview] multi-block datasets and line chart

2011-06-03 Thread Utkarsh Ayachit
Paul,

Yes, this is on our 4.0 list.

Utkarsh

On Fri, Jun 3, 2011 at 1:02 PM, Paul Edwards paul.m.edwa...@gmail.com wrote:
 Hi,
 Is there any plan to make the line chart support multiple selection of
 blocks in a multiblock dataset?
 Thanks,
 Paul
 ___
 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


___
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


Re: [Paraview] Curved triangles

2011-06-03 Thread Burlen Loring
If you had used vtk's quadratic cells you could use the tessellate 
filter to show their curvature.


On 06/03/2011 04:16 PM, Ramsharan wrote:

Is there a way to plot/visualize curved triangles in paraview?
This seems essential when using higher order finite elements.
Thanks!


___
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


___
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