Self-organization of topological defects due to applied constraints.