Giter VIP home page Giter VIP logo

incompressiblen-s's Introduction

Bonus_AP_NS

This is an Incompressible Navier stokes equation solver. A lid driven cavity is simulated in the code. Firstly, the momentum equations are solved and results are used in the compute pressure (Successive Over-relaxation used). The updated pressure is used to further update the velocity (Predictor Corrector Method). Non-dimensional formulation is done. For more details on formulation, please refer to the bonus_AP_NS_Formulation.pdf in 'docs'.

Procedure to build the code: (1) Please ensure 'build' and 'results' directories exist. (2) Go to the build directory. When running for the first time, please clear the build folder. (3) execute cmake ../src --> make --> ./incompressible

Results: The results from the simulation is written in the 'results' folder. The pressure and velocity data is written into dat files for each time step. The values are parsed according (x_cord, y_cord, pressure_value) for pressure and (x_cord, y_cord, vel_value, x-vel, y-vel) for velocity.

Procedure to view Results (1) Please clear any existing data from results/Pressure and results/Velocity. (2) Make sure gnuplot is installed on the system. (3) Go to the results directory. Open gnuplot terminal and execute load 'plot.gnu'

alt text

incompressiblen-s's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.