Open boundary conditions for Navier Stokes

I’m currently trying to implement a Runge-Kutta scheme to solve the wave equation, could you share an example of your approach?
Here my latest trial: Resolution of the wave equation using Runge-Kutta
Do you have any advice to give me?