[Paraview] Problem to compute the gradient of a scalar field

Stéphane Dellacherie stephane.dellacherie at polymtl.ca
Fri Jul 15 10:24:06 EDT 2016


Thanks very much. This works !

Stéph

Le 15/07/2016 10:13, Andy Bauer a écrit :
> I mispelled it -- it's the Tessellate filter.
>
> I'm not sure how the Point Data To Cell Data filter is supposed to fix 
> the problem. The Gradient of Unstructured Data Set filter uses that 
> filter in the implementation.
>
> On Fri, Jul 15, 2016 at 7:37 AM, Stéphane Dellacherie 
> <stephane.dellacherie at polymtl.ca 
> <mailto:stephane.dellacherie at polymtl.ca>> wrote:
>
>     Dear Andy,
>
>     Thank you for your answer.
>
>     I don't find the "tesselate filter" in the alphabetical list :
>     would you tell me what is the right filter ? Thank you.
>
>     Moreover, if the pb is due to the fact that I use quadratic
>     triangles, the filter GradientOfUnstructuredDataSet should works
>     after the use of the filter PointDataToCellData ? But it does not
>     still work.
>
>     Best
>
>     Stéph
>
>
>     Le 14/07/2016 20:17, Andy Bauer a écrit :
>>     Hi,
>>
>>     It looks like gradients aren't getting computed properly for
>>     quadratic triangles. A quick work around is to use the tesselate
>>     filter to subdivide the quadratic triangles while converting them
>>     to linear triangles. The gradient of unstructured data filter
>>     should work after that. I'll add in a bug report to see about
>>     getting this fixed as well.
>>
>>     Best,
>>     Andy
>>
>>     On Thu, Jul 14, 2016 at 5:23 PM, Stéphane Dellacherie
>>     <stephane.dellacherie at polymtl.ca
>>     <mailto:stephane.dellacherie at polymtl.ca>> wrote:
>>
>>         Dear Colleague,
>>
>>         I am trying to use the fielter GradientOfUnstructuredDataSet
>>         on the field T which is in the vtk file example.vtk (see the
>>         joined file). Nevertheless, I only obtain a NULL gradient
>>         (see the file tutu.png) although the T field is not a
>>         constant scalar field.
>>
>>         Is it normal ?
>>
>>         Thank you for your help !
>>
>>         With my best regards.
>>
>>         Stéphane
>>
>>         -- 
>>         ___________________________________________________________
>>
>>         Stéphane Dellacherie
>>
>>         CEA Paris-Saclay / Direction de l’Énergie Nucléaire
>>
>>         École Polytechnique de Montréal / Dpt de Génie Mécanique
>>
>>         Tél. : (001) 514.340.47.11 (#2488)
>>         ___________________________________________________________
>>
>>
>>
>>
>>         _______________________________________________
>>         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
>>
>>
>
>     -- 
>     ___________________________________________________________
>
>     Stéphane Dellacherie
>
>     CEA Paris-Saclay / Direction de l’Énergie Nucléaire
>
>     École Polytechnique de Montréal / Dpt de Génie Mécanique
>
>     Tél. : (001) 514.340.47.11 (#2488)
>     ___________________________________________________________
>
>

-- 
___________________________________________________________

Stéphane Dellacherie

CEA Paris-Saclay / Direction de l’Énergie Nucléaire

École Polytechnique de Montréal / Dpt de Génie Mécanique

Tél. : (001) 514.340.47.11 (#2488)
___________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160715/c6fe93d5/attachment.html>


More information about the ParaView mailing list