The compilation issue of LAMMPS after modifying the pair_sw.cpp file; the relaxation issue of the graphene force field.

31 views
Skip to first unread message

Neil Christian

unread,
Jan 8, 2025, 3:15:56 AMJan 8
to Twister Help

Dear Developer,

Thank you very much for your contribution. I would like to ask the following questions:

  1. For graphene systems, do I still need to modify the pair_sw.cpp file and recompile LAMMPS?
  2. I replaced the pair_sw.cpp file you provided in both lammps-2Jun2022 and lammps-29Aug2024, but I encountered the issue shown in the attached image. How can this be resolved?(without modifying pair_sw.cpp)
  3. Why did I not observe lattice reconstruction in the small-angle (1.68 degree)twisted graphene system? Is there something wrong with my input file.
Best regards,
Neil 微信图片_20250105104331.png

Indrajit Maity

unread,
Jan 8, 2025, 4:33:06 AMJan 8
to Neil Christian, Twister Help
Hi Neil,

You do not need to replace pair_sw.cpp for Graphene or TMDs if you are using the latest version of LAMMPS. 

For example, you can refer to the Graphene (https://github.com/qtm-iisc/Twister/tree/main/FFRelaxation/graphene) and MoS2  (https://github.com/qtm-iisc/Twister/tree/main/FFRelaxation/mos2) examples provided here to see what has changed. Once installed, you will be ready to go. The modified pair_sw call is made through sw/mod when necessary. Take a look at: https://github.com/qtm-iisc/Twister/blob/main/FFRelaxation/mos2/aux_files/Mass_FF

Please let us know if you are able to fix it.

Best wishes,
Indrajit

--
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 visit https://groups.google.com/d/msgid/twister-help/dcb09daa-3584-4dc9-a3dc-6c8c1493372bn%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages