{"id":23720004,"url":"https://github.com/PetrKryslUCSD/pystran","last_synced_at":"2025-09-03T21:30:32.255Z","repository":{"id":264100363,"uuid":"890107465","full_name":"PetrKryslUCSD/StrAnalyzer","owner":"PetrKryslUCSD","description":"Structural analyzer: beam and truss structures","archived":false,"fork":false,"pushed_at":"2024-11-22T01:23:36.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-22T02:24:03.560Z","etag":null,"topics":["analysis","python","structural"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PetrKryslUCSD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-18T02:01:17.000Z","updated_at":"2024-11-22T01:23:40.000Z","dependencies_parsed_at":"2024-11-22T02:34:12.911Z","dependency_job_id":null,"html_url":"https://github.com/PetrKryslUCSD/StrAnalyzer","commit_stats":null,"previous_names":["petrkryslucsd/stranalyzer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PetrKryslUCSD%2FStrAnalyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PetrKryslUCSD%2FStrAnalyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PetrKryslUCSD%2FStrAnalyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PetrKryslUCSD%2FStrAnalyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PetrKryslUCSD","download_url":"https://codeload.github.com/PetrKryslUCSD/StrAnalyzer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231918541,"owners_count":18445746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analysis","python","structural"],"created_at":"2024-12-30T21:56:09.054Z","updated_at":"2025-09-03T21:30:32.221Z","avatar_url":"https://github.com/PetrKryslUCSD.png","language":"Python","readme":"[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active)\n[![Documentation pages](https://img.shields.io/badge/documentation-blue)](https://petrkryslucsd.github.io/pystran)\n \n# pystran: Python for Structural Analysis\n\nA simple structural analysis tool in Python, for structures consisting of truss\nand beam members, springs, and rigid bodies, both in two dimensions and in three dimensions.\n\n\n![Alt pystran capabilities in graphic abstract](docs/splash.png)\n\n## News\n\n- 03/13/2025: Update documentation for the sphinx system.\n- 03/10/2025: Add rigid links and general springs.\n\n\n[Past news](#past-news)\n\n## Features \u0026 Limitations\n\n\n- The package analyzes two-dimensional and three-dimensional structures made up\n  of truss (axial) members and beams (possibly in combination), rigid links, and\n  general springs. Concentrated masses can be added at joints.\n- Linear statics and dynamics (free vibration) solvers are included.\n- Only elastic models can be solved.\n- For beams, only the Bernoulli-Euler model is implemented, so no shear\n  deformation is taken into account.\n- Only straight members are treated.\n- It is assumed that the cross sections are doubly symmetric, and there is no coupling between the bending actions in the\n  two orthogonal principal planes.\n- Coupling of axial and bending action is not implemented. This means that the\n  neutral axis must pass through the centroid.\n- Warping of the cross sections is not modelled, hence only free torsion\n  effects are included.\n- Member loading is not considered. All member loading needs to be converted to\n  nodal forces by the user.\n- Member end releases (hinges)\n  are not implemented. Internal hinges can be modelled with linked joints. \n- Degrees of freedom are only along the global Cartesian axes. Skew supports\n  are not included (except with a penalty method based on springs)\n- Offsets of the beams from the joints are currently not implemented.\n- Rigid links between pairs of joints can be modeled with a penalty approach.\n\n\n## Requirements\n\n`pystran` depends on the following Python packages: \n- NumPy\n- SciPy\n- Matplotlib\n\nThese requirements can be easily satisfied by running the examples in the [Spyder IDE](docs/spyder/spyder.md).\n\n## Documentation\n\nDocumentation of the package is provided in these [HTML pages](https://petrkryslucsd.github.io/pystran).\n\nMore details about the generation of the documentation are [here](docs/make_docs.md).\n\n## Running\n\nThis package is not distributed through the official Python channels.\nIt needs to be downloaded from GitHub as a zip file, and expanded in some convenient location. \n\nThe __`pystran` folder__ can be located by looking for this README.md file.\n\nThe easiest way to run a pystran example is to download and install Spyder 6.\n[Detailed instructions](docs/spyder/spyder.md) are provided. \n\nIt is also possible to run simulations using a [plain Python in a terminal](docs/terminal/terminal.md).\n\n\n## Tutorials\n\nStep-by-step tutorials are available in the [`tutorials`](./tutorials) folder. \nFor example, run tutorials in the `pystran/tutorials` in the terminal  as \n```\npy tutorials/01_three_bars_tut.py\n```\n\nOr, [use Spyder](docs/spyder/spyder.md), which makes the whole process a lot easier to set up.\n\n\n## Testing\n\nIn the `pystran/tests` folder, run \n```\npy unittests_planar_truss.py \n```\nand analogously for the other unit test files.\n\n## \u003ca name=\"past-news\"\u003e\u003c/a\u003ePast news\n\n- 03/05/2025: Describe the operation of the scripts.\n- 02/12/2025: Make it possible to use general joint and member identifiers.\n- 02/05/2025: Add general springs to ground.\n- 01/30/2025: Add tutorials.\n- 01/22/2025: Implement initial functionality. \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPetrKryslUCSD%2Fpystran","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPetrKryslUCSD%2Fpystran","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPetrKryslUCSD%2Fpystran/lists"}