> Expéditeur: Josh Thompson <[email protected]>
> Date: 18 décembre 2018 à 23:16:23 UTC+1
> Destinataire: Christophe Geuzaine <[email protected]>
> Objet: Rép :⁨ [Gmsh] Gradient plugin generating all zero vectors.⁩
> 
> Yes, that appears to have been the case! Using smooth first yields reasonable 
> results. Thank you.
> 
> Regards,
> Josh Thompson
> 
>> On Tue, Dec 18, 2018 at 5:08 PM Christophe Geuzaine <[email protected]> 
>> wrote:
>> 
>> 
>> > On 18 Dec 2018, at 18:41, Josh Thompson <[email protected]> wrote:
>> > 
>> > Hello,
>> > 
>> > If I attempt to run the Gradient plugin on any view in any mesh, the 
>> > resulting view is composed completely of zero vectors. What could be 
>> > causing this behaviour?
>> > 
>> 
>> The gradient is taken per-element. Maybe you have a constant-per-element 
>> dataset? In that case you could smooth the field by node-averaging it with 
>> Plugin(Smooth), before taking the gradient.
>> 
>> Christophe
>> 
>> > Thanks,
>> > Joshua Thompson
>> > _______________________________________________
>> > gmsh mailing list
>> > [email protected]
>> > http://onelab.info/mailman/listinfo/gmsh
>> 
>> — 
>> Prof. Christophe Geuzaine
>> University of Liege, Electrical Engineering and Computer Science 
>> http://www.montefiore.ulg.ac.be/~geuzaine
>> 
>> Free software: http://gmsh.info | http://getdp.info | http://onelab.info
>> 
_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to