Raul:

Exactly, I would like to use what my DataPostprocessor computes in other parts of the programme.

This is not the right approach. DataPostprocess is used to put derived quantities into output files, not to compute data that can then be used in other parts of the program. For what you want to do, you need to compute these derived quantities at each quadrature point whenever you need it -- that's exactly what step-15 does, for example.


In my postprocessor, I compute stresses and principal stresses for all quadrature points (to give you the context, I am using quad elements with 4 quadrature points. The stress is constant for each cell/element

This is unrelated to your actual question, but it's worth pointing out that it is not true that the stress is constant. It *is* constant on triangles if you use linear elements because then the gradient of the solution is constant. But on quadrilaterals, the gradient of the solution is *not* constant, and so the stress is not constant on each cell in general unless your solution happens to be globally linear.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/1a33ce1b-97de-8bf2-8ad5-a18edd0d69e2%40colostate.edu.

Reply via email to