fl0wINN: Multi-Scale Turbulent Flow Investigation using Neural Networks
Project description
fl0wINN
fl0wINN: Multi-Scale Turbulent Flow Investigation using Neural Networks
Description
fl0wINN is a Python package for investigating multi-scale turbulent flow using neural networks. It leverages Physics-Informed Neural Networks (PINNs) to solve complex fluid dynamics problems.
Table of Contents
Installation
You can install fl0wINN using pip:
pip install flowinn
Usage
from flowinn import PINN
# Example usage
pinn = PINN()
# ... your code ...
Running Examples
You can run the provided examples to see how the package works:
python examples/MinimalChannelFlow.py
python examples/LidDrivenCavity.py
python examples/FlowOverAirfoil.py
Project Structure
The project is organized as follows:
flowINN/
├── examples/ # Example scripts for different simulations
├── scripts/ # Utility scripts for cleaning dependencies
├── flowinn/ # Source code for the package
│ ├── config.py # Configuration settings
│ ├── mesh/ # Mesh generation and handling
│ ├── models/ # Neural network models
│ ├── physics/ # Physics-based loss functions and boundary conditions
│ ├── plot/ # Plotting and post-processing
│ ├── tests/ # Test cases for different flow problems
│ └── training/ # Training routines and loss functions
├── requirements.txt # List of dependencies
├── setup.py # Setup script for packaging
└── README.md # Project documentation
Examples
Minimal Channel Flow
This example demonstrates a 3D channel flow simulation.
python examples/MinimalChannelFlow.py
Lid-Driven Cavity
This example demonstrates a 2D lid-driven cavity simulation.
python examples/LidDrivenCavity.py
Flow Over Airfoil
This example demonstrates a 2D flow over an airfoil simulation.
python examples/FlowOverAirfoil.py
Contributing
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
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 flowinn-1.2.2.tar.gz.
File metadata
- Download URL: flowinn-1.2.2.tar.gz
- Upload date:
- Size: 30.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8046b420b967bb084745105be0756f2cb72f753ad0db7f340a44b1b83f90eda6
|
|
| MD5 |
aff0f6e9267e79340005e9d7f8ce229f
|
|
| BLAKE2b-256 |
a03d0814cfe2320d0038e62d30126fd121f6737e05cf8da7369e538c116da2f8
|
File details
Details for the file flowinn-1.2.2-py3-none-any.whl.
File metadata
- Download URL: flowinn-1.2.2-py3-none-any.whl
- Upload date:
- Size: 41.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f0bf897ceebe03ed42d0aceb0ee222e8df153c01fad80fac8e611c45f0291a5
|
|
| MD5 |
f024c16dc1dd9e615300818af53c5d87
|
|
| BLAKE2b-256 |
231b824b07c0313e1b6e0a2b9bc98b5dfae1bdca91725f9e650b805d067b200d
|