Re: [deal.II] Datapostprocessor first derivative based on what?

2017-07-29 Thread Wolfgang Bangerth


For example, if I solve flow problem with Taylor hood element as step-22 
tutorial program, and take the first derivatives of the acquired solution 
velocity using Datapostprocessor Class,

I could easily get my target quantities (derivatives) for all same dof points.

However, I come up with the fact that my finite elements is only 
C0-continuous...at the vertex where two different elements meet.


Correct. That means that there are multiple values of the gradient at 
vertices, and indeed we put multiple values into the output file.




(My taylor element is degree 2 for velocity and degree 1 for pressure. )
If then, on those vertexes, how the Datapostprocessor decides which element to 
refer for the first, or second derivatives on that dof?


It doesn't use locations of DoFs but the vertices of cells. And it outputs the 
same vertex as many times as there are adjacent cells, if necessary with 
different values. This is the same as if you had, for example, a piecewise 
constant field -- every cell is shown in graphical output as a horizontal 
plane, and at vertices several of these planes come together.


Best
 W.


--

Wolfgang Bangerth  email: bange...@colostate.edu
   www: http://www.math.colostate.edu/~bangerth/

--
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.


[deal.II] Datapostprocessor first derivative based on what?

2017-07-27 Thread Jaekwang Kim
Hi, all 
I have asked specific implementation of Datapostprocessor Class a week ago. 

Adding to that.. I suddenly become curious how this class take 'the first 
derivative' form the solution vector. 

For example, if I solve flow problem with Taylor hood element as step-22 
tutorial program, and take the first derivatives of the acquired solution 
velocity using Datapostprocessor Class, 
I could easily get my target quantities (derivatives) for all same dof 
points. 

However, I come up with the fact that my finite elements is only 
C0-continuous...at the vertex where two different elements meet. 
(My taylor element is degree 2 for velocity and degree 1 for pressure. )
If then, on those vertexes, how the Datapostprocessor decides which element 
to refer for the first, or second derivatives on that dof? 

Thank you

Jaekwang Kim 




-- 
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.