-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Divergence of the power spectra with the larger supercell #17
Comments
I think the issue could be an effect of attaching MD trajectories.
|
Dear Abel Carreras Thank you for your quick response. I have some confusion understanding your suggestion.
Again Thank you for your time. Best |
|
Dear Abel Carreras Thanks for the quick response. Now it make sense to me. First of all, the jointed trajectories are not independent, I have resumed the simulation where it was left. I am pretty sure there is no discontinuity in the position and velocity data. I have also calculated the full power spectrum using a single MD trajectories but no luck. I would appreciate any valuable suggestion. Thank you for your time! Best |
Ok, then if the trajectory is correct maybe there is some bug in the code. |
Sure, I would be happy to provide you the data to reproduce the problem. Please let know how do I send the data. Thanks. |
You can just attach the data in an e-mail or share a dropbox/Gdrive link here. |
Dear Abel Carreras
I hope you are doing well. I have attached here<https://drive.google.com/drive/folders/1W9AzqqeuooeDlmLlLjBqVC-JXRxIbxBE?usp=sharing> the minimal data to reproduce the problem for the lager supercell (2 2 4) which includes POSCAR of the unit cell, Force set file for 2 2 4 supercell from phonopy, input file and XDATCAR file. XDATCAR file contains the 30 ps of continuous trajectories with 1 fs time step. Please let me know if you need any further information. Thank you very much for your time.
Best
Ballal Ahammed
…________________________________
From: Abel Carreras ***@***.***>
Sent: Friday, July 8, 2022 12:41 PM
To: abelcarreras/DynaPhoPy ***@***.***>
Cc: Ahammed, Ballal ***@***.***>; Author ***@***.***>
Subject: Re: [abelcarreras/DynaPhoPy] Divergence of the power spectra with the larger supercell (Issue #17)
You can just attach the data in an e-mail or share a dropbox/Gdrive link here.
As you prefer.
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/abelcarreras/DynaPhoPy/issues/17*issuecomment-1179225837__;Iw!!DZ3fjg!94lXpRbO1ZioCeIDsuQxK4uPd7M2H5G_pTSMxHFyMJ7aXj676dUxEphiz3_OxcB_bl3EbiP_iYt2CWnAmrPkxW1kaQM8$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AOMC2TSN56F7QSJSA5XAVOLVTBR5JANCNFSM52RZ5MVA__;!!DZ3fjg!94lXpRbO1ZioCeIDsuQxK4uPd7M2H5G_pTSMxHFyMJ7aXj676dUxEphiz3_OxcB_bl3EbiP_iYt2CWnAmrPkxTVTa04S$>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Hi @ballal09, I found the issue. The point is that the order of atoms in the supercell is not correct. In order to compute the atomic displacements Dyanphopy requieres the atoms of the supercell to be in a particular order respect to the unit cell. This order is the same as the supercells generated using phonopy. You can generate a "proper" supercell from a unitcell using -c_poscar option in dynaphopy. It is recommended to first generate the supercell using dynaphopy and then run the MD using this supercell. However if the simulation is already done, as an alternative, you can run Dynaphopy using the tag --auto_order to try to guess the atoms order from the MD data. This may not work in all cases but fortunately, in your case, it worked and I was able to generate the proper full power spectrum. The way to check that the atoms order has been taken correctly is to do a Maxwell-Boltzmann analysis. This plots the distribution of atomic velocities and fits it to a MB distribution. If you observe that the distribution is well fitted to the MB curve with the temperature you set in your simulation then the order is most likely right. |
Dear Abel Carreras It was really helpful! I have fixed the problem. Thank you so much for your time and help! Best |
Dear Abel Carreras
I hope you are doing well. I have run into an issue when I was trying to compute the full power spectrum for a larger MD supercell. When I have calculated the full power spectrum for 1 1 4 supercell (120 atoms), I have found a good match with the harmonic dos (of course 1 1 4 supercell as well). But, When I increased the supercell to 2 2 4 (480 atoms), I have found that the high frequency regime of the power spectrum does not match with the harmonic phonon dos for 2 2 4 supercell although there is some similarity. I have attached the two plots here for your reference. Please let me know your thoughts on this. For your information, I have used 30 ps of trajectories (1 fs timestep) to calculate the power spectrum for both supercell. Therefore, I am thinking the length of the simulation may not be an issue. Thank you very much for your time.
Best
Ballal
The text was updated successfully, but these errors were encountered: