The surface tension effect is introduced according to the continuum model for the surface tension force. A smooth variation of the mollified function of the volume fraction (the color function) across the interface between immiscible fluids occurs due to the convolution of the original color function with the smooth kernel function. The polynomial eighth-degree kernel formulated for plane two-dimensional flows bounded by solid walls or symmetry planes is tested for the Rayleigh — Taylor instability problem.