A Python library for structural analysis
Project description
Spyffness
A Python library for structural analysis.
Installation
pip install Spyffness
Usage
from Spyffness.Frame import Frame
struct = Frame()
struct.addNode(0, [0,0,0])
struct.addNode(1, [0,0,3])
struct.addNode(2, [0,3,0])
struct.addMaterial(False, E= 30000, Iy= 100, Iz= 100, G= 10000, J= 50, A= 10)
struct.addBeam(0, 0, 1)
struct.addBeam(1, 1, 2)
struct.addBeam(2, 0, 2)
print(struct.K())
struct.fixAllBottomNodes()
struct.setCompresionLoad(1000)
struct.solve()
print(struct.Beams[0].Floc())
print(struct.Beams[1].Floc())
print(struct.Beams[2].Floc())
Features
- 3D analysis of frame structures
- Support for different types of materials
- Calculation of stiffness matrices
- Analysis of displacements and reactions
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
spyffness-0.1.2.tar.gz
(6.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spyffness-0.1.2.tar.gz.
File metadata
- Download URL: spyffness-0.1.2.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4526803ca8a1649fa1c32f1400c862256b47a7e09d0af1822fd33cdd043498c7
|
|
| MD5 |
7bd3bc96925b17e7113a85301d90718a
|
|
| BLAKE2b-256 |
32b11138a543535c104e7b5c1a53d5884edf219b347affb0e5de168cb3b0ebe3
|
File details
Details for the file Spyffness-0.1.2-py3-none-any.whl.
File metadata
- Download URL: Spyffness-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a0144ff13acb5d4a5d306ba0741d6c548ba9cf9e3f1977c4a922b561844bd70
|
|
| MD5 |
053ac906a9357e2390e72af7b3a6892d
|
|
| BLAKE2b-256 |
041fd0a48f9ee1ce7a8dcee70b388709fc4b3f495da07d29167860db40763698
|