Toward an experimental von Kármán dynamo: Numerical studies for an optimized design