Giter Site home page Giter Site logo

jbrillon / 2d-compressible-navier-stokes Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 91.17 MB

Solves the 2D compressible Navier-Stokes equations using finite-difference with a staggered grid arrangement to simulate acoustic waves.

Python 100.00%
finite-difference navier-stokes compressible-flow computational-fluid-dynamics

2d-compressible-navier-stokes's Introduction

Date written: December 2018

As part of the final project for ME 614 (Computational Fluid Dynamics) at Purdue University taught by Professor Scalo of the Mechanical Engineering department.

2D Compressible Navier-Stokes Solver

Solves the 2D compressible Navier-Stokes equations using finite-difference with a staggered grid arrangement to simulate acoustic waves in a doubly periodic domain. For more details, please refer to the report by clicking here.

Evolution of Pressure in Acoustic Waves

The pressure fluctuations of acoustic waves in a doubly periodic domain are shown below.

Order of Accuracy Verification

Below illustrates the expected 2nd-order convergence of the staggered finite-difference scheme is acheived.

Staggered Grid Arrangement

The grid arrangement for x-velocity, y-velocity, and passive scalars are shown below, respectfully.

Finite-Difference Operators

The sparsity pattern for the finite-difference operators for the x-momentum, y-momentum, and energy equations are shown below, respectfully.

2d-compressible-navier-stokes's People

Contributors

jbrillon avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

austin-facey

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.