sph implementation: internal pressure