Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ternary alloy supercell #39

Closed
Karthik9805 opened this issue Dec 29, 2021 · 2 comments
Closed

Ternary alloy supercell #39

Karthik9805 opened this issue Dec 29, 2021 · 2 comments
Assignees
Labels

Comments

@Karthik9805
Copy link

I am trying to create a fcc ternary alloy supercell using Atomsk
While It allows me to make binary alloys, the program doesn't allow me to have three or more components?
Is there a workaround?

Thanks

@pierrehirel pierrehirel self-assigned this Jan 3, 2022
@pierrehirel
Copy link
Owner

Dear Sir,

The fcc unit cell counts 4 atoms. In the mode "--create" it is only possible to create a fcc lattice with one or two elements. These two possibilities are defined unambiguously (2 atoms of the first element, 2 atoms of the second).

If you wish to have 3 different elements in an fcc lattice, then this is not defined unambiguously and depends on what you want to do. If you wish to create a unit cell of the fcc lattice with different elements, I suggest that you begin by creating a unit cell with a single element, for example:

atomsk --create fcc 4.01 Ni Ni.xsf

Then, open the file "Ni.xsf" with a text editor and modify the elements. This is rather quick because this file contains only 4 atoms.

However most of the time, ternary alloys are not defined by repeating a unit cell containing the 3 elements, but by random substitution in an fcc lattice. To achieve that, duplicate an fcc lattice, and then use a combination of options "-select random" and "-substitute". Here is a simple example:

atomsk --create fcc 4.02 Ni -duplicate 10 10 10 -select random 40% Ni -substitute Ni Fe -select random 50% Fe -substitute Fe Cr final.cfg

In this example, the final file will contain 60% Ni, 20% Fe and 20% Cr.

I hope these suggestions help you construct your atomic system.

Best regards

@Karthik9805
Copy link
Author

Karthik9805 commented Jan 3, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants