Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.9%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: GolfBravoSierra
  • License: gpl-3.0
  • Language: Python
  • Default Branch: main
  • Size: 121 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 3 years ago · Last pushed almost 3 years ago
Metadata Files
Readme Changelog License Citation

README.md

Truss Solver for Python.

PyPI version shields.io Binder Open In Colab Documentation Status License: GPL v3 Made with love in Graz (Austria) codecov DOI Codestyle black

TrussPy is a 3D Truss-Solver written in Py-thon which is capable of material and geometric nonlinearities. It uses an object-oriented approach to structure the code in meaningful classes, attributes and methods. TrussPy contains both multistep functionality (multiple loadcase analysis with sequenced external forces) and an adaptive method to control incremental stepwidths. A simple post-processing inside TrussPy is directly available via Matplotlib. Model Plots whether in undeformed or deformed configuration with optional contour plots on element forces are easy to show. They may also be generated for a series of increments and saved as a GIF Movie. Last but not least History (a.k.a. x-y) Plots for a series of increments or Path Plots along a given node path may be generated for nodal properties (displacements, forces) or global quantities like the Load-Proportionality-Factor (LPF).

Official Documentation: http://trusspy.readthedocs.io/

Installation

Use pip to install TrussPy

pip install trusspy

Example

```python import trusspy as tp

M = tp.Model()

create nodes

with M.Nodes as MN: MN.addnode(1, (0, 0, 0)) MN.addnode(2, (1, 0, 0))

create element

with M.Elements as ME: ME.addelement(1, [1, 2]) ME.assignmaterial("all", [1]) ME.assign_geometry("all", [1])

create displacement (U) boundary conditions

with M.Boundaries as MB: MB.addboundU(1, (0, 0, 0)) MB.addboundU(2, (1, 0, 0))

create external forces

with M.ExtForces as MF: MF.add_force(2, (1, 0, 0))

build model, run, show results

M.build() M.run()

plot results of last increment

M.plot_model(inc=-1, contour="force") ```

Online Notebook

Try TrussPy without installation in an Interactive Online Notebook.

Changelog

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

License

TrussPy - Truss Solver for Python (C) 2023 Andreas Dutzler, Graz (Austria).

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Owner

  • Name: GolfBravoSierra
  • Login: GolfBravoSierra
  • Kind: user

I'm a computer engineering student, my git is messed up I know but I'll improve I promise. Feel free to look around

Citation (CITATION.cff)

authors:
- family-names: "Dutzler"
  given-names: "Andreas"
  orcid: "https://orcid.org/0000-0002-9383-9686"
cff-version: 1.2.0
message: "If you use this software, please cite it using these metadata."
title: "trusspy: Truss Solver for Python"
type: software
doi: 10.5281/zenodo.7723338
url: https://github.com/adtzlr/trusspy
license: GPL-3.0

GitHub Events

Total
Last Year

Dependencies

.github/workflows/coverage.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • codecov/codecov-action v3 composite
.github/workflows/publish-to-pypi.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • pypa/gh-action-pypi-publish release/v1 composite
docs/requirements.txt pypi
  • myst-nb *
  • pydata-sphinx-theme *
  • sphinx-copybutton *
environment.yml pypi
  • trusspy *
pyproject.toml pypi
  • imageio *
  • matplotlib *
  • numpy *
  • scipy *