Skip to content

ShunqH/SPH_CPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPH 1D CPP

This is an SPH code for solving the 1D Sod Shock Tube problem.

Running the Simulation

  1. Compile the code:

    make
  2. Navigate to the bin directory:

    cd ./bin
  3. Run the simulation:

    sod.sph -i ../input/sod.in

Analyzing the Output

You can use the Python script located in ./pyscript to read the output files.

Modifying the Setup

To change the setup, edit the file located at:

./input/sod.in

About

This is a SPH code for 1D sod shock simulation in C++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published