Closed Z-Rashid closed 3 months ago
Hey, thanks for the issue! It seems to me the charges of the atoms might be setting zero? Have you given the atoms charges?
Dear Samuel Tovey, Thank you very much for your response and for pointing to the right direction. Yes indeed, the charges were the issue. Now have been solved. Thanks.
No problem! That's a part of the code that should be better documented and probably contain a warning if the charges are set to zero! Feel free to make an issue or I'll get around to it during the week.
Dear Developers, I just started using MDSuite-0.2.0 and following the NaCl_walkthrough example, provided in the example directory. Everything seems fine except the Green Kubo Ionic Conductivity which gives zero values for
ionic conductivity
,acf
andintegral
. The full output is as followsSystem {'ionic_conductivity': [0.0], 'uncertainty': [0.0], 'time': [0.0, 0.02, 0.04, 0.06, 0.08, 0.1, 0.12, 0.14, 0.16, ..............., 5.96, 5.9799999999999995], 'acf': [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, ........................... 0.0, 0.0, 0.0], 'integral': [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, ........................... 0.0, 0.0, 0.0], 'integral_uncertainty': [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, ............................ 0.0, 0.0, 0.0, 0.0]}
I also tried to calculated ionic conductivity using
EinsteinHelfandIonicConductivity
method but that too give zero value andmsd
is an array of zeros.I use the following script
where NaCl.lammpstraj was downloaded from https://github.com/zincware/DataHub/tree/main/NaCl_gk_i_q
Can you please check and suggest a fix for that?
Thank you. Zahid