<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear Sam, <div class=""><br class=""></div><div class="">equilibrating the pressure requires requires quite a lot of time. </div><div class="">Hence, with a barostat timeconstant of 5000.0 fs equilibration </div><div class="">can not be expected within 8 ps simulation time. </div><div class="">I sugest to reduce the barostat time constant it to e.g. 500.0 fs </div><div class="">and the one for the thermostat to 50.0 fs. However, please use </div><div class="">the CSVR thermostat instead of the NOSE in that case … </div><div class=""><br class=""></div><div class="">Best regards, </div><div class="">Thomas Kühne<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 30.03.2025 um 16:57 schrieb 劉易 <<a href="mailto:sam052799@gmail.com" class="">sam052799@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class=""><p class="">Dear CP2K users,</p><p class="">I hope you're doing well! I’m a rookie with CP2K and AIMD simulations, and I’m reaching out for help. I’ve been running simulations using the NPT ensemble and DFT-D3(BJ) with different XC functionals, but after running 20,000 steps, the pressure of my system isn’t settling at the expected value. Instead, the pressure oscillates around thousands of bars, when I’m aiming for 1 atm.</p><p class="">I’m having trouble figuring out why this is happening. Could it be that I need to run more steps, or are there parameters in my input file that could be wrong? I’ve double-checked the box size, and I’m sure it matches the experimental value. Any help or suggestions would be greatly appreciated.</p><p class="">If anyone has experience with this or any ideas on what might be causing the issue, I’d be extremely grateful for your input. I’m excited to learn from this community, and I’d really appreciate any guidance!</p><p class="">Here’s my input file:</p><p class="">&GLOBAL<br class="">  PROJECT CHCl3_TPSS_228K_preNPT<br class="">  PRINT_LEVEL MEDIUM<br class="">  RUN_TYPE MD<br class="">&END GLOBAL<br class=""><br class="">&FORCE_EVAL<br class="">  METHOD Quickstep<br class="">  STRESS_TENSOR ANALYTICAL<br class="">  &SUBSYS<br class="">    &CELL<br class="">      A     12.27336856      0.00000000      0.00000000<br class="">      B      0.00000000     12.27336856      0.00000000<br class="">      C      0.00000000      0.00000000     12.27336856<br class="">      PERIODIC XYZ #Direction(s) of applied PBC (geometry aspect)<br class="">    &END CELL<br class="">    &COORD<br class="">   C      2.035161    1.311067    9.579046<br class="">   H      2.840316    0.589006    9.603735<br class="">   Cl     2.757726    2.920177    9.573880<br class="">   Cl     1.104995    1.045385    8.113951<br class="">   Cl     1.047589    1.080468   11.012164<br class="">   C      5.833532    1.230017    9.655263<br class="">   H      5.527936    2.267954    9.636646<br class="">   Cl     7.586092    1.160780    9.690815<br class="">   Cl     5.143925    0.493291   11.098605<br class="">   Cl     5.201260    0.458252    8.203999<br class="">   C      6.880152    7.825625   10.718916<br class="">   H      6.933390    8.903709   10.790729<br class="">   Cl     5.373067    7.416480    9.898757<br class="">   Cl     8.261678    7.269023    9.789464<br class="">   Cl     6.898438    7.166057   12.345856<br class="">   C      4.840580   10.883391    9.754439<br class="">   H      4.294156   10.008303    9.427803<br class="">   Cl     3.921460   12.313658    9.321911<br class="">   Cl     5.044002   10.768530   11.500001<br class="">   Cl     6.405545   10.871368    8.946790<br class="">   C      1.061046   11.765892    6.028766<br class="">   H      0.468627   12.325591    6.740126<br class="">   Cl     2.760521   12.082767    6.379109<br class="">   Cl     0.694652   10.060873    6.231164<br class="">   Cl     0.647883   12.319851    4.414850<br class="">   C      3.837305    7.588740    6.774253<br class="">   H      3.829306    8.508316    6.205229<br class="">   Cl     5.513295    7.149807    7.064214<br class="">   Cl     2.993210    7.881629    8.288895<br class="">   Cl     3.020278    6.355933    5.822899<br class="">   C      6.138446   10.485678    5.007193<br class="">   H      6.271233   11.399278    4.443413<br class="">   Cl     7.723986    9.855850    5.414267<br class="">   Cl     5.221694   10.877518    6.459524<br class="">   Cl     5.248756    9.352085    3.993953<br class="">   C      3.344372    1.500032    1.820763<br class="">   H      3.218325    0.876417    2.698271<br class="">   Cl     3.991071    0.502169    0.529850<br class="">   Cl     1.769471    2.153187    1.384989<br class="">   Cl     4.456841    2.800406    2.230965<br class="">   C      2.129042    2.217016    5.132697<br class="">   H      2.255145    2.840645    4.255206<br class="">   Cl     1.482321    3.214874    6.423603<br class="">   Cl     1.016550    0.916685    4.722423<br class="">   Cl     3.703905    1.563804    5.568524<br class="">   C      3.533962    6.918454    1.337911<br class="">   H      2.935008    7.819109    1.323204<br class="">   Cl     3.836820    6.498203    3.017414<br class="">   Cl     2.625318    5.651846    0.526040<br class="">   Cl     5.037457    7.255418    0.492321<br class="">   C      1.374533   10.165615    1.284886<br class="">   H      0.775535   11.066335    1.270178<br class="">   Cl     1.684490    9.734635    2.962073<br class="">   Cl     0.474792    8.889539    0.474411<br class="">   Cl     2.883339   10.490723    0.440742<br class="">   C      1.446730    5.365382   11.246345<br class="">   H      1.047899    4.363450   11.162163<br class="">   Cl     3.093073    5.238520   11.855610<br class="">   Cl     1.422244    6.096147    9.648385<br class="">   Cl     0.430135    6.262905   12.363968<br class="">   C      1.863798   10.145145   11.105203<br class="">   H      2.331060   11.114366   11.216394<br class="">   Cl     3.021281    8.920696   11.603267<br class="">   Cl     0.434011   10.114502   12.129028<br class="">   Cl     1.426224    9.947727    9.413162<br class="">   C     10.225609   10.877065    2.966872<br class="">   H      9.305508   11.283989    2.569535<br class="">   Cl     9.850735    9.358024    3.766450<br class="">   Cl    11.330950   10.623911    1.622348<br class="">   Cl    10.884931   12.042178    4.107668<br class="">   C      9.074135    6.030818    5.525777<br class="">   H      8.852277    5.094653    6.020191<br class="">   Cl    10.800796    6.327054    5.666596<br class="">   Cl     8.600076    5.881507    3.838982<br class="">   Cl     8.154171    7.299413    6.323669<br class="">    &END COORD<br class="">    &TOPOLOGY<br class="">      &CENTER_COORDINATES       <br class="">      &END<br class="">    &END TOPOLOGY<br class="">#   &VELOCITY #You can set initial atomic velocities in this section<br class="">#   &END VELOCITY<br class="">    &KIND C<br class="">      ELEMENT C<br class="">      BASIS_SET TZVP-MOLOPT-GTH<br class="">      POTENTIAL GTH-PBE-q4<br class="">    &END KIND<br class="">    &KIND H<br class="">      ELEMENT H<br class="">      BASIS_SET TZVP-MOLOPT-GTH<br class="">      POTENTIAL GTH-PBE-q1<br class="">    &END KIND<br class="">    &KIND Cl<br class="">      ELEMENT Cl<br class="">      BASIS_SET TZVP-MOLOPT-GTH<br class="">      POTENTIAL GTH-PBE-q7<br class="">    &END KIND<br class="">  &END SUBSYS<br class=""><br class="">  &DFT<br class="">    BASIS_SET_FILE_NAME  BASIS_MOLOPT<br class="">    POTENTIAL_FILE_NAME  GTH_POTENTIALS<br class="">#   WFN_RESTART_FILE_NAME md_ave_10-RESTART.wfn<br class="">    CHARGE    0          #Net charge<br class="">    MULTIPLICITY    1    #Spin multiplicity<br class="">    &QS<br class="">      EPS_DEFAULT 1.0E-8      <br class="">      EXTRAPOLATION PS      <br class="">      EXTRAPOLATION_ORDER 3    <br class="">    &END QS<br class="">    &POISSON<br class="">      PERIODIC XYZ <br class="">      PSOLVER PERIODIC <br class="">    &END POISSON<br class="">    &XC<br class="">      &XC_FUNCTIONAL<br class="">         &TPSS<br class="">         &END<br class="">      &END XC_FUNCTIONAL<br class="">      &VDW_POTENTIAL<br class="">        POTENTIAL_TYPE PAIR_POTENTIAL<br class="">        &PAIR_POTENTIAL<br class="">          TYPE DFTD3(BJ)<br class="">            CALCULATE_C9_TERM .TRUE.<br class="">            LONG_RANGE_CORRECTION .TRUE.<br class="">            PARAMETER_FILE_NAME dftd3.dat<br class="">            VERBOSE_OUTPUT<br class="">            REFERENCE_FUNCTIONAL TPSS<br class="">            R_CUTOFF 7.1<br class="">        &END PAIR_POTENTIAL<br class="">      &END VDW_POTENTIAL<br class="">    &END XC<br class="">    &MGRID<br class="">      CUTOFF  700<br class="">      REL_CUTOFF  80<br class="">      NGRIDS 5 <br class="">    &END MGRID<br class="">    &SCF<br class="">       MAX_SCF     1000<br class="">       EPS_SCF     1.0E-08<br class="">       SCF_GUESS   RESTART<br class="">       &OT  <br class="">          MINIMIZER  CG<br class="">          PRECONDITIONER FULL_ALL<br class="">          STEPSIZE    0.1<br class="">          ENERGY_GAP  0.05<br class="">          SAFE_DIIS   T<br class="">          EPS_TAYLOR  0.10000E-16<br class="">          MAX_TAYLOR  5<br class="">       &END OT<br class="">       &MIXING <br class="">          METHOD PULAY_MIXING <br class="">          ALPHA 0.4 <br class="">          BETA 1.5<br class="">          NBUFFER 8<br class="">       &END MIXING<br class="">       &OUTER_SCF<br class="">          MAX_SCF    1000<br class="">          EPS_SCF    1.0E-08<br class="">       &END OUTER_SCF<br class="">       &PRINT<br class="">          &RESTART<br class="">             &EACH<br class="">                QS_SCF 50<br class="">             &END EACH<br class="">          ADD_LAST NUMERIC<br class="">          &END RESTART<br class="">       &END PRINT<br class="">    &END SCF<br class="">  &END DFT<br class="">&END FORCE_EVAL<br class=""><br class="">&MOTION<br class="">  &MD<br class="">    ENSEMBLE NPT_I<br class="">    STEPS 20000 <br class="">    TIMESTEP 0.4 <br class="">    TEMPERATURE 228 <br class="">    TEMP_TOL    15<br class="">    &THERMOSTAT<br class="">      TYPE NOSE<br class="">        &NOSE<br class="">           TIMECON 200 <br class="">        &END NOSE<br class="">    &END THERMOSTAT<br class="">    &BAROSTAT<br class="">      PRESSURE 10.0<br class="">      TIMECON  5000<br class="">    &END BAROSTAT<br class="">  &END MD<br class="">  <br class="">  &PRINT<br class="">    &TRAJECTORY<br class="">      &EACH<br class="">        MD   1 #Output frequency of coordinates, 0 means never<br class="">      &END EACH<br class="">      FORMAT xyz<br class="">    &END TRAJECTORY<br class="">    &FORCES<br class="">      &EACH<br class="">        MD   1 #Output frequency of forces, 0 means never<br class="">      &END EACH<br class="">    &END FORCES<br class="">    &CELL<br class="">     &EACH<br class="">       MD 1<br class="">     &END EACH<br class="">    &END CELL<br class="">#    &RESTART<br class="">#      BACKUP_COPIES 0 #Maximum number of backing up restart file, 0 means never<br class="">#      &EACH<br class="">#        MD  10 #Frequency of updating last restart file, 0 means never<br class="">#      &END EACH<br class="">#    &END RESTART<br class="">   &END PRINT<br class="">&END MOTION<br class=""><br class="">Sam</p></div><div class=""><br class="webkit-block-placeholder"></div>

-- <br class="">
You received this message because you are subscribed to the Google Groups "cp2k" group.<br class="">
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com" class="">cp2k+unsubscribe@googlegroups.com</a>.<br class="">
To view this discussion visit <a href="https://groups.google.com/d/msgid/cp2k/cefe2030-d697-4a3d-86d9-ef5c1c353178n%40googlegroups.com?utm_medium=email&utm_source=footer" class="">https://groups.google.com/d/msgid/cp2k/cefe2030-d697-4a3d-86d9-ef5c1c353178n%40googlegroups.com</a>.<br class="">
</div></blockquote></div><br class=""></div></body></html>

<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 visit <a href="https://groups.google.com/d/msgid/cp2k/C77F56B5-2CD5-4091-8C7F-CA455963C007%40gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/C77F56B5-2CD5-4091-8C7F-CA455963C007%40gmail.com</a>.<br />