Analitically gradient of pressure is the same using P=c*c*rho or P=c*c*(rho-rho_0). However when studying the effect of gravity in a system with constant inflow of air, I found that the second formula is more stable than the first. The problem is that the geometry is more complex and the SPH particles are dispesed an atractive force can arrise when rho