Skip to main content

Structural analysis of continuous beam using stiffness matrix method

Project description

Introduction

This package acts as a Graphical User Interface (GUI) for another package with name continuousbeam-backend. Through the graphical interface of this package, the user inputs the data about the geometry of a continuous beam and the loads acting upon it. The backend package then performs the structural analysis of the given beam under the given loading and makes it available to our frontend package in numeric format. Our frontend package converts this numeric information to graphical format and displays various structural engineering diagrams, such as Reaction diagram, Shear Force diagram, Bending Moment diagram, and Deflection diagram.

Modules in the Package

There are four modules in the continuousbeam package. They are as described below.

  • contibeam_main: This is the starting point of the program. It produces a GUI menu, through which the user can invoke the remaining three modules.
  • beam_data: This module collects the data about the geometry of the continuous beam from the user. The data includes such things as number of beam members, length, modulus of elasticity, moment of inertia of each beam member, and the type of each joint in the continuous beam.
  • load_data: The user inputs the data about the loads acting on the continuous beam through this module. The types of loads accepted by this module are: joint loads (point loads and moments), and member loads (uniformly distributed loads and point loads). In this version of the package, only vertical point loads are considered; also the uniformly distributed loads that cover the full length of a member are allowed.
  • analysis: This module takes the numeric results of analysis from the backend package. Then using those results, it produces and displays various diagrams needed by a structural engineer. It also stores the numeric data in a file with name 'structinsight_results.txt'. The file is saved in the current directory, that is, the directory from where the program was invoked.

Installation and usage

Issue the following command to install the package on your system.

pip install continuousbeam

Requirements

"continuousbeam-backend >= 2023.11"

Notes

    1. The above requirements will be installed automatically while installing this package.
    1. Besides these, the package requires Python >= 3.8 and tkinter >= 8.6. (tkinter is the graphics library which is in-built in the Windows version of Python. On Linux and Mac platforms, some distributions of Python do not include it. In such cases, it will have to be installed separately.)

Using the package

This package can be executed directly from the command prompt by issuing the command in any of the following formats.

 $ python -m continuousbeam.contibeam_main

# or

 $ contibeam

The package can be imported also. It is expected that it would be imported by a larger GUI program which deals with different types of structures, such as trusses, frames, etc. The suitable format of import under these circumstances would be as follows.

from continuousbeam import contibeam_main

After importing the 'contibeam_main' module, the importing program can display the GUI menu of the continuous beam by a statement as shown below.

contibeam_main.ContiBeamMenuWindow(parent_window_reference) 

The 'parent_window_reference' in the above statement would be some tkinter window handle in the importing program.

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

continuousbeam-2023.11.0.tar.gz (38.6 kB view details)

Uploaded Source

Built Distribution

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

continuousbeam-2023.11.0-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

Details for the file continuousbeam-2023.11.0.tar.gz.

File metadata

  • Download URL: continuousbeam-2023.11.0.tar.gz
  • Upload date:
  • Size: 38.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for continuousbeam-2023.11.0.tar.gz
Algorithm Hash digest
SHA256 2a38e6f924a8b233dc8a876ae8ac40092f15e6e00c04052356c2166e19d87ac6
MD5 86f35f76971d60ccc4dc174fe645237b
BLAKE2b-256 c6ea765001cf57c2d6a8029dfd88a43f8f6b6d316d82184281a765d7bd90ce2c

See more details on using hashes here.

File details

Details for the file continuousbeam-2023.11.0-py3-none-any.whl.

File metadata

File hashes

Hashes for continuousbeam-2023.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 82949052b6b92a2598172d6f2ad013b29e3e1ab8e7600a717d36cf0e9fc3c6d6
MD5 c80b950ec77ea1ea9c3ddcbc73042fb1
BLAKE2b-256 e108c6fc5f9258fd4594ad56b1111dddbd0b47abd2e9a21452f585a62a8fa00f

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