Skip to content

A C++ code to solve Euler's equations using the method of Smoothed Particle Hydrodynamics.

Notifications You must be signed in to change notification settings

jtmims/Sod-Shock-Tube-SPH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

1D Sod Shock Tube SPH Solver

A C++ code that solves Euler's equations using the method of Smoothed Particle Hydrodynamics with optional artificial viscosity. The equations are integrated using a sympletic leapfrog integration scheme. The intial conditions are that of the Sod Shock Tube. More can be found on the method and results are visible on the report located here.

Results

Without Artificial Viscosity

without.mp4

With Artificial Viscosity

with.mp4

About

A C++ code to solve Euler's equations using the method of Smoothed Particle Hydrodynamics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages