Hi Ken,

I am a little puzzled. For Steven’s VTI file, each cluster/grain has a unique 
ID, for example: 3732, 3240, 4955, etc. When Paraview visualize this file, how 
does it place one grain next to each other, or how does it determine one grain 
is adjacent to another? Is there any algorithm in paraview that defines 
adjacency? (I work in Research Computing center at UF and try to help Steven to 
run his program, so not really familiar with this work.)

Thanks,

Ying

On Mar 23, 2015, at 1:21 PM, Moreland, Kenneth 
<[email protected]<mailto:[email protected]>> wrote:

That clarifies things, but I'm not sure how much I can help you.

First, you just asked how ParaView will interpret this file. ParaView will read 
this as an "image" that is a regular 2D grid of data. It will show the data 
pretty much the same as the image below. (The colors will be different, but the 
meaning will be the same.)

If you want to look at a single grain at a time, you can do that fairly easily 
with what is available in ParaView. You can either use the Threshold filter to 
extract a grain with a particular ID. Better yet, you can use the Find Data 
feature to select all "cells" that belong to a particular grain. That will help 
you locate a grain in the image, where you can zoom in and manually peek at 
neighboring grains.

Beyond that, you might need to design your own analysis algorithms. At this 
point, I'm not sure what you want to see. From an image processing point of 
view, your data is already classified since there is a unique identifier for 
each grain. You could write a custom operation to identify all neighbors of all 
grains, but I'm not sure what you do with it after that.

-Ken

From: <Chiu>, Steven <[email protected]<mailto:[email protected]>>
Date: Monday, March 23, 2015 at 10:23 AM
To: "Zhang,Ying" <[email protected]<mailto:[email protected]>>, Kenneth Moreland 
<[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>, "Sahi,Catherine A" 
<[email protected]<mailto:[email protected]>>
Subject: [EXTERNAL] IMPORTANT-Particles+HPC

​Hello all,

Sorry for the delayed response. We were at the TMS conference the past week.

> Steven, could you explain to Ken about your image and the information you are 
> trying to find?

Ken, we are in the Material Science and Engineering field.
These files come from Dream3d and SPPARKS simulations.

What do you mean by a "grain"?  Is that some roundish feature in the image?

<b&w.png>
An individual grain is define as 1 of the objects seen in the picture of above 
showing a 2-D face of our microstructure.

What does it mean for two grains to be neighbors?  Does it mean they are 
touching?
-neighboring grains are grains that are adjacent to each other in the picture 
above.

From the vti file stand point:
1 grain is comprised of 1 set of unique contiguous spins as see below. <Screen 
Shot 2015-03-16 at 1.12.43 PM.png>

Link to dump.#.vti file in google drive:
https://drive.google.com/folderview?id=0B-JhfuaY4N27fndFQXpYOEtHN0NzTWoyN2Q4cUtvY1BFV21lWHZoSFV3bnlwMUVzc2l6VHM&usp=sharing


That they are within some certain distance of each other?
I'm not sure what you mean. When we make the structures in dream3d, there is an 
option for spacing.
<Screen Shot 2015-03-23 at 12.10.43 PM.png>

That they are not being obscured by some other grain?
This will be on a 2-D scale so it will be like the image as seen previously. 
However, our microstructures are 3-D and we manually take a slice through it 
using paraview.

Additionally,

How would paraview interpret /read this vti?


Contact me if you need anything.
Best,
Steven.

________________________________
From: Zhang,Ying
Sent: Monday, March 16, 2015 12:08 PM
To: Moreland, Kenneth
Cc: [email protected]<mailto:[email protected]>; Chiu,Steven
Subject: Re: [Paraview] Algorithm to find grain neighbors

Sorry that I forgot to Cc Steven.


> On Mar 16, 2015, at 11:18 AM, Zhang,Ying 
> <[email protected]<mailto:[email protected]>> wrote:
>
> Hi Ken,
>
> I work in Research Computing at University of Florida and have a user (Cc'ed) 
> who is using Paraview to visualize his grain image on our computing systems.
>
> Steven, could you explain to Ken about your image and the information you are 
> trying to find?
>
> Thanks,
>
> Ying
>
>> On Mar 16, 2015, at 11:05 AM, Moreland, Kenneth 
>> <[email protected]<mailto:[email protected]>> wrote:
>>
>> I don't really understand the question, but the answer is probably no.
>>
>>
>> What do you mean by a "grain"? Is that some roundish feature in the image?
>> And what does it mean for two grains to be neighbors? Does it mean they
>> are touching? That they are within some certain distance of each other?
>> That they are not being obscured by some other grain?
>>
>> Assuming I've guessed closed in any of these aspects, I don't think
>> ParaView comes with any filters that perform that action.
>>
>> -Ken
>>
>> On 3/13/15, 3:21 PM, "Zhang,Ying" <[email protected]<mailto:[email protected]>> 
>> wrote:
>>
>>> Dear Paraview developers,
>>>
>>> I sent a question a while ago and probably didn¹t get to the list. But
>>> here is my question again:
>>>
>>> I have a grain image in vti format and use Paraview to visualize the
>>> grains. In Paraview I use Representation/Surface along with xml template
>>> for coloring to display the grain image based on the vti file. I would
>>> like to know if there is a way to find out the number of neighbors each
>>> grain has. I wonder if paraview has a such tool to give this information.
>>>
>>> Thank you!
>>>
>>> Ying Zhang
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>
>

<b&w.png><Screen Shot 2015-03-16 at 1.12.43 PM.png><Screen Shot 2015-03-23 at 
12.10.43 PM.png>

_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to