Skip to content

Numerical solution of lid-driven cavity and poiseuille flow using SPH

Notifications You must be signed in to change notification settings

abhiyanpaudel/SPHcodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

SPHcodes

Run the makefile and create executables shear_cavity_dummy_part_sph.exe and poiseuille_sph.exe

make -f Makefile

command to run the program

./shear_cavity_dummy_part_sph.exe
./poiseuille_sph.exe

These codes are based on the textbook “Smoothed Particle Hydrodynamics : A meshfree particle method” and "SPH3DOnTheBook" code by G.R. Liu and M.B. Liu. 2D shear-driven cavity flow (chapter 4, Example 4.3, page 156) is solved using dummy particle method and periodic boundary condition is adopted to solve Poiseuille flow problem (chapter 4, Example 4.1, page 149). These codes are for educational purposes.