Perform engineering analysis on beams with diagrams for shear, moments, angle, and deflection
pip install beam_analysis
git clone https://github.com/XDwightsBeetsX/beam-analysis
E = 207 * 10**6
L = 1.0
CS = CrossSection(CrossSectionTypes.CIRC, [.01])
B = Beam(L, E, crossSection=CS)
B.addPointLoad(0, 11, 45)
B.addPointLoad(L/2, -20, 45)
B.addPointLoad(L, 11, 45)
B.addDistributedLoad(0, L, -2, 45)
B.addBoundaryCondition(L/2, BoundaryConditionTypes.ANGLE, 0)
B.addBoundaryCondition(L, BoundaryConditionTypes.DEFLECTION, 0)
B.runAnalysis(outputToFile=True)
- Currently reactions are not solved for...
- All loads and reactions must be inputted
- Boundary conditions currently required
- one angle AND one deflection value
- OR two deflection parameters
- Beam weight is not accounted for by default
- represent it with a distributed load
Check out some demos here 📂!
If you run into usage problems, double check the requirements.txt 📄
This project is maintained on PYPI via releases through twine...
python setup.py sdist bdist_wheel
twine upload -r testpypi dist/* -u $username -p $password
twine upload -r pypi dist/* -u $username -p $password