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.0.tar.gz (3.2 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.0-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vereshchaginpy-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 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.0.tar.gz
Algorithm Hash digest
SHA256 825f4cefc55d0d9785b387decd3ed7b7e8634676ead03ebabf46ac3651035743
MD5 4ac749321f125c0dcbfc7e612b74d528
BLAKE2b-256 abed019bd89acbcd5b9292c069a3e9ce593c4b190895dd1898430d88e12e120f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vereshchaginpy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.0 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a09bb9d8f3a404e15a35258daf5b3f8d84cef9628f0181fe413b26f1a3df4c3
MD5 cc9730d998986c9e260972c9dcc79e16
BLAKE2b-256 02b6b85517143a7bd922146ae292b61c2cb0693b3c4c86a5c5c56313365021f2

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