Skip to main content

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


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.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Spyffness-0.1.1-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file spyffness-0.1.1.tar.gz.

File metadata

  • Download URL: spyffness-0.1.1.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

Hashes for spyffness-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5e14979fe55687de398000d0e6e382a4797c77bc1aead37dfce2078df0bfdba5
MD5 f85424039188ebc5cc3bed6c3f38865c
BLAKE2b-256 7eb6d35475746f0f3414ffda0cf20f5d1899a3ec672499526bb41c8977a28d0a

See more details on using hashes here.

File details

Details for the file Spyffness-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: Spyffness-0.1.1-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

Hashes for Spyffness-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d15c541a51c458d930f9fe84f0f04332a44a4da0a4aa2e0e74c3b4d19d722a5a
MD5 6ab99699ccf64a6952882acc60cb28b9
BLAKE2b-256 38618521392fe91ab0185ee4942175ac1a08b3f039e97176c5b316b2eb6921a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page