Calculation of internal-wave-driven instability and vortex shedding along a flat bottom | Synapse