Apart from the fact that this system easily can be built in VNL (just use the Magnetic Tunnel Junction Builder in VNL 2008.10
), there are of course various reasons why people might choose to build a system in a different software, and as far as possible we will try to assist import of structures to use with ATK.
For this purpose (and others!), we are developing a new plug-in concept in the new generation of VNL, which I think will be ideal for such tasks. You can already see the concept itself in the GUI component of ATK 2009.06, although there are no importers there yet.
That said, it is a complicating factor that the file formats are so different, so many such solutions will have to be developed specifically for a particular external software and/or even task. Hopefully the community will be helpful in developing such tools for the benefit of all of us!
Finally, there is a particular difficulty in that no other software has a concept of two-probe systems, and one has to realize that for that reason the system does not contain enough information to convert it directly to a two-probe. However, with a little help from the user, it's not that hard. Basically, one needs to specify, somehow, how to create the electrode, but we will actually also have tools for that in the next GUI version.
We are also working on tools that hopefully should make it as easy to build such systems in VNL as any other software!
Now, all this perhaps doesn't help you right now... However, to make a generic script that can convert the kind of structure that you have (or rather, the kind of file format used), is a big task, and unless you are planning to do this repeatedly, it might not be worth the effort right now.
Well, actually it would probably be relatively easy to use the script above to do part of the work. However, the file format is not entirely appropriate; most notably the ordering of the atoms will make it a bit tricky (sorting needed
), and I'm not comfortable having an Fe atom at the right edge of the cell... If the cell is repeated in the z direction, this atom will overlap with the atom at the left edge...
Anyway, I'll let you figure that part out. But, I have made a small script (attached) that hopefully is of some help. As you can see, I just copy/pasted the coordinate report from the external software into it, then you just run it or drop the entire script on the
Bulk Builder!
The script will only work if the "equivalent bulk" is an orthorhombic system (all angle 90 degrees). Note that I had to sort the coordinates; this may go wrong sometimes, since it only sorts on Z...
After this, you will have an "ATK equivalent bulk system". Your next step is to use the script in the first post to create the two-probe.
Good luck!