A dynamical model for the formation of gas rings and episodic starbursts near galactic centres | Synapse