FEM challenge error visualization #19
ignaciobartol
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Here is a cleaned-up version:
Also, see https://github.com/seamplex/feenox/blob/main/tests/single-arc.fee |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
FEM challenge from Jeremy Theler @ Linkedin
Problem Statement
The problem was to approximate the integral of a quarter-circle considering the curved second-order
line3
element lying on the x-y plane defined by the corner nodes:with the mid-edge node located at:
Using the shape functions for$\xi \in [-1, 1]$ :
compute the Lebesgue measure (i.e., length) of the element. The real length of the curve is$\pi/2 \approx 1.5708$ . After solving the problem, we can plot the two curves to visualize the error, the three nodes are chosen to match the real curve.
Mathematical Description / Solution
The position$\mathbf{x}(\xi)$ on the element can be described as:
To find the length of the element, we need to integrate the arc length differential:
First, we find the derivative of$\mathbf{x}(\xi)$ (this can be done in Feenox instead of finding them by hand, will update):
We can compute the derivatives of the shape functions:
Therefore:
Substitute the node coordinates:
Simplifying:
Next, we compute the magnitude of this derivative:
Finally, integrate this magnitude over$[-1, 1]$ to find the length $L$ :
FeenoX solution
The length will be ~1.56242 using this method.
Beta Was this translation helpful? Give feedback.
All reactions