Skip to main content

fl0wINN: Multi-Scale Turbulent Flow Investigation using Neural Networks

Project description

fl0wINN: Multi-Scale Turbulent Flow Investigation using Neural Networks

fl0wINN is a Python package designed for investigating multi-scale turbulent flows using physics-informed neural networks (PINNs). This project aims to provide a flexible and extensible framework for simulating various fluid dynamics problems, including channel flow, lid-driven cavity, and flow over an airfoil.

Table of Contents

Installation

To install the required dependencies, run:

git clone https://github.com/errasti13/flowINN.git
cd flowINN
pip install .

Usage

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.0.tar.gz (4.2 MB 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.0-py3-none-any.whl (104.9 kB view details)

Uploaded Python 3

File details

Details for the file flowinn-1.2.0.tar.gz.

File metadata

  • Download URL: flowinn-1.2.0.tar.gz
  • Upload date:
  • Size: 4.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.5

File hashes

Hashes for flowinn-1.2.0.tar.gz
Algorithm Hash digest
SHA256 1808ee176c65680b9f05cfa28eed363a67b25ef3274e08e9ccb83279b5220ab7
MD5 620f62c88d8dd7e7eee8faf7b79aa3f2
BLAKE2b-256 3b0e24a624d2e907f1961e8aca2bf347499c6fa045e0acda25fc01ee6ad92ad1

See more details on using hashes here.

File details

Details for the file flowinn-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: flowinn-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 104.9 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6edc275e6b946f95c916031c66390e0d6ed66973231c17dd512cca2a1832628
MD5 9e22c0b017af7d61d83a38cc22262a06
BLAKE2b-256 e1527e2382381a1ffb830057cf5f32d9564d4e2316fca04dc0a5df5759c884f4

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