Skip to content

A Python Module For Structural Cable Nets Analysis

License

Notifications You must be signed in to change notification settings

jorgepz/cablenets

Repository files navigation

cablenets: A Python Module for Structural Cable Nets Analysis

codecov

cablenets is a tiny python module for solving structural cable nets analysis problems using Convex Optimization formulations, in particular CVXOPT Python library.

The solver implements an optimization formulation presented in this paper, published in the International Journal of Solids and Structures.

image saddle net

Installing 🤞

You can install cablenets and its dependencies using pip with this command:

pip install git+https://github.com/jorgepz/cablenets.git#egg=cablenets

Using 💪

Include the import cablenets in your code. By now the interface consists in two functions: solve and plot. You are encouraged to explore the examples folder to see how to use cablenets.

The function solve receives numpy arrays with: the reference nodes coordinates, a connectivity matrix (see examples), the young moduli, the cross-section areas, a matrix with the imposed-deformed positions of certain nodes and a matrix with the applied forces.

nodes_def, normal_forces = solve( nodes, connec, youngs, areas, disp_mat, fext_mat )

The output consists in: the matrix of the deformed nodes and a vector with the normal forces of the elements.

The function plot receives the nodes, the connectivity, the deformed positions of the nodes and the normal forces.

plot( nodes, connec, nodes_def, normal_forces )

Connecting 🤙

Email: jorgepz AT fing edu uy

Contributing 🤝

Contributions are welcome. Open an issue and let's discuss there. The JOSS authorship guidelines are considered as a starting point.

About

A Python Module For Structural Cable Nets Analysis

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages