Creating APIs for simulating Fluids
This project is to demonstrate how to create Geometry using C++.
This code is developed purely with self-interest and intended to show how to create simple geometries for simple fluid simulations. It is NOT recommended to re-use of any part of the code without author’s knowledge and author is not responsible for any bug(s).
1) Computational Fluid Dynamics (Advanced Mechanical Engineering) 2) Linear Algebra, ODEs and PDEs, Numerical Integration 3) C++ Applicative programming (OOPS Concepts) 4) Data structure and Algorithms
1) Visual Studio For C++ (For Code Creation, Edition, and to Compile and Build) 2) GitHub Extension for Visual Studio (For Source Code Management (SCM)) 3) Paraview for visualization
1) C++ 2) Microsoft - Component Object Modeling (COM) 3) CFD Discretization
Press F5 or use Build > Build Solution to build the solution.
The executable will be built in the default \bin or \bin\Debug directory.
A rectangular domain (or a tank) of size 3 x 2 meters containing a total of 300 x 200 particles.
Particles are initially distinct into two different regimes representing water (on the left-bottom) with density 1000 kg/m^3
and air (on the remaining space) with 1/1000 th of density of water respectively.
1) For C++, VS, COM: https://docs.microsoft.com/en-in/ 2) NPTEL - IIT Lectures
Yogeshwaran