Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/computationalphysiology/0d-mechanics-simulator
Simple 0D mechanics simulator
https://github.com/computationalphysiology/0d-mechanics-simulator
Last synced: about 2 months ago
JSON representation
Simple 0D mechanics simulator
- Host: GitHub
- URL: https://github.com/computationalphysiology/0d-mechanics-simulator
- Owner: ComputationalPhysiology
- License: mit
- Created: 2024-10-18T18:56:43.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-03T17:47:08.000Z (3 months ago)
- Last Synced: 2024-11-03T18:28:48.116Z (3 months ago)
- Language: Python
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple 0D mechanics simulator
In this repo we implement simple 0D mechanics simulator.
## Install
First create python3 virtual environment and install required packages:
```bash
python3 -m venv venv
. venv/bin/activate
python3 -m pip install -r requirements.txt
```## Run
To run the simulator, execute:
```bash
python3 main.py
```## Jacobian computations
The script `symbolic_computations.py` contains code for deriving the expression for the jacobian of the system using `sympy`.## License
MIT## Author
- Henrik Finsberg
- Joakim Sundnes