The invention provides a CFD (computational fluid dynamics) wave-absorbing boundary applying method based on a
modal discontinuous
finite element method, which comprises the following steps of: S1, dividing a grid and performing coordinate transformation on the grid, S2, performing interpolation calculation on a conservation quantity in the grid by taking a Legendre polynomial as a physical interpolation primary function, and S3, calculating a CFD wave-absorbing boundary on the basis of
Gaussian numerical integration points on a boundary surface. S4, based on the
Gaussian numerical
integration point, calculating a conservation quantity approaching the boundary along the interior of the boundary grid, S4, based on the
Gaussian numerical
integration point, calculating a conservation quantity approaching the boundary along the outer side of the boundary grid, and S5, calculating a flux at the boundary by adopting a flux reconstruction formula; according to the method, on the basis that the wave-absorbing effectiveness and the
numerical stability of an original mixed free / subsonic outflow type wave-absorbing boundary condition applying method are reserved, a high-order
modal item is reserved in the applying process, then the numerical discrete precision of a
solver is kept, ghost grids do not need to be arranged on the outer side of the boundary, and therefore the applying convenience is improved, and the method is suitable for large-scale popularization and application. And discontinuous
waves propagating from a flow field to a boundary can be effectively absorbed.