Question on Setting Up basis_pos Files for Twister

55 views
Skip to first unread message

Brynn Karst

unread,
Sep 3, 2024, 11:41:25 AM9/3/24
to Twister Help

Hello, I am a beginner starting to use Twister. I encountered an issue when using the code with my own systems, bilayer WSe₂ and MoS₂. I extracted the coordinates of the three atoms from the optimized POSCAR of a single layer to create the basis_pos files. While the generated structure has the correct number of atoms, it looks incorrect in VESTA compared to the example structures, without the expected hexagonal arrangement (see attached image).

I noticed that in the provided basis_pos files, the x and y coordinates of S or Se atoms are the same, which seems to be different from the coordinates found in structures from the Materials Project, whether in the 3R or 2H phases, where the x and y coordinates differ. Could you please advise on this discrepancy?

basis_pos_crys_layer2
82a15743-a006-4b47-a48d-37d81b902a43.png
basis_pos_crys
62f2d54a-a7f7-435a-837f-27f46b13253c.png
POSCAR.vasp
twist.inp

Indrajit Maity

unread,
Sep 3, 2024, 4:35:13 PM9/3/24
to Brynn Karst, Twister Help
Hi Brynn,

It's difficult to suggest anything without the explicit directory details. 

However, I believe Materials Project would be right! If you are using relaxation with lammps with the initial structure as in Twister, it shouldn't matter what you start with. As LAMMPS will change the positions based on the forcefields. 


Hope this helps,
Indrajit 


On Tue, 3 Sep 2024, 17:41 Brynn Karst, <karst...@gmail.com> wrote:

Hello, I am a beginner starting to use Twister. I encountered an issue when using the code with my own systems, bilayer WSe₂ and MoS₂. I extracted the coordinates of the three atoms from the optimized POSCAR of a single layer to create the basis_pos files. While the generated structure has the correct number of atoms, it looks incorrect in VESTA compared to the example structures, without the expected hexagonal arrangement (see attached image).

I noticed that in the provided basis_pos files, the x and y coordinates of S or Se atoms are the same, which seems to be different from the coordinates found in structures from the Materials Project, whether in the 3R or 2H phases, where the x and y coordinates differ. Could you please advise on this discrepancy?

--
You received this message because you are subscribed to the Google Groups "Twister Help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to twister-help...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/twister-help/99fe9732-c7cd-4db9-b596-8f1ca70bbfe7n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Indrajit Maity

unread,
Sep 3, 2024, 4:46:49 PM9/3/24
to Brynn Karst, Twister Help
Another comment to add:

Please take a look at the lattice vectors a_i of materials project and Twister. I think in the Materials Project it's 120 degrees but in Twister it's 60 degrees. Therefore, the in-plane fractional coordinates of the atoms relative to the lattice vectors may change.

Best wishes,
Indrajit



On Tue, Sep 3, 2024 at 5:41 PM Brynn Karst <karst...@gmail.com> wrote:

Hello, I am a beginner starting to use Twister. I encountered an issue when using the code with my own systems, bilayer WSe₂ and MoS₂. I extracted the coordinates of the three atoms from the optimized POSCAR of a single layer to create the basis_pos files. While the generated structure has the correct number of atoms, it looks incorrect in VESTA compared to the example structures, without the expected hexagonal arrangement (see attached image).

I noticed that in the provided basis_pos files, the x and y coordinates of S or Se atoms are the same, which seems to be different from the coordinates found in structures from the Materials Project, whether in the 3R or 2H phases, where the x and y coordinates differ. Could you please advise on this discrepancy?

--
Reply all
Reply to author
Forward
0 new messages