jbrillon / 2D-compressible-Navier-Stokes

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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


Languages

Language:Python 100.0%