Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flowinn-1.2.2.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flowinn-1.2.2-py3-none-any.whl (41.0 kB view details)

Uploaded Python 3

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

Hashes for flowinn-1.2.2.tar.gz
Algorithm Hash digest
SHA256 8046b420b967bb084745105be0756f2cb72f753ad0db7f340a44b1b83f90eda6
MD5 aff0f6e9267e79340005e9d7f8ce229f
BLAKE2b-256 a03d0814cfe2320d0038e62d30126fd121f6737e05cf8da7369e538c116da2f8

See more details on using hashes here.

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

Hashes for flowinn-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1f0bf897ceebe03ed42d0aceb0ee222e8df153c01fad80fac8e611c45f0291a5
MD5 f024c16dc1dd9e615300818af53c5d87
BLAKE2b-256 231b824b07c0313e1b6e0a2b9bc98b5dfae1bdca91725f9e650b805d067b200d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page