Dear Prof. Dr. Jürg Hutter<br />Thank you for your reply very much. I'm sorry to reply so late. After Using dftd3 software to calculate my system with rpbe d3, we get the following data. Then <br />s6 : 1.0000<br />S8 : 0.5148<br />rs6 : 0.8720<br />rs18 : 1.0000<br />alpha6 : 14.0000<br />alpha8 : 16.0000<br />k1-k3 : 16.0000  1.3333  -4.0000<br />Cutoff : 94.8683 a.u.<br />CN-Cutoff: : 40.0000 a.u.<br /><br />Then I changed &XC section of the inp file to the following, and the simulation worked normally.<br />    &XC<br />      FUNCTIONAL_ROUTINE NEW<br />      &XC_FUNCTIONAL<br />        &LIBXC<br /><span style="white-space: pre;">         </span>  FUNCTIONAL GGA_X_RPBE<br /><span style="white-space: pre;">               </span>&END LIBXC<br />      &END XC_FUNCTIONAL<br />      &VDW_POTENTIAL<br />        POTENTIAL_TYPE PAIR_POTENTIAL<br />        &PAIR_POTENTIAL<br />           TYPE DFTD3<br /><span style="white-space: pre;">                </span>  D3_SCALING 1.0000 0.8720 0.5148<br /><span style="white-space: pre;">             </span>  EPS_CN 21.167<br /><span style="white-space: pre;">               </span>  R_CUTOFF 50.20<br />          PARAMETER_FILE_NAME ./dftd3.dat<br />          REFERENCE_FUNCTIONAL RPBE<br />        &END PAIR_POTENTIAL<br />      &END VDW_POTENTIAL<br />&END XC<br /><br />Best wishes.<br />Zhaoan Chen<br /><br /><div class="gmail_quote"><div dir="auto" class="gmail_attr">在2023年6月5日星期一 UTC+8 17:43:00<Jürg Hutter> 写道:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi
<br>
<br>some comments on your input and yes, CP2K is not folding back atoms, so they can "move outside" the box.
<br>
<br>Don't use &XC_POTENTIAL, it is not what you want.
<br>Most likely your definition of &XC_FUNCTIONAL is incomplete (you only have exchange, no correlation functional).
<br>Don't use LONG_RANGE_CORRECTION: your system is not isotropic (see manual!)
<br>See <a href="https://www.chemiebn.uni-bonn.de/pctc/mulliken-center/software/dft-d3/dft-d3" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=zh-CN&q=https://www.chemiebn.uni-bonn.de/pctc/mulliken-center/software/dft-d3/dft-d3&source=gmail&ust=1686206153736000&usg=AOvVaw3kO3Hvi9KB2suZuH7tIv3b">https://www.chemiebn.uni-bonn.de/pctc/mulliken-center/software/dft-d3/dft-d3</a>
<br>for a list of parametrized functionals for D3.
<br>
<br>regards
<br>JH
<br>
<br>________________________________________
<br>From: <a href data-email-masked rel="nofollow">cp...@googlegroups.com</a> <<a href data-email-masked rel="nofollow">cp...@googlegroups.com</a>> on behalf of zhaoan chen <<a href data-email-masked rel="nofollow">zz24...@gmail.com</a>>
<br>Sent: Sunday, June 4, 2023 5:20 PM
<br>To: cp2k
<br>Subject: [CP2K:18884] Running NVT AIMD simulation with RPBE D3 in air-water interface system.
<br>
<br>Dear all,
<br>I want to study the Air-Water Interface system, so I build a 15* 15* 30 Å water slab with a periodic box of 15* 15* 71.44 Å. The initial condition was obtained from a GROMACS-NVT simulation with the SPC/E force field. Then I want to run a NVT simulation with RPBE-D3 in CP2K, but I can't find how to add D3 correction with RPBE function. Here is my input file and the snapshot at 6900th frame. I find some water molecules running out of the box. Is my input file correct?
<br>
<br>I would be very grateful indeed for any help you could give me.
<br>Best wishes.
<br>Zhaoan Chen
<br>
<br>My input file setting (section XC) is as follows:
<br>......
<br>   &XC
<br>      FUNCTIONAL_ROUTINE NEW
<br>      &XC_POTENTIAL
<br>        ENERGY XC_FUNCTIONAL
<br>      &END XC_POTENTIAL
<br>      &XC_FUNCTIONAL
<br>        &LIBXC
<br>  FUNCTIONAL GGA_X_RPBE
<br>&END LIBXC
<br>      &END XC_FUNCTIONAL
<br>      &VDW_POTENTIAL
<br>        POTENTIAL_TYPE PAIR_POTENTIAL
<br>        &PAIR_POTENTIAL
<br>          TYPE DFTD3
<br>          CALCULATE_C9_TERM .TRUE.
<br>          REFERENCE_C9_TERM .TRUE.
<br>          LONG_RANGE_CORRECTION .TRUE.
<br>          PARAMETER_FILE_NAME ./dftd3.dat
<br>          REFERENCE_FUNCTIONAL PBE
<br>        &END PAIR_POTENTIAL
<br>      &END VDW_POTENTIAL
<br>    &END XC
<br>.....
<br>
<br>--
<br>You received this message because you are subscribed to the Google Groups "cp2k" group.
<br>To unsubscribe from this group and stop receiving emails from it, send an email to <a href data-email-masked rel="nofollow">cp2k+uns...@googlegroups.com</a><mailto:<a href data-email-masked rel="nofollow">cp2k+uns...@googlegroups.com</a>>.
<br>To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/502385d8-dd90-447b-a05e-e8a8b784f80cn%40googlegroups.com" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=zh-CN&q=https://groups.google.com/d/msgid/cp2k/502385d8-dd90-447b-a05e-e8a8b784f80cn%2540googlegroups.com&source=gmail&ust=1686206153736000&usg=AOvVaw1x1942c5FfQdmWVInF2d5D">https://groups.google.com/d/msgid/cp2k/502385d8-dd90-447b-a05e-e8a8b784f80cn%40googlegroups.com</a><<a href="https://groups.google.com/d/msgid/cp2k/502385d8-dd90-447b-a05e-e8a8b784f80cn%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" data-saferedirecturl="https://www.google.com/url?hl=zh-CN&q=https://groups.google.com/d/msgid/cp2k/502385d8-dd90-447b-a05e-e8a8b784f80cn%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1686206153736000&usg=AOvVaw0MwHIf-d3-dB-RbsxZMgKt">https://groups.google.com/d/msgid/cp2k/502385d8-dd90-447b-a05e-e8a8b784f80cn%40googlegroups.com?utm_medium=email&utm_source=footer</a>>.
<br></blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/1bbc5440-2322-4ac8-b889-e7bc607c6590n%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/1bbc5440-2322-4ac8-b889-e7bc607c6590n%40googlegroups.com</a>.<br />