Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extraction of stiffness matrix #113

Closed
limaomaolwh opened this issue Jul 7, 2023 · 2 comments
Closed

Extraction of stiffness matrix #113

limaomaolwh opened this issue Jul 7, 2023 · 2 comments

Comments

@limaomaolwh
Copy link

Hello. I am currently using your open-source program to calculate the stress distribution in a beam. While extracting the stiffness matrix from the 'system.k' , I noticed that the dimension of the stiffness matrix is much larger than I anticipated. I am a bit confused and would greatly appreciate it if you could provide some clarification on this matter.

Could you please explain why the dimension of the stiffness matrix is larger than expected? It would be helpful if you could provide some additional background information or insights on this issue.

Thank you in advance for your time and assistance. I look forward to hearing from you.

@limaomaolwh
Copy link
Author

I have learned that the 18 columns of the stiffness matrix of each additional unit during the dynamics analysis are
u1 u2 u3 θ1 θ2 θ3 F1 F2 F3 M1 M2 M3 P1 P2 P3 H1 H2 H3.
But when the number of cells is minimum still reaches 30, I don't know what the extra 12 are respectively.

@Cardoza2
Copy link
Member

Cardoza2 commented Nov 21, 2023

@limaomaolwh Sorry for the late response. We were in between maintainers due to the fact that the author of the package graduated and left our lab. I'm still learning the in's and outs of the code package, but from what I can tell system.K is the Jacobian of the system, not the stiffness matrix. If you would like the stiffness matrix, you need the inverse of the compliance matrix found in each beam element. so for instance inv(assembly.elements[end].compliance) should return the stiffness of the final element. However, if you created the assembly, you should already have that. If you're looking for for stress-strain recovery, GXBeam has a FEA solver built in for cross-sectional analysis and has convenience functions for that. You can see more on that in the documentation. Let me know if there are any other questions, otherwise I'll mark this issue resolved.

@Cardoza2 Cardoza2 closed this as completed Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants