Skip to content

PieroZ01/Computational_Solid_Mechanics_SDIC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIT License LinkedIn Gmail


CSM

Computational Solid Mechanics

Scientific and Data-Intensive Computing Master Degree

University of Trieste (UniTS) & SISSA

2024-2025

Small library for the solution of simple problems in Computational Solid Mechanics.


Author Info

Name Surname Student ID UniTS email Personal email Master course
Piero Zappi SM3600004 piero.zappi@studenti.units.it piero.z.2001@gmail.com SDIC

(back to top)

Description

CSM is a small Python library for the solution of simple problems in Computational Solid Mechanics, namely:

  • Springs
  • Linear Bars
  • Plane Trusses

The library is designed to be easy to use and understand: the package allows the user to easily define the problem and quickly solve it.

Some tutorials are provided in the tutorials folder, where the user can find examples of how to use the library and understand the tipical workflow of solving a problem using the CSM framework.

The library is designed to be extensible, so that the user can easily add new features and functionalities.

(back to top)

Dependencies

The CSM library requires the following dependencies:

  • setuptools
  • numpy
  • matplotlib

To install the dependencies, you can run the following commands in your terminal:

pip install setuptools
pip install numpy
pip install matplotlib

(back to top)

Installation

To install the CSM library and being able to import it in your Python scripts a setup.py file is provided.
After downloading the repository, the installation can be done by running the following commands from the root folder of the project in your terminal:

# Build the module
python3 setup.py build_ext --inplace

# Install the module
python3 -m pip install .

After the installation, you can import the library in your Python scripts as shown in the tutorials.

The library is structured in a modular way, so that you can import only the modules you need.

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

About

This repository contains a small library to solve some simple problems in computational solid mechanics. It is designed to be easy to use and understand; tutorials are provided along with the code. The package was developed in 2025 as part of the course 'Computational Solid Mechanics', which is part of the Master's degree in SDIC at UniTS & SISSA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors