Can SSCHA code deal with 2D materials? #44
-
|
Dear developers, Recently, I have analyzed the anharmonic effect in 2D materials doped graphene. 100 configurations are generated at 100K. During structure-fixed minimization, the error bar is much larger than FC gradient and only runs one step, so I change the meaningful_factor to 0.1 while keeping kong_liu_ratio=0.5 and min_step_dyn=0.05. The final FC gradient decreases to 500 and the error increases to 5000. I want to examine the convergence but do not know how to use the &utils namespace in python script. Then I enlarge the number of configurations to 200 and 300. The final gradient and error decrease to 300 and 3000 for 200 configurations. However, for 300 configurations, the final gradient and error are much larger with about 1000000 and 50000. Only one population are calculated during all the calculation. Then I have few questions:
It will be greatly appreciated if you could spare time to answer my questions. Yours |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hi, A full working example of script is the following The fact that the gradient increases so much with 300 configurations is indeed very strange. What is the supercell you are using? If you start with a very big super cell (for example 10x10x1) it is possible that 300 configurations are not enough to converge. In this case I suggest starting with smaller cells (e.g. a 4x4x1) and then you can interpolate the result to a finer mesh and use that one as a starting point. For graphene, the 4x4x1 supercell should have 32 atoms and be very quick to converge, then try to increase to a 6x6x1, 8x8x1 and check how the frequencies or the phonon dispersion changes. To aswer to your last question, yes, the code can deal with 2D materials, we also employed it on graphene, (see this one , for example) Bests, |
Beta Was this translation helpful? Give feedback.
Hi,
You can decrease meaningful_factor to much lower values (e.g 0.0001 or even lower) to further reduce the gradient.
To print the frequencies with the python script you can do in the following way.
You need to tell the code where to save the frequencies, as:
A full working example of script is the following