Re: [Paraview] just an observation--resample with dataset filter

2009-04-05 Thread Berk Geveci
That sounds good to me. Any objections?

On Sat, Apr 4, 2009 at 6:40 PM, Jacques Papper jacques.pap...@gmail.com wrote:
 What about geometry and data ?

 2009/4/4 Berk Geveci berk.gev...@kitware.com

 I like the suggestion of giving better names to the inputs. I have
 always disliked how confusing Input and Source are. If I remember
 correctly, it is backwards because I changed it to be more compatible
 with some other filter, maybe stream tracer? What about Source and
 Target? Does that make it clear that we are probing the data from the
 source to the geometry on the target?

 -berk

 On Mon, Mar 30, 2009 at 3:16 PM, Stephens, Michael M ERDC-ITL-MS
 michael.m.steph...@usace.army.mil wrote:
  in the for what it's worth file:
 
  is it just me or does the Resample with Dataset filter in paraview
  have the
  Input  Source items backwards from the vtkProbe documentation.
 
  looking at the Resources/filters.xml it looks backwards there too.
 
  the Input is tied to the SetSource command and the Source is tied to
  the
  SetInput command.
 
  also if anyone is still reading, why not label these with something
  actually
  descriptive
  as Input and Source map to very similar things in most people's
  heads.
 
  how about:
 
  Probe Geometry and DataSet to probe
 
 
  feed your head --- the doormouse
 
  -m
  ___
  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


___
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] Delaunay triangulation

2009-04-05 Thread Berk Geveci
This doesn't sound right. Can you post a screenshot (of the whole user
interface)?

-berk

2009/4/1 Sasha Ukhorskiy ukho...@gmail.com:
 Dear All,

 I am a new user of ParaView and have a very basic question on how to
 visualize the output of the 3D Delaunay triangulation. I am trying to plot a
 surface traced by a guiding center particle in a planetary magnetic field. I
 import particle positions (which belong to the surface) as an unstructured
 grid. Then use the Delauday 3D filter with a non-zero Aplpha parameter (to
 avoid triangulating distant points which do not belong to the surface) and
 display the output using solid color Surface representation. As a result I
 am getting almost what I need. The feature that I am trtying to get rid of
 is the following: besides shading the triangles with solid color, ParaView
 also plots all lines/edges from triangulations which clutter the plot. Is
 there a way to supress the lines or should I be using a different approach
 for plotting this surface?

 Thank you very much in advance,
 -Sasha

 ___
 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] Stratified Sampling

2009-04-05 Thread Berk Geveci
I am not very familiar with VTK's computational geometry algorithms
but to my knowledge we don't have a filter that can do this. I am
cross-posting to VTK's list in case someone there has a suggestion.
That algorithm is pretty cool by the way. Maybe you can contact the
original other and see if he is interested in releasing his source
code?

-berk

2009/4/1 David Doria daviddo...@gmail.com:
 I would like to get something like stratified sampling:
 http://www.tecgraf.puc-rio.br/~diego/academic/phd/597d/sample/

 I have a mesh which has some fine detail that requires a high vertex density
 and some coarse detail that requires a low vertex density. What I would like
 to is achieve a uniform vertex density. If I do a subdivision, it will make
 the fine detail even finer, which is completely un-necessary. What I want is
 either to resample the coarse detail at the same resolution as the fine
 detail and leave the fine detail alone. Or, I could specify a vertex spacing
 and make the fine detail less fine and the coarse detail more fine. Does
 that make sense? Does Paraview or VTK have any tools to do something like
 this?

 Thanks,

 David

 ___
 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] extract surface of multiblock mesh

2009-04-05 Thread Chris Kees

Berk,

Thanks for correcting me. I'll try adding the vtkGhostLevels to the  
XDMF and see how that goes.


Chris
On Apr 4, 2009, at 2:50 PM, Berk Geveci wrote:


The right way to deal with this situation is to mark the ghost cells
as ghost. If you create a cell array called vtkGhostLevels and assign
0 to inside cells and 1 to ghost cells, you should not need
MergeBlocks or CleanToGrid. Note that this array has to be of type
unsigned char. There are actual benefits to keeping ghost levels since
some algorithms will produce better results.

-berk

On Thu, Apr 2, 2009 at 6:37 PM, Chris Kees
christopher.e.k...@usace.army.mil wrote:
I turned off the overlapping domain decomposition (ghost cells) for  
a simple

problem and the sequence

MergeBlocks-CleantoGrid-ExtractSurface-Clip

shows just the physical boundary of the problem (clipped open so  
you can see
inside). Also volume visualization and streamline calculation works  
with no

processor boundary artifacts.

From what I understand, there are no filters in paraview or  
abstractions in

the XDMF data model  at this time that will allow paraview to read in
overlapping blocks and really make use of the ghost cells  
correctly. For now
truncating our output to only owned elements will solve our  
problems.

Thanks again for the help.

Chris

On Mar 30, 2009, at 2:06 PM, Chris Kees wrote:

Thanks for  the help. I also tried suggestions from Paul, Ken, and  
Berk,
but it does seem that I'm stuck right now unless I provide  
ParaView with
more information. Since streamlines are computed correctly on the  
current
multiblock mesh I just generated the mesh on a single processor  
and used
ExtractSurface-Clip on that mesh to visualize the geometry around  
the

streamlines from the multiblock grid.

On the first method: Each of my UnstructuredGrids in the  
Multiblock Grid
is a subdomain in an overlapping decomposition of the domain. Each  
of the
subdomains has several elements of overlap (the layer of ghost  
cells is more
than one element thick).  Presumably the streamline generation  
works now on
the multiblock grid because the overlap is loaded into ParaView.  
Is there a
way I can just set a cell-centered attributed to identify the  
ghost cells so
that surface extraction and volume visualization will work too?   
Currently
volume visualization of the multiblock grid shows only a single  
subdomain
and volume visualization after MergeBlocks shows the whole domain  
but with

overlap regions being more opaque.

On your other method, we have both the external boundary mesh and a
pre-mesh polygonal representation of the boundaries available in the
simulator. You are suggesting that I just dump one of those to a  
valid

ParaView format as well, is that correct?

Chris

On Mar 30, 2009, at 9:14 AM, Jean Favre wrote:


Chris Kees wrote:


So far I've tried MergeBlocks-ExtractSurface-FeatureEdges- 
Clip and
various permutations that I've seen in previous posts and the  
wiki,
but I always end up with the  surfaces on the interior of the  
tank as

if it still sees each subdomain as a closed surface.


In fact, it seems to me that ParaView does the best it can. Your
unstructured mesh is partitioned in 512 pieces and [presumably],  
you did

not specify ghost-cells at the partition boundaries. Without
ghost-cells, ParaView has no information to help decide whether an
outside face looks towards the outside world, or to another  
partition. I

don't think any combination of filters would help you. Removing
duplicate points may only remove duplicate fake boundaries, but  
these

fake boundaries must be removed all together.

I use two methods to achieve what you want. Ghost-cells, or another
multi-piece object containing the different boundary types (solid,
symmetries, inflow, outflow, etc) stored as vtkPolyData. These  
are read

in from the models on disk.

Jean --
Swiss National Supercomputing Center





___
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



___
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: