Skip to main content

Graph-based integration for structural mechanics using the Vereshchagin method

Project description

VereshchaginPy

VereshchaginPy is a Python library for performing graph multiplication — particularly useful in structural mechanics when applying the flexibility method.

The integration is based on the principle that the integral from two graphs can be expressed as:

∫ Mi(x) * Mj(x) dx = A * y

Where:

  • A is the area under the first moment diagram Mi(x).
  • y is the corresponding ordinate (value) from the second moment diagram Mj(x), evaluated at the centroid of the area A.
  • Mi, Mj are continuous functions (e.g., moments) over a shared length L.

This library helps formalize that process by abstracting common shape-based moment diagrams (rectangles, triangles, trapezoids, parabolas) and automating their integration and visualization.


Key Features

  • Support for standard structural figure types:
    • Rectangle
    • TriangleLeft, TriangleRight
    • Trapezoid
    • Parabola
    • ParabolicTrapezoid (combining a parabola and trapezoid)
  • Clean and extendable figure model
  • Visualizer to plot and label diagrams
  • Operator overloading for quick integration via +
  • Strict input validation for type safety

Installation

This is a pure Python module. You can simply fork and clone the repository:

git clone https://github.com/yourusername/VereshchaginPy.git
#\x00 \x00T\x00e\x00m\x00p\x00o\x00r\x00a\x00r\x00y\x00 \x00c\x00h\x00a\x00n\x00g\x00e\x00 \x00f\x00o\x00r\x00 \x00P\x00R\x00
\x00
\x00

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

vereshchaginpy-0.1.1.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

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

vereshchaginpy-0.1.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vereshchaginpy-0.1.1.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for vereshchaginpy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e42cfd246397b2eb18640866956f628e9f2bcde586e16ec52d382a734650bbca
MD5 ff35740900c37b2715ab60a9cb1e4c7f
BLAKE2b-256 6c28741e2b1ea597085c09daeee3bc06bc0f467ed13c7a3f4379fa36a595e194

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vereshchaginpy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for vereshchaginpy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a3e99dea445e1d3e32c6b650803c4b12972774af3ca7102d5092e7397ee06acb
MD5 68c49dcef9a353c0bcbf9080e537fb85
BLAKE2b-256 2447738ca5734cbe1999806622a3d5359f93de64b9f6045944d95cb0f81f10b4

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