https://github.com/computationalphysiology/0d-mechanics-simulator
Simple 0D mechanics simulator
https://github.com/computationalphysiology/0d-mechanics-simulator
Last synced: 5 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 (9 months ago)
- Default Branch: main
- Last Pushed: 2024-11-03T17:47:08.000Z (8 months ago)
- Last Synced: 2024-12-01T19:23:06.886Z (7 months ago)
- Language: Python
- Size: 25.4 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