[Paraview] PV 3.10.1 integration over a surface

2011-06-19 Thread Stephen Wornom
How does one compute the integral of P Normal ds ? 
where Normal is the surface normal vector 

click on integrate variables computes the integral of P ds 
I would like 
Fx = integral of P nx ds 
where nx ds is the surface area normal to the x-direction. 
Hope my question is clear. 
Stephen 
p.s. 
The surface in question is a cylinder 
___
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] PV 3.10.1 integration over a surface

2011-06-19 Thread Andy Bauer
One way is to use the calculator filter to multiply the pressure by the
normal to get force per unit area on the cylinder.  Then you can use the
integrate variables filter to get the total force on it.

If you don't have normals on your cylinder, you can use the generate surface
normals filter but that only works for polydata.  The extract surface should
get you from any other data set to the polydata you want.

Andy

On Sun, Jun 19, 2011 at 4:01 AM, Stephen Wornom stephen.wor...@inria.frwrote:

 How does one compute the integral of P Normal ds ?
 where Normal is the surface normal vector

 click on integrate variables computes the integral of P ds
 I would like
 Fx = integral of P nx ds
 where nx ds is the surface area normal to the x-direction.
 Hope my question is clear.
 Stephen
 p.s.
 The surface in question is a cylinder

 ___
 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


[Paraview] FW: Coloured isosurfaces when running MPI

2011-06-19 Thread Philipp Schlatter
Dear forum,

I am using Paraview to visualise a large dataset coming from a direct
simulation of turbulence (size of the original data of order 10-100GB).
Naturally, I am running in parallel on a cluster (using the mesa), which
also works very well. 

However, there is one issue: I want to visualise isosurfaces of a quantity,
and colour them using another scalar quantity. When running serial,
everything is fine. When using multiple processors with MPI leading to the
data being distributed, the rendering of the isosurfaces is still ok.
However, the colouring seems to be based on the scalar field of the first
data segment (i.e. the first processor) only. This then leads to very
visible boundaries between the processors as the colours are clearly not
correct (see example on
http://www.mech.kth.se/~pschlatt/files/resampled.jpg). Again, running on a
single processor everything is correct, and running on different numbers of
processors will shift the edges.

This issue could be confirmed in all version up to 3.10.

Due to this, I am required to run in serial, which is very painful both due
to memory requirements and very long rendering times (up to 15 minutes for a
single frame). Thus, if there would be a simple fix, I'd be very interested.

Thanks a lot in advance for any hint. 
Best regards,
Philipp Schlatter
KTH Mechanics, Stockholm, Sweden

___
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] PV 3.10.1 integration over a surface

2011-06-19 Thread Stephen Wornom

Andy Bauer wrote:
One way is to use the calculator filter to multiply the pressure by 
the normal to get force per unit area on the cylinder.  Then you can 
use the integrate variables filter to get the total force on it. 

If you don't have normals on your cylinder, you can use the generate 
surface normals filter but that only works for polydata.  The extract 
surface should get you from any other data set to the polydata you want.

I have cell normals (vector) next I do
cell data to point data
extract surface
when I do calculator, the cell normal vector is not in the list. How do 
I get the cell normal vector in the calculator list?

Thanks for your help,
Stephen


Andy

On Sun, Jun 19, 2011 at 4:01 AM, Stephen Wornom 
stephen.wor...@inria.fr mailto:stephen.wor...@inria.fr wrote:


How does one compute the integral of P Normal ds ?
where Normal is the surface normal vector

click on integrate variables computes the integral of P ds
I would like
Fx = integral of P nx ds
where nx ds is the surface area normal to the x-direction.
Hope my question is clear.
Stephen
p.s.
The surface in question is a cylinder

___
Powered by www.kitware.com http://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





--
stephen.wor...@inria.fr
2004 route des lucioles - BP93
Sophia Antipolis
06902 CEDEX

Tel: 04 92 38 50 54
Fax: 04 97 15 53 51

attachment: stephen_wornom.vcf___
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] PV 3.10.1 integration over a surface

2011-06-19 Thread Andy Bauer
I think the cell normals that you have are generated for visualization and
not really part of your data set that's directly outputted from your
filter.  So when you do cell data to point data you still don't have the
normals in there.

Did you try using the extract surface and generate surface normals filters?

On Sun, Jun 19, 2011 at 12:52 PM, Stephen Wornom stephen.wor...@inria.frwrote:

 Andy Bauer wrote:

 One way is to use the calculator filter to multiply the pressure by the
 normal to get force per unit area on the cylinder.  Then you can use the
 integrate variables filter to get the total force on it.
 If you don't have normals on your cylinder, you can use the generate
 surface normals filter but that only works for polydata.  The extract
 surface should get you from any other data set to the polydata you want.

 I have cell normals (vector) next I do
 cell data to point data
 extract surface
 when I do calculator, the cell normal vector is not in the list. How do I
 get the cell normal vector in the calculator list?
 Thanks for your help,
 Stephen


 Andy

 On Sun, Jun 19, 2011 at 4:01 AM, Stephen Wornom 
 stephen.wor...@inria.frmailto:
 stephen.wornom@inria.**fr stephen.wor...@inria.fr wrote:

How does one compute the integral of P Normal ds ?
where Normal is the surface normal vector

click on integrate variables computes the integral of P ds
I would like
Fx = integral of P nx ds
where nx ds is the surface area normal to the x-direction.
Hope my question is clear.
Stephen
p.s.
The surface in question is a cylinder

__**_
Powered by www.kitware.com http://www.kitware.com

Visit other Kitware open-source projects at

 http://www.kitware.com/**opensource/opensource.htmlhttp://www.kitware.com/opensource/opensource.html

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

Follow this link to subscribe/unsubscribe:

 http://www.paraview.org/**mailman/listinfo/paraviewhttp://www.paraview.org/mailman/listinfo/paraview




 --
 stephen.wor...@inria.fr
 2004 route des lucioles - BP93
 Sophia Antipolis
 06902 CEDEX

 Tel: 04 92 38 50 54
 Fax: 04 97 15 53 51


___
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] PV 3.10.1 integration over a surface

2011-06-19 Thread Jérôme
Hi,
my understanding is that when you used CellDataToPointData filter, the cell
data are removed and thus they don't appear in the Calculator. The
CellDataToPointData filter has a Pass Cell Data option that will keep the
original data in the pipeline.
However, I didn't understand from where you got your normals: are they
generated from Generate Surface Normals filter or outside ParaView? When
you load your data, do you see the CellData array in the information tab of
your data?

Best regards,
Jerome

2011/6/19 Andy Bauer andy.ba...@kitware.com

 I think the cell normals that you have are generated for visualization and
 not really part of your data set that's directly outputted from your
 filter.  So when you do cell data to point data you still don't have the
 normals in there.

 Did you try using the extract surface and generate surface normals filters?


 On Sun, Jun 19, 2011 at 12:52 PM, Stephen Wornom 
 stephen.wor...@inria.frwrote:

 Andy Bauer wrote:

 One way is to use the calculator filter to multiply the pressure by the
 normal to get force per unit area on the cylinder.  Then you can use the
 integrate variables filter to get the total force on it.
 If you don't have normals on your cylinder, you can use the generate
 surface normals filter but that only works for polydata.  The extract
 surface should get you from any other data set to the polydata you want.

 I have cell normals (vector) next I do
 cell data to point data
 extract surface
 when I do calculator, the cell normal vector is not in the list. How do I
 get the cell normal vector in the calculator list?
 Thanks for your help,
 Stephen


 Andy

 On Sun, Jun 19, 2011 at 4:01 AM, Stephen Wornom 
 stephen.wor...@inria.frmailto:
 stephen.wornom@inria.**fr stephen.wor...@inria.fr wrote:

How does one compute the integral of P Normal ds ?
where Normal is the surface normal vector

click on integrate variables computes the integral of P ds
I would like
Fx = integral of P nx ds
where nx ds is the surface area normal to the x-direction.
Hope my question is clear.
Stephen
p.s.
The surface in question is a cylinder

__**_
Powered by www.kitware.com http://www.kitware.com

Visit other Kitware open-source projects at

 http://www.kitware.com/**opensource/opensource.htmlhttp://www.kitware.com/opensource/opensource.html

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

Follow this link to subscribe/unsubscribe:

 http://www.paraview.org/**mailman/listinfo/paraviewhttp://www.paraview.org/mailman/listinfo/paraview




 --
 stephen.wor...@inria.fr
 2004 route des lucioles - BP93
 Sophia Antipolis
 06902 CEDEX

 Tel: 04 92 38 50 54
 Fax: 04 97 15 53 51



 ___
 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] Running ParaView Server from new ParaView code structure (for collaboration)

2011-06-19 Thread Alexis Chan
Hi..

I managed to start pvserver.exe without running MPI.  I am unable to connect
2 clients to a server. Is there some code-fix that I can implement to make
that happen?

Thanks!

On Sun, Jun 19, 2011 at 2:45 PM, Alexis Chan alex...@cs.unc.edu wrote:

 Hi

 I got the new Paraview source code that is built to enable client-to-client
 collaboration from https://github.com/Kitware/ParaView/ . I would like to
 set up a ParaView server and test if I could connect two ParaView clients to
 it.

 To do that, do I have to enable PARAVIEW_USE_MPI?

 I compiled Open-MPI 1.4.3 http://www.open-mpi.org/software/ompi/v1.4/
 from source via CMake out-of-source build.  But when I build ParaView with
 PARAVIEW_USE_MPI , I ran into compilation problems in the VTK and IceT
 projects. They seem to be related to the inability to find MPI directories.

 --
 Regards,
 Alexis




-- 
Regards,
Alexis
___
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] Running ParaView Server from new ParaView code structure (for collaboration)

2011-06-19 Thread Utkarsh Ayachit
The git-master code doesn't support connecting 2-clients. That feature
is under development.

Utkarsh

On Sun, Jun 19, 2011 at 5:29 PM, Alexis Chan alex...@cs.unc.edu wrote:
 Hi..

 I managed to start pvserver.exe without running MPI.  I am unable to connect
 2 clients to a server. Is there some code-fix that I can implement to make
 that happen?

 Thanks!

 On Sun, Jun 19, 2011 at 2:45 PM, Alexis Chan alex...@cs.unc.edu wrote:

 Hi

 I got the new Paraview source code that is built to enable
 client-to-client collaboration from https://github.com/Kitware/ParaView/ . I
 would like to set up a ParaView server and test if I could connect two
 ParaView clients to it.

 To do that, do I have to enable PARAVIEW_USE_MPI?

 I compiled Open-MPI 1.4.3  from source via CMake out-of-source build.  But
 when I build ParaView with PARAVIEW_USE_MPI , I ran into compilation
 problems in the VTK and IceT  projects. They seem to be related to the
 inability to find MPI directories.

 --
 Regards,
 Alexis




 --
 Regards,
 Alexis


 ___
 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