Improve computation of integrals #282
Replies: 1 comment 5 replies
-
Hi @carlos-adir, thanks for the idea and thorough example! I am aware that using boundary integrals are more computationally efficient for computing section area properties. However, I am wondering if this approach can be applied to the computation of warping properties, which is the real power of I present the finite element implementation of the warping properties in the documentation as well. I am open to a shift from finite element analysis if boundary integrals can be easily implemented for warping properties with performance gains? At the moment using a finite element implementation for area properties is still relatively fast and I would like to keep the same implementation for all analyses, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was reading the documentation, the theoric part which shows how to get the centroid, area, moment of inertia and so on. As shown in
this example, normally a mesh is made and then the integration happens over each element to find the wanted values.
In this link, the person shows how to compute the area in a polygon domain by changing the integral over the area into a boundary integral. This reduces the cost, since it only computes on the boundary and does not create a mesh.
Although this link shows only for area, it can easily be applied to polynomial integrals (such moment of inertia).
I made a python notebook with some equations and compared with the example. The values match
https://gist.github.com/carlos-adir/67478fa6650ffda1c8e63b7f0cb5d695
Beta Was this translation helpful? Give feedback.
All reactions