fluidspy
is a Python library for Computational Fluid Dynamics (CFD) simulations.
- Most famous cfd algorithms implemented in python.
- Animations coming soon!
You can install fluidspy
using pip:
pip install fluidspy
import fluidspy
fluidspy.standard.one_dim_constant_heat_transfer()
# Should ouput a matplotlib animation.
If you want to contribute to this project, see CONTRIBUTING.md
for guidelines.
- Fork this repository.
- Clone the forked repository to your local machine.
git clone {repo_name}
- Change the current working directory to the cloned repository.
- Add the upstream reference. This will add the original repository as reference.
git remote add upstream [email protected]:AVAniketh0905/fluidspy.git
- Note
- Everytime you boot up/push please run the following command to stay up-to date with the original repo.
git pull upstream main
- Everytime you boot up/push please run the following command to stay up-to date with the original repo.
- Note
- Create a virtual environment.
python -m venv venv
- Activate the virtual environment.
- Windows
venv\Scripts\activate
- Linux
source venv/bin/activate
- Windows
- Install the dependencies.
pip install -r requirements_dev.txt
- Make the changes.
- Run the tests.
pytest
- Stage the changes.
git add .
- Run Pre-commit hooks.
pre-commit run --all-files
- Commit the changes.
- Push the changes to your forked repository.
- Create a pull request.
- Wait for the review!!!
This project is licensed under the MIT License. See the LICENSE file for details.
AVAniketh0905 (dekomori_sanae09) Project Link: fluidspy
Manim
has inspired me a lot!!!