A classical Lagrangian staggered-grid hydrodynamic (SGH) method on triangular grids is prone to cell-to-cell oscillations. The causes of these oscillations can be divided into two categories. One is dissipation and the other is fluid deformation. For dissipation, when the kinematic energy stored on nodes are dissipated into internal energy in cells (shock wave is the most typical case), the dissipated energy may be unevenly assigned among cells, thus causes oscillations. This kind of oscillations can be controlled to a small level through a carefully designed viscous stress tensor or artificial heat flux, as studied widely in references. For fluid deformation, as the grid composed of straight lines cannot deform as flexibly as a continuous fluid, the volume of a grid cell would not accurately represent that of a fluid element, and this volume error will lead to oscillations too. In this article, we study in the SGH framework a matter-flow method, whose design principle is representing the under-grid bending motion of fluid elements by matter transport through grid edges. We first derive governing equations of the matter flow velocity defined at each edge of a grid, then derive formulas for the mass, energy, and momentum fluxes on the edge with the matter flow velocity. We test the matter-flow method in largely deforming fluids problems on triangular meshes. It is shown that serious oscillations arise in the regular SGH simulations, while they are well controlled after implementing the matter-flow method. In order to get a knowledge about the adaptability of the matter-flow method, we also test it in shock problems that do not fall within its design goal. For this purpose, an artificial heat flow is introduced in the SGH scheme to play a major role in stabilizing the shock capture. The test results show that the matter-flow method can help improve the shock simulations. The source code can be downloaded from the GitHub repository: https:// github.com/zhaoli0321/Matterflow.