[Paraview-developers] Visualizing field data on 3D Delaunchy generated mesh from points

Cory Quammen cory.quammen at kitware.com
Wed Jul 27 10:15:03 EDT 2016


On Wed, Jul 27, 2016 at 1:09 AM, sumeet kumar <sumeet.kumar507 at gmail.com>
wrote:

> Hey Cory,
>
> Thank you, for giving an excellent well explained answer. Your
> demonstration with the little example was very useful and it did all what I
> wanted.
>
>
> I have some more questions for you. It would really nice if you could
> help with me these questions also,
>
> *Background : *I basically am currently developing visualization tool
> (reader plugin)  for a structural FEM software my research team is
> developing. Usually the mesh are big and sometimes complicated.
>
> I am using Delauncy3D to generate a mesh for my given gauss points. For
> simple examples, it works great. But for bigger meshes with smaller mesh
> size (smaller elements) it shows a warning message as bellow
>
> [image: Inline image 1]
>
> I think this warning messages comes if two point are very close. This
> warning results in some wrong mesh generation in areas where mesh sizes are
> small (or points are closer). My question is that
>
>    1. Can I somehow avoid and fix this situation.
>
> I suspect you are right about the problem coming from two points being
very close. Geometry algorithms are always tricky to make work in all cases
and Delaunay 3D is no exception. Maybe you could try the Clean filter to
merge nearby points? Bump up the tolerance if you keep having issues. It's
not a perfect solution, but better than nothing.

>
>    1. Another question is not related to Delaunchy3D, but to the data
>    visualization. When I visualize my data for different time steps, the field
>    data bounds (upper and lower bounds) remains fixed. I want that the bounds
>    to automatically change for each time_step by automatically finding out the
>    maximum and minimum value of the field data, so that I can see the
>    field_data variation over my model.
>
> I assume you are talking about the range of the color legend? If so, go to
Edit -> Settings (ParaView -> Preferences on Mac), make sure the General
tab is selected. Under the Transfer Function Reset Mode, choose "Grow and
update every time step". This should do what you want.

HTH,
Cory

>
>    1.
>
> Best
>
> Sumeet
>
> On Tue, Jul 26, 2016 at 8:25 PM, Cory Quammen <cory.quammen at kitware.com>
> wrote:
>
>> Sumeet,
>>
>> Hmm, Delaunay 3D should pass the point data arrays on to the output. Here
>> is an example pipeline where this works:
>>
>> Point source: Number of Points, 100; Radius, 1
>> Calculator: Expression, "coordsX", Result Array Name, "X"
>> Delaunay 3D
>>
>> The output of Delaunay 3D contains the X array.
>>
>> As for creating the Delaunay 3D output just once, I would create the mesh
>> from one of your time steps one time and save it out as a .vtu file. Next,
>> when you are creating your animation, just load your point files as before
>> along with the .vtu file. To associate the data from each time step on the
>> mesh, use the Resample with Dataset filter. Set the Delaunay 3D mesh as the
>> Source and the time-varying data as the Input. The Input point data will
>> now be "attached" to the Delaunay 3D output mesh, and you should be able to
>> visualize it.
>>
>> HTH,
>> Cory
>>
>> On Tue, Jul 26, 2016 at 7:49 PM, sumeet kumar <sumeet.kumar507 at gmail.com>
>> wrote:
>>
>>> I have a collection of points with their coordinates. Each point have
>>> certain field ( let say scalar, vector or tensor associated with it). I am
>>> currently using delaunchy 3D filter to create a 3D mesh and it works fine.
>>>
>>> But next what I want is to visualize the data I had on the nodes. How
>>> can I achieve this in Paraview. No field data appears on the delaunchy #D
>>> generated mesh.
>>>
>>> Also, when I change my time step, the filter again creates a Delaunchy
>>> 3D mesh. Is there any way to tell the algorithm generate the mesh only once
>>> and utilize it for other steps.  Please note that, the number of nodes and
>>> their coordinates are not changing with time.
>>>
>>> Thanks
>>> Sumeet
>>>
>>> --
>>>
>>> Sumeet Kumar Sinha
>>> Graduate Student
>>> Phone: (+1)  <%28%2B91%29%209910516219>5306018271
>>> Website : http://www.sumeetsinha.in/
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Search the list archives at:
>>> http://markmail.org/search/?q=Paraview-developers
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>>
>>>
>>
>>
>> --
>> Cory Quammen
>> R&D Engineer
>> Kitware, Inc.
>>
>
>
>
> --
>
> Sumeet Kumar Sinha
> Graduate Student
> Phone: (+1)  <%28%2B91%29%209910516219>5306018271
> Website : http://www.sumeetsinha.in/
>



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20160727/fa866bb5/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 30527 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20160727/fa866bb5/attachment-0001.png>


More information about the Paraview-developers mailing list