Fast detection of free surface and surface tension modelling via single-phase SPH