A vortex shedding model for unsteady fluid dynamics