Giter Site home page Giter Site logo

Ternary alloy supercell about atomsk HOT 2 CLOSED

pierrehirel avatar pierrehirel commented on August 17, 2024
Ternary alloy supercell

from atomsk.

Comments (2)

pierrehirel avatar pierrehirel commented on August 17, 2024

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

from atomsk.

Karthik9805 avatar Karthik9805 commented on August 17, 2024

from atomsk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.