Code Monkey home page Code Monkey logo

truss-solver's Introduction

Description

The 2D Truss Problem Solver is a Python-based graphical user interface (GUI) application designed to simplify the analysis of 2D truss structures. It provides an intuitive platform for inputting truss configurations and loads, conducting calculations, and visualising the resulting forces and deformations.

Features

  • Interactive GUI for straightforward input and modification of truss configurations
  • Visualisation of truss structures and results
  • Calculation of nodal displacements and member forces
  • Results presented in a clear, tabular format

Installation

To run the 2D Truss Problem Solver, Python must be installed on your system, along with several dependencies.

Prerequisites

  • Python 3.x
  • numpy
  • matplotlib
  • tkinter (should be included with Python)

Example

The example below demonstrates how to analyse a truss with the 2D Truss Problem Solver.

Step 1: Configure Truss Geometry Enter the total number of nodes and elements. For each element, input the start node (S.N), end node (E.N), modulus of elasticity (E), and cross-sectional area (A). For nodes, provide their coordinates on the X and Y axes.

Step 2: Apply Loads and Constraints Define nodes that have prescribed displacements with values along the X and Y axes. For point loads, specify the node number and the load magnitude on the X and Y axes.

t1

Step 3: Perform Analysis Move to the 'Calculation' tab to calculate the global stiffness matrix, displacements, reactions, and element stresses.

t2

Step 4: Visualise Truss Navigate to the 'Figure' tab to view the structure. It displays nodes, elements, applied displacements, and point loads. t3

truss-solver's People

Contributors

emhayki avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.