Replies: 3 comments 2 replies
-
Thank you for raising this issue, I will investigate to see the source of the problem. |
Beta Was this translation helpful? Give feedback.
-
Can you share the code to get similar results as you posted? |
Beta Was this translation helpful? Give feedback.
-
I had the same problem. I discovered that the error may be due to miscalculation of the perpendicular vector to the finite element. Using Math.Atan gives results in the range -π/2 ≤ θ ≤ π/2. From this, it follows that cos never gives negative values. The calculated perpendicular vector will never point to the left. https://github.com/FEALiTE/FEALiTE2D/blob/main/FEALiTE2D.Plotting/Dxf/ExtensionMethods.cs#L41-L46 I used the Atan2 function in my code, , which seems to work better. var theta = Math.Atan2(x1 - x2, y2 - y1); |
Beta Was this translation helpful? Give feedback.
-
@SaMohamed
Hi,
Thank you for releasing such a nice library.
It matches my needs very well, so I'm trying it now.
But I think there is some problem in plotting diagram.
For example, fixed end beam with distributed load,
flat(no slope) beam and inclined slope beam plot seems correct,
but declined slope beam plot seems wrong (upside down ?)
shear force, bending moment and deformed shape plot sample
inclined slope beam (correct)
declined slope beam (upside down?)
Beta Was this translation helpful? Give feedback.
All reactions