Graphene structure obtaining code

Click For Summary
SUMMARY

The discussion focuses on writing Octave code to generate a graphene structure by defining its unit cell, which consists of two carbon atoms. The user seeks guidance on how to programmatically create a graphene sheet of a specified size by repeating the unit cell along lattice vector directions. The conversation highlights the importance of understanding lattice structures in programming for material science applications.

PREREQUISITES
  • Basic programming knowledge in Octave or similar languages
  • Understanding of lattice structures and unit cells in crystallography
  • Familiarity with carbon atom positioning in a graphene sheet
  • Knowledge of vector mathematics for repeating unit cells
NEXT STEPS
  • Research how to implement lattice vector calculations in Octave
  • Learn about crystallographic unit cells and their representations
  • Explore Octave's graphical capabilities for visualizing atomic structures
  • Study examples of similar code implementations for material modeling
USEFUL FOR

Students and researchers in materials science, programming beginners interested in computational modeling, and anyone looking to understand the coding aspects of crystallography and atomic structures.

elif24
Messages
2
Reaction score
0
I want to write a octave code(It can be another language I want to know how should I think to write a such a code ) to obtain graphene structure like in the figure.

This code should give me a graphene sheet which in size I want when I enter the position of the atoms in the lattice.I think that if I describe the unit cell of the graphene which contains two carbon atom and repeat that along lattice vectors directions I can get this figure.I am not sure about that.ıs there anyone can help me to think about writing such a code ? (I just start to learn programming) Thank you..
 
Last edited by a moderator:
Physics news on Phys.org
elif24 said:
I want to write a octave code(It can be another language I want to know how should I think to write a such a code ) to obtain graphene structure like in the figure.

This code should give me a graphene sheet which in size I want when I enter the position of the atoms in the lattice.I think that if I describe the unit cell of the graphene which contains two carbon atom and repeat that along lattice vectors directions I can get this figure.I am not sure about that.ıs there anyone can help me to think about writing such a code ? (I just start to learn programming) Thank you..
Welcome to the PF.

I don't see a Figure. Did you mean to UPLOAD it? You can use the UPLOAD button in the lower right corner of the Reply box...
 
berkeman said:
Welcome to the PF.

I don't see a Figure. Did you mean to UPLOAD it? You can use the UPLOAD button in the lower right corner of the Reply box...
sorry for that..
 

Attachments

  • 12746173_10208118356769950_1861638669_n.jpg
    12746173_10208118356769950_1861638669_n.jpg
    21.9 KB · Views: 638

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
8K
  • · Replies 2 ·
Replies
2
Views
3K