项目作者: deeptavker

项目描述 :
Simulating the classic sod shocktube using SPH technique
高级语言: Python
项目地址: git://github.com/deeptavker/shocktube_solver.git
创建时间: 2019-09-15T06:30:25Z
项目社区:https://github.com/deeptavker/shocktube_solver

开源协议:

下载


Shocktube_SPH

Simulating the classic sod shocktube using SPH technique.

The Sod shock tube problem, named after Gary A. Sod, is a common test for the accuracy of computational fluid codes, like Riemann solvers, and was heavily investigated by Sod in 1978. (Source : Wikipedia)

The initial conditions for the problem describe two states (left and right) of a quiescent gas separated by an imaginary diaphragm. The states are given as (ρl , pl , ul ) = (1.0, 1.0, 0.0) and (ρr,pr,ur) = (0.125,0.1,0) on the left and right hand sides of the diaphragm which is placed at x = 0.

Results using Summation Density for density udpation :

alt text

Results using Continuity Equation for density updation :

alt text