correcting ansys.py

Done, this works now.