Code for BCC Lattice Algorithm: Start Here

  • Thread starter Thread starter anupama sharma
  • Start date Start date
  • Tags Tags
    Algorithm Lattice
Click For Summary

Discussion Overview

The discussion centers around creating a body-centered cubic (BCC) lattice for simulations, specifically using Fortran code. Participants seek guidance on writing 3D lattice coordinates and implementing the BCC structure, with references to prior experience with simple cubic lattices.

Discussion Character

  • Technical explanation
  • Homework-related
  • Exploratory

Main Points Raised

  • One participant expresses confusion about writing 3D lattice coordinates for a BCC lattice and requests suggestions on how to start.
  • Another participant asks for clarification on the purpose of the simulation, mentioning potential applications like electronic transport, phonon propagation, or X-ray diffraction.
  • A participant indicates they have previously created a simple cubic lattice in Fortran and seeks help specifically for the BCC lattice implementation.
  • One participant suggests that implementing FCC and BCC lattices is relatively straightforward and provides links to their projects on Tight Binding and Empirical Pseudopotential, which may contain helpful documentation.
  • The same participant notes that while some referenced projects are more advanced, the lattice implementation principles are similar, particularly for the FCC lattice.

Areas of Agreement / Disagreement

Participants do not appear to reach a consensus on the best approach to create the BCC lattice, and multiple viewpoints regarding the implementation and resources remain present.

Contextual Notes

Participants have varying levels of experience with lattice creation, and there may be missing assumptions regarding the specific requirements of the simulation or the definitions of lattice structures.

anupama sharma
Messages
8
Reaction score
1
TL;DR
Can anybody help me on how to create a bcc lattice using fortran code.
I need to write a code for my simulation for which I have to create bcc lattice. Can anybody suggest how I can start since I am jumbled up this 3d lattice coordinate writing?
 
Technology news on Phys.org
anupama sharma said:
Summary:: Can anybody help me on how to create a bcc lattice using fortran code.

I need to write a code for my simulation for which I have to create bcc lattice. Can anybody suggest how I can start since I am jumbled up this 3d lattice coordinate writing?
What are you going to simulate? Electronic transport, phonon propagation, X-ray diffraction, what?

https://www.researchgate.net/profile/Pedro_De_Andres2/publication/235504718/figure/fig1/AS:299894012170249@1448511712769/color-online-Unit-cell-sketch-along-Bains-transformation-bcc-c-a-1-middle-fcc.png

1584112716212.png
 
I have to create primitive lattices in Fortran just for learning and the beginning of simulation for which I had already created simple cubic lattice but in bcc, I am having trouble. For reference, I can attach the code for sc that I had written...
 
FCC and BCC are relatively easy to implement.
Check out my projects on Tight Binding https://compphys.go.ro/tight-binding/ and/or Empirical Pseudopotential https://compphys.go.ro/empirical-pseudopotential/ . Some referred documentation there might help.
Also the Augmented Plane Waves post and project and/or Korringa–Kohn–Rostoker method post and project might help, although those are a little more advanced. But the lattice implementation is similar, in this case it's particularized on the FCC lattice for Cu.
 
  • Like
Likes   Reactions: berkeman

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 46 ·
2
Replies
46
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K