Thanks for your answer!

Unfortunately, visualizing is not enough to my purposes. I need the 
tangential component of the gradient at the mesh faces to perform a 
post-processing phase where I compute some relevant quantities to be used 
later in solving a different problem.

Thanks again.




Il giorno martedì 21 marzo 2017 10:58:02 UTC+1, Daniel Arndt ha scritto:
>
>
>
>
> I'm solving a 2D problem on quadrilateral cartesian mesh using FE_Q(1) 
>> elements.
>> I would like to compute the gradient of the bilinear solution, known to 
>> belong to the FE_Nedelec(0) space: how can I manage to do it?
>>
> For visualizing the gradient of discrete solution, you have multiple 
> options.
> If you are using FE_Q(1) elements most visualization tools, should be able 
> to give you an exact representation of your discrete solution.
> In Paraview, for example, you could just use the filter "Gradient of 
> Unstructured DataSet".
> Another way would be to use DataPostprocessor [1]. Have a look at 
> step-29[2] for how to use it. 
>  
>
>> In particular I'm only interested in computing the tangential component 
>> of the gradient on each mesh face, but I don't really know (and can't find 
>> anything on the documentation) how to approach the problem of building a 
>> gradient vector associated with the Nédélec degrees of freedom.
>>
> What do you actually want to do with the tangential gradients at the 
> faces? Is visualizing sufficient for you or do you really want to compute a 
> projection into the FE_Nedelec(0) space?
>
> Best,
> Daniel
>
> [1] 
> https://www.dealii.org/8.4.0/doxygen/deal.II/classDataPostprocessor.html
> [2] https://www.dealii.org/8.4.0/doxygen/deal.II/step_29.html 
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to