Self-organization observed in numerical simulations of a hard-core diffuse Z pinch