A magnetohydrodynamical model for the formation of episodic jets | Synapse