# [Getdp] grad on the surface

**Andre Antunes**
andre.antunes at tuebingen.mpg.de

*Sat Jan 19 12:16:53 CET 2013*

UPDATE:
A possible solution is to add "Smoothing" in the PostProcessing:
Print [normGradV, OnElementsOf Omega, Smoothing, File "normgradV.msh"];
I think this averages/interpolates the values calculated element-wise on the nodes' position.
It would be also possible to specify OnGrid with the desired locations, I suppose
Best regards,
Andre
On Sat, 19 Jan 2013 03:15:29 +0100
"Andre Antunes" <andre.antunes at tuebingen.mpg.de> wrote:
>* Dear all
*>*
*>* I'll try to go concise.
*>* I would like to know how exactly the Grad is computed in the PostProcessing stage.
*>* Looking at the solution msh file for the Grad, I can see that the $ElementNodeData for each element has the exact same value for all nodes.
*>* What is happening? Do these values correspond to some average that is begin done and thus represent the Grad at the centre of the element? How was it calculated? Is there a different way to compute the gradient (e.g. node-wise)?
*>*
*>* Best regards,
*>* Andre
*>*
*>*
*>* _______________________________________________
*>* getdp mailing list
*>* getdp at geuz.org
*>* http://www.geuz.org/mailman/listinfo/getdp
*