Simulating structure and physical properties of complex metallic alloys