Generalized entropically damped artificial compressibility for weakly compressible SPH. (30th October 2021)