-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
[GSoC] physics/continuum_mechanics: solve Method along with documentation and tests added for the Truss class #23755
Conversation
✅ Hi, I am the SymPy bot (v167). I'm here to help you write a release notes entry. Please read the guide on how to write release notes. Your release notes are in good order. Here is what the release notes will look like:
This will be added to https://github.com/sympy/sympy/wiki/Release-Notes-for-1.12. Click here to see the pull request description that was parsed.
Update The release notes on the wiki have been updated. |
Benchmark results from GitHub Actions Lower numbers are good, higher numbers are bad. A ratio less than 1 Significantly changed benchmark results (PR vs master) Significantly changed benchmark results (master vs previous release) Full benchmark results can be found as artifacts in GitHub Actions |
equations. However, the truss needs to be stable as well and may be unstable if 2n > r + m. | ||
The number of variables is simply the sum of the number of reaction forces and member | ||
forces. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please mention what signs the compressive and tensile forces are using.
@Psycho-Pirate I have made the required changes. For the second issue, there wasn't any major flaw with how equations were solved but just that when dealing with floats, it just returned a term tending to an infinitesimal term. To get around this, I just found out the minimum load applied and then iterated through the |
Looks good to me! Merging! |
References to other Issues or PRs
Brief description of what is fixed or changed
After the implementation of the
truss
class with the initialising methods likeadd_node
andadd_method
along with many others, the main solving method responsible for solving a given Truss added. After calling thesolve
method for a given truss, thereaction_loads
andinternal_forces
are updated with the calculated values.Other comments
Release Notes
solve
method for solving a giventruss
for its reaction loads and internal forces.