On 6/24/21 8:50 AM, Alex Cumberworth wrote:
I am working with a mesh generated from subdivided_cylinder, and am wondering whether the area and volume should be assumed to match that of a true cylinder, or if it only converges to that when many refinements are made. I would like to calculate the total energy of the system by integrating over the whole volume, as well as calculate shear forces by integrating over faces on the surface.

That depends on whether you use a mapping argument in the integration or not. If not, then you are implicitly using a Q1 mapping for all cells, which is not going to provide a particularly accuracte approximation of volume and area. On the other hand, if you use a MappingQ(4) or even better MappingManifold, and if you use a sufficiently high order quadrature formula, then you should be very close to the exact volume/area already on a fairly coarse mesh.

In no case will things be exact: Even with MappingManifold, you are still computing integrals that you approximate via quadrature.

I have no opinion on what might be wrong with your beam example :-)

Cheers
 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/14898628-ae59-3bae-3cc3-ecc424000735%40colostate.edu.

Reply via email to