Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skhelladi/wxrtcfd_code
Real-time Computational Fluid Dynamics (C/C++, wxWidget)
https://github.com/skhelladi/wxrtcfd_code
cfd fluid-dynamics fluid-simulation real-time
Last synced: 5 days ago
JSON representation
Real-time Computational Fluid Dynamics (C/C++, wxWidget)
- Host: GitHub
- URL: https://github.com/skhelladi/wxrtcfd_code
- Owner: skhelladi
- License: gpl-3.0
- Created: 2022-12-21T18:20:31.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-21T08:02:13.000Z (over 1 year ago)
- Last Synced: 2023-12-16T15:54:06.608Z (about 1 year ago)
- Topics: cfd, fluid-dynamics, fluid-simulation, real-time
- Language: C++
- Homepage:
- Size: 23.9 MB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Real-time Computational Fluid Dynamics
This repository presents a real-time CFD solver based on a "rough" representation of conservation equations. The solver is implemented in **C/C++** for **real-time** purpose and **wxWidget** for the user interface and graphical renderings. It supports a wide range of features:
- 2D problems (3D in progress)
- real-time flow patern variation
- variety of obstacles (in progress)
- drag-and-drop obstacles
- postprocessing using: scalars (pressure, velocity, tracer), streamlines and velocity vectors## Getting Started
### PrerequisitesFirst, make sure the following libraries are installed. Mainly
- wxWidgets
- OpenMP### Install an build
#### 1. Using cmake (command-line)
```
git clone https://github.com/skhelladi/wxRTCFD_Code.git
cd wxRTCFD_Code
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make -j
```#### 2. Using CodeBlocks
```
git clone https://github.com/skhelladi/wxRTCFD_Code.git
cd wxRTCFD_Code
codeblocks wxRTCFD_Code.cbp
```
then build.#### 3. Using Visual Studio Code
```
git clone https://github.com/skhelladi/wxRTCFD_Code.git
cd wxRTCFD_Code
code .
```
then build.### Run the code
Execute wxRTCFD_Code binary file in build directory.## Screenshots
________________________
_______________________## Tutorial (on Youtube)
[![Tutorial](doc/fig_4.png)](http://www.youtube.com/watch?feature=player_embedded&v=hqhZNt9UP4Q)
## License
This project is licensed under the GPL-3 license.Unless you explicitly state otherwise, any contribution intentionally submitted by you for inclusion in this project shall be licensed as above, without any additional terms or conditions.
## Authors
- Sofiane KHELLADI### Code inspiration
This code is based on the theoretical developments and javascript code presented by Matthias Müller in "Ten Minute Physics" channel.Link: https://matthias-research.github.io/pages/tenMinutePhysics/17-fluidSim.pdf
and the Qt version of the same code developed by Sofiane KHELLADI
Link: https://github.com/skhelladi/RTCFD_Code