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).
- Computational Fluid Dynamics (Advanced Mechanical Engineering)
- Linear Algebra, ODEs and PDEs, Numerical Integration
- C++ Applicative programming (OOPS Concepts)
- Data structure and Algorithms
- Visual Studio For C++ (For Code Creation, Edition, and to Compile and Build)
- GitHub Extension for Visual Studio (For Source Code Management (SCM))
- Paraview for visualization
- C++
- Microsoft - Component Object Modeling (COM)
- CFD Discretization
-
Start Microsoft Visual Studio and select File > Open > CreatingInterfaceGitHub.
-
Go to the directory named for the Geometry, and double-click the Geometry.sln file.
-
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.
- For C++, VS, COM: https://docs.microsoft.com/en-in/
- NPTEL - IIT Lectures
Yogeshwaran