A discrete scheme of the fluid motion equation based on the pore-scale SPH method