<div dir="ltr">Normally, it is sufficient to do what you have described. The code will find it out.<div><br></div><div>Yours,</div><div><br></div><div>Vladimir<br><br>четверг, 14 марта 2019 г., 14:59:06 UTC+1 пользователь i.a....@gmail.com написал:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi all! I am trying to calculate diffusion of Cd(2+) in amorphous SiO2 matrix. <br>I've read the excercise with water and H+ ion in water (<a href="https://www.cp2k.org/exercises:2015_pitt:aimd" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.cp2k.org%2Fexercises%3A2015_pitt%3Aaimd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH6XFO8ZymWwM0_PZ2Twr2GnmnrxA';return true;" onclick="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.cp2k.org%2Fexercises%3A2015_pitt%3Aaimd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH6XFO8ZymWwM0_PZ2Twr2GnmnrxA';return true;">https://www.cp2k.org/<wbr>exercises:2015_pitt:aimd</a>), the only thing is to change one water molecule by H+ ion, sounds reasonable.<br>But how to do it? I cat set up the total charge of the system to +2 using keyword CHARGE in DFT section. But I have a feeling, that I should do something more. How CP2K will know, that exactly Cd ions should not have 2 electrons at the initial state? <br>Thx!</div></blockquote></div></div>