Implementation of CFD methods in Python
Project description
fluidspy
Your fluidspy is a Python library for Computational Fluid Dynamics (CFD) simulations.
Features
- Most famous algorithms implemented in python.
- Animations coming soon!
Installation
You can install fluidspy using pip:
pip install fluidspy
Usage
import numpy as np
from fluidspy import taylor_methods
f = lambda x: x**2 / 4
x, h = 2.0, 0.1
taylor = taylor_methods("central", "first", "one")
print(taylor, f"{taylor(f, x, h):.3f}")
taylor = taylor_methods("central", "second", "one")
print(taylor, f"{taylor(f, x, h):.3f}")
## Outputs
# Calling from FirstOrder with central difference with a function of one dimension. 1.000
# Calling from FirstOrder with central difference with a function of one dimension. 0.500
Contributing
If you want to contribute to this project, see CONTRIBUTING.md for guidelines.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contact
AVAniketh0905 (dekomori_sanae09) -> adimoolamaniketh@gmail.com Project Link: fluidspy
Acknowledgments
Manim has inspired me a lot!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fluidspy-0.0.5.tar.gz.
File metadata
- Download URL: fluidspy-0.0.5.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd6cd958e054a854def0fce5318d3fae0bef9a2be383d5bd21fc42e663ee1de4
|
|
| MD5 |
16ed54b11ae888dc82a95595edff13b1
|
|
| BLAKE2b-256 |
745daafd0250e7830e02e95a6b0d8b1a3ec919764f24b46641e9ab01553dabf6
|
File details
Details for the file fluidspy-0.0.5-py3-none-any.whl.
File metadata
- Download URL: fluidspy-0.0.5-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51f50a5e6a2dfc7f83c2bc4e3bcaec8e32d821448fafd56b2646b8bfb942c910
|
|
| MD5 |
5726a5c34b48304e32bfdd9d39b33b77
|
|
| BLAKE2b-256 |
dfa62838ec8e92db414c2c8d30ee2e3f45c853921b3c631642210dc019791d50
|