fluid simulation based on smoothed particle hydrodynamics