Giter Club home page Giter Club logo

trusscalc_2d's Introduction

trusscalc_2D

MATLAB code that solves a plannar (2D) truss using the displacement (stiffness) method.

Solution of a sample truss

A typical plannar truss is solved using the code. This truss is used as the default example in the code.

Truss Geometry

Boundary conditions

Supports

Node 1 is pinned and node 9 is free to move only on the x-axis (x-roller).

Loads

Nodes 3,5 and 7 are subjected to a force of 50 kN with direction in the negative y-axis.

Results

  Node   x displacement [m]   y displacement [m]     x Force [N]     y Force [N]
     1                    0                    0      -7.713e-10         7.5e+04
     2              0.00025            -0.000303               0               0
     3             3.75e-05           -0.0005686               0          -5e+04
     4             0.000175           -0.0007237               0               0
     5             0.000125           -0.0007914               0          -5e+04
     6              7.5e-05           -0.0007237               0               0
     7            0.0002125           -0.0005686               0          -5e+04
     8            5.514e-19            -0.000303               0               0
     9              0.00025                    0               0         7.5e+04

Member   Area [m^2]       E [Pa]       Force [N]          Strain     Stress [Pa]
     1     1.00e-02     2.00e+11      -1.061e+05      -5.303e-05      -1.061e+07
     2     1.00e-02     2.00e+11         7.5e+04        3.75e-05         7.5e+06
     3     1.00e-02     2.00e+11       1.061e+05       5.303e-05       1.061e+07
     4     1.00e-02     2.00e+11        -1.5e+05        -7.5e-05        -1.5e+07
     5     1.00e-02     2.00e+11      -3.536e+04      -1.768e-05      -3.536e+06
     6     1.00e-02     2.00e+11        1.75e+05        8.75e-05        1.75e+07
     7     1.00e-02     2.00e+11       3.536e+04       1.768e-05       3.536e+06
     8     1.00e-02     2.00e+11          -2e+05         -0.0001          -2e+07
     9     1.00e-02     2.00e+11       3.536e+04       1.768e-05       3.536e+06
    10     1.00e-02     2.00e+11        1.75e+05        8.75e-05        1.75e+07
    11     1.00e-02     2.00e+11      -3.536e+04      -1.768e-05      -3.536e+06
    12     1.00e-02     2.00e+11        -1.5e+05        -7.5e-05        -1.5e+07
    13     1.00e-02     2.00e+11       1.061e+05       5.303e-05       1.061e+07
    14     1.00e-02     2.00e+11         7.5e+04        3.75e-05         7.5e+06
    15     1.00e-02     2.00e+11      -1.061e+05      -5.303e-05      -1.061e+07

License

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License.

CC BY-NC-ND 4.0

trusscalc_2d's People

Contributors

fk-mad avatar

Watchers

 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.