Creating Crystalline Structures for Physics Simulation

phys4061 project a part i n.w
1 / 8
Embed
Share

Explore how to generate Simple Cubic, Body Centered Cubic, Face Centered Cubic, and Diamond crystalline structures for physics simulations. Learn about adjusting simulation cell size, lattice constants, and periodicity. Get insights into the XYZ file format and submission requirements for your project.

  • Physics Simulation
  • Crystalline Structures
  • XYZ File Format
  • Simulation Cell
  • Compressed File

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. PHYS4061 Project A Part I 17/9/2024

  2. How many atoms in a 3D simulation cell? Simple Cubic 8 1 8= 1 Diamond Body Centered Cubic Face Centered Cubic 8 1 8 1 8+ 6 1 8 1 8+ 6 1 8+ 1 = 2 2= 4 2+ 4 = 8

  3. How many atoms in a 2D simulation cell? 1 unit cell 1 1 cell 3 3 cell

  4. Project A Part I Write a program to generate Sc, Bcc, Fcc, and Diamond crystalline structures: Requirement: The simulation cell size should be adjustable in both periodicity and lattice constant. The shape of the cell should be cubic like (or tetragonal). Output in .xyz format (Or .vasp). diamond/zinc blende

  5. Sample code for simple cubic

  6. .xyz format https://en.wikipedia.org/wiki/XYZ_file_format Format: (follow this or VMD cannot read it) 8 This line is comment, this cell is example of simple cubic(this line can be empty) Si 0.000000000 0.000000000 0.000000000 Si 5.000000000 0.000000000 0.000000000 Si 0.000000000 5.000000000 0.000000000 Si 0.000000000 0.000000000 5.000000000 Si 5.000000000 5.000000000 0.000000000 Si 0.000000000 5.000000000 5.000000000 Si 5.000000000 0.000000000 5.000000000 Si 5.000000000 5.000000000 5.000000000 Number of atoms Repeat to make animation Atoms label

  7. Requirements You MUST submit a compressed file that contains all your files: (The name of this file should be 4061-XX-1155XXXXXX.rar/7z/zip/tar ) Code (XXX.c, XXX.cpp, XXX.py ) Readme (About how to compile your code, how to run your program) .xyz files (Even if your program can generate .xyz file, you still need to submit this file in your compressed file) Besides, you need to label and comment every variable, loop and function you used to tell me what their role is, or you'll be deducted some points!!!

  8. Remarks The work in this labs will be used in later lab 2,3,4 of project A. Ask us if you are not sure whether the structure is correct or not. Think of the data structure: how to store the data and how to make it easier to be used in later lab.

Related


More Related Content