Hi Wolfgang,

Thank you for pointing that out. I was wrong because I thought that what 
happens with 1-D is the same as in 2-D, and that’s not true. 

I will try to think again how I solve the problem and the structures 
related to it. Thank you for the suggestions!!

Best

El miércoles, 14 de diciembre de 2022 a las 17:56:39 UTC+1, Wolfgang 
Bangerth escribió:

>
> 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/6c4b6878-df5f-43bc-9c06-091ee208beeen%40googlegroups.com.

Reply via email to