This repository contains a Python implementation of a Deep Learning-based approach to solving the Navier-Stokes equations, which are fundamental in fluid dynamics. The solution utilizes a Physics-Informed Neural Network (PINN) to model fluid flow around a cylindrical obstacle, capturing complex flow patterns such as vortices.
Before running the script, ensure you have the following packages installed:
torch
: For building and training the neural network model.numpy
: For handling numerical operations.scipy
: Used for loading the dataset.matplotlib
: For visualizing the results.You can install these packages using pip:
pip install torch numpy scipy matplotlib
The data used in this project for training and testing the Physics-Informed Neural Network model was obtained from the following source:
This dataset is part of a collection of data used for various physics-informed machine learning projects. Specifically, the cylinder_wake.mat
file contains the data used for solving the Navier-Stokes equation in our project.
To use the same dataset for your experiments, please follow these steps:
cylinder_wake.mat
.git clone https://github.com/maziarraissi/HPM.git