abhiyanpaudel / SPHcodes

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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


Languages

Language:Fortran 89.5%Language:Makefile 5.8%Language:MATLAB 4.7%