Re: [deal.II] Averaging derived solution quantities (mises stress)

2023-03-24 Thread Konrad Schneider
Wolfgang, thanks again for your valuable advise. Always a pleasure to receive support from the boss ;-) > In the scope of this loop the shape function gradients at the quadrature > points are used to compute the desired output variable by a special > calculation rule. However, these are not

Re: [deal.II] Averaging derived solution quantities (mises stress)

2023-03-17 Thread Wolfgang Bangerth
Konrad, yes the mesh is quite coarse, but I want to investigate the functionality of how deal.ii outputs stresses and how these stresses are then displayed via for instance paraview. To really see the effects I intentionally use the coarse mesh. So far, I actually do create a (derived)

Re: [deal.II] Averaging derived solution quantities (mises stress)

2023-03-17 Thread Konrad Schneider
there was a small bug in my code I posted above. the following code is running fine. Konrad Schneider schrieb am Freitag, 17. März 2023 um 17:03:18 UTC+1: > Dear Wolfgang, > yes the mesh is quite coarse, but I want to investigate the functionality > of how deal.ii outputs stresses and how

Re: [deal.II] Averaging derived solution quantities (mises stress)

2023-03-17 Thread Konrad Schneider
Dear Wolfgang, yes the mesh is quite coarse, but I want to investigate the functionality of how deal.ii outputs stresses and how these stresses are then displayed via for instance paraview. To really see the effects I intentionally use the coarse mesh. So far, I actually do create a (derived)

Re: [deal.II] Averaging derived solution quantities (mises stress)

2023-03-15 Thread Wolfgang Bangerth
Simon, So far I managed to postprocess derived quantities from the displacement solution like displacement gradients to get strains and eventually stress for computation of the mises stress. However, when I view the contour plot of the von mises stress, the picture looks rather ugly (see