This invention relates to the field of
wave simulation technology, and discloses a
wave simulation method, apparatus, equipment, and medium based on a triangular numerical wave
flume. The method includes constructing a right-angled triangular computational domain, meshing the right-angled triangular computational domain, setting the top boundary of the right-angled triangular computational domain as a pressure outlet, and setting the horizontal right-angled side, vertical right-angled side, and inclined side as velocity inlets; loading the theoretical
velocity vector of wave water particles onto the velocity inlets corresponding to the horizontal right-angled side, vertical right-angled side, and inclined side; constructing a
wave simulation model and superimposing a
momentum source term within the wave
simulation model; adjusting the difference between the theoretical velocity solution of the wave and the current numerical solution of the flow field through
a weighting function of the
momentum source term; iteratively solving the wave
simulation model, and outputting and updating the wave surface elevation and flow field velocity distribution within the right-angled triangular computational domain. This invention can reduce the problem of severe reflection interference at the lateral boundary and improve computational efficiency.