<div dir="ltr"><div><br></div><div>Thank you Dorothea and Juerg for your helpful comments. I managed to get physically meaningful charges from the RESP fit by using restraints in the RESP fit and using the DDAP charges as the target values. At the moment I am varying the strength of the restraints in an effort to minimize the RMSD of the fit. Thank you for your help!</div><div><br></div><div>Best,</div><div><br></div><div>Mike</div><br><br>On Monday, March 3, 2014 3:33:14 AM UTC-5, jgh wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi
<br>
<br>please remember that ESP calculations work by fitting the
<br>electrostatic field away from the charge distribution.
<br>In a dense periodic system (closely packed crystal or a liquid)
<br>there is no space without charge density and you cannot use
<br>the normal method.
<br>The periodic ESP code in CP2K is targeted for open systems
<br>(zeolites, MOFs) and surfaces.
<br>For liquids we developed a method based on Wannier functions
<br>back in the CPMD days (J. Chem. Phys. 121, 5133-5142 (2004)),
<br>not implemented in CP2K).
<br>A work around would be to use QM/MM and self-consistently
<br>get the charges.
<br>
<br>regards
<br>
<br>Juerg Hutter
<br>
<br>------------------------------<wbr>------------------------------<wbr>--
<br>Juerg Hutter <wbr> Phone : ++41 44 635 4491
<br>Institut für Chemie FAX <wbr>: ++41 44 635 6838
<br>Universität Zürich E-<wbr>mail: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="BF0pMAbhaDQJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">hut...@chem.uzh.ch</a>
<br>Winterthurerstrasse 190
<br>CH-8057 Zürich, Switzerland
<br>------------------------------<wbr>------------------------------<wbr>---
<br>
<br>-----<a href="javascript:" target="_blank" gdf-obfuscated-mailto="BF0pMAbhaDQJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a> wrote: -----
<br>To: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="BF0pMAbhaDQJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>
<br>From: mbellucci
<br>Sent by: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="BF0pMAbhaDQJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>
<br>Date: 03/02/2014 08:36PM
<br>Cc: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="BF0pMAbhaDQJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">dorot...@googlemail.com</a>
<br>Subject: Re: [CP2K:5018] Periodic RESP charges for paracetamol form I crystal
<br>
<br>
<br>
<br>
<br>
<br>Hi Dorothea,
<br>
<br>Thanks for the reply. I tried what you suggested, i.e. using the NONPERIODIC_SYS keyword instead of the PERIODIC_SYS keyword, but it only seems to give physically meaningful charges when I make the cell dimensions very large (25.0 25.0 25.0 cubic box) so that all 4 molecules that make up the unit cell are completely within the box. However, these very large cubic cell dimensions don't correspond to the actual dimensions of the monoclinic unit cell, and so, the periodicity with this large cell doesn't correspond the periodicity of the actual crystal. When I try to use the cell dimensions of the unit cell (see previously posted input file) with the NONPERIODIC_SYS keyword, once again I end up with non-physical RESP charges. I've also tried a range of different values for RMIN and RMAX in the NONPERIODIC_SYS section, but this doesn't seem to help very much. Perhaps I am missing something simple, and so any suggestions would be appreciated.
<br>
<br>Mike
<br>
<br>
<br>On Saturday, March 1, 2014 3:19:58 PM UTC-5, Dorothea Golze wrote:
<br>Hi,
<br>
<br>the keywords "RANGE" and "LENGTH" make no sense in your case. They are for slab-like periodic systems. The section "PERIODIC_SYS" and "NONPERIODIC_SYS" refer to the way the fitting points are collected.
<br> PERIODIC_SYS sets the parameter for collecting fitting points for slab-like systems. In "NONPERIODC_SYS" fitting points are collected in spheres around the atoms. That is what you need here. Whether a periodic RESP fit is required or not is solely decided on the usage of a periodic or non-periodic Poisson solver.
<br> I admit the names of these subsection are maybe a little bit misleading. I should change them....
<br>There were questions about the periodic RESP charges before, see
<br>my last post there:
<br><a href="https://groups.google.com/forum/#!msg/cp2k/G3THGbvvIcU/CgGZxvtbGrsJ" target="_blank" onmousedown="this.href='https://groups.google.com/forum/#!msg/cp2k/G3THGbvvIcU/CgGZxvtbGrsJ';return true;" onclick="this.href='https://groups.google.com/forum/#!msg/cp2k/G3THGbvvIcU/CgGZxvtbGrsJ';return true;">https://groups.google.com/<wbr>forum/#!msg/cp2k/G3THGbvvIcU/<wbr>CgGZxvtbGrsJ</a>
<br>
<br>Kind regards,
<br>Dorothea
<br>
<br>
<br>2014-03-01 21:02 GMT+01:00 mbellucci <<a>mbel...@gmail.com</a>>:
<br>
<br>
<br>Dear CP2K Users,
<br>
<br>I am trying to calculate the RESP charges for a unit cell of the form I crystal of paracetamol using periodic boundary conditions using version 2.5 of CP2K. I have tried many different things but in every calculation, the RESP charges seem to be unphysical, i.e. the magnitudes of the charges seem to very large and most have the wrong sign. The things I have tried in order to fix this include:
<br>
<br>increasing the cutoff
<br>changing the functional
<br>increasing the size of the basis set
<br>changing the values of the LENGTH and RANGE keywords in the PERIODIC_SYS section of RESP
<br>changing the SURF_DIRECTION in the PERIODIC_SYS section of RESP
<br>I've also experimented with the keywords WIDTH, RESTRAIN_HEAVIES_STRENGTH, and RESTRAIN_HEAVIES_TO_ZERO in RESP
<br>
<br>Nothing seems to work for the RESP charges. However, when I turn off the periodic boundary conditions the calculations produce RESP charges that make physical sense. Also, for calculations with or without periodic boundary conditions, the DDAP charges make physical sense, but I'm hesitant to use them in MD simulations since they are less frequently used in MD simulations in the literature. If anyone could help identify an error I am making when calculating these RESP charges, I would greatly appreciate it! Also, if anyone could comment on the reliability of DDAP charges in general, I would appreciate it as well.
<br>
<br>For the calculation, the coordinates of the form I crystal as well as the dimensions of the unit cell were obtained from the cambridge structural database. The input file I'm using, the outputted RESP charges, and the outputted DDAP charges are the following:
<br>
<br>&GLOBAL
<br> PROJECT form_1
<br> RUN_TYPE ENERGY_FORCE
<br> PRINT_LEVEL MEDIUM
<br> WALLTIME 86400
<br>&END GLOBAL
<br>
<br>&FORCE_EVAL
<br> METHOD Quickstep
<br> &DFT
<br> BASIS_SET_FILE_NAME EMSL_BASIS_SETS
<br> POTENTIAL_FILE_NAME POTENTIAL
<br> CHARGE 0
<br> MULTIPLICITY 1
<br>
<br> &MGRID
<br> CUTOFF 300
<br> REL_CUTOFF 50
<br> &END MGRID
<br>
<br> &QS
<br> METHOD GAPW
<br> EPS_DEFAULT 1.0E-12
<br> MAP_CONSISTENT TRUE
<br> EXTRAPOLATION ASPC
<br> EXTRAPOLATION_ORDER 3
<br> &END QS
<br>
<br> &SCF
<br> MAX_SCF 500
<br> SCF_GUESS ATOMIC
<br> EPS_SCF 1.0E-7
<br> &OT ON
<br> MINIMIZER DIIS
<br> PRECONDITIONER FULL_ALL
<br> ENERGY_GAP 0.001
<br> &END OT
<br>
<br> &OUTER_SCF
<br> EPS_SCF 1.0E-5
<br> MAX_SCF 100
<br> &END OUTER_SCF
<br> &END SCF
<br>
<br> &XC
<br> &XC_FUNCTIONAL PBE
<br> &END XC_FUNCTIONAL
<br> &END XC
<br> &END DFT
<br>
<br>
<br> &SUBSYS
<br> &CELL
<br> ABC 12.93 9.40 7.10
<br> ALPHA_BETA_GAMMA 90.00 115.90 90.00
<br> PERIODIC XYZ
<br> &END CELL
<br>
<br> &COORD
<br> C 9.510000 3.334000 5.417000
<br> C 10.770000 3.348000 4.827000
<br> C 11.771000 2.497000 5.288000
<br> C 11.518000 1.636000 6.343000
<br> C 10.266000 1.639000 6.953000
<br> C 9.279000 2.483000 6.489000
<br> C 8.231000 4.763000 3.830000
<br> C 6.944000 5.542000 3.720000
<br> H 10.930000 3.957000 4.145000
<br> H 12.675000 2.557000 4.918000
<br> H 10.101000 1.062000 7.690000
<br> H 8.407000 2.482000 6.891000
<br> H 12.348000 0.517000 7.562000
<br> H 7.724000 4.239000 5.582000
<br> H 6.614000 5.480000 2.836000
<br> H 6.512000 5.574000 4.484000
<br> H 7.181000 6.589000 3.692000
<br> N 8.426000 4.170000 5.017000
<br> O 12.536000 0.800000 6.745000
<br> O 9.035000 4.678000 2.901000
<br> C 6.784000 8.034000 0.970000
<br> C 5.524000 8.048000 1.560000
<br> C 4.523000 7.197000 1.099000
<br> C 4.776000 6.336000 0.044000
<br> C 6.028000 6.339000 -0.567000
<br> C 7.015000 7.183000 -0.102000
<br> C 8.063000 9.463000 2.557000
<br> C 9.350000 10.242000 2.667000
<br> H 5.364000 8.657000 2.242000
<br> H 3.618000 7.257000 1.469000
<br> H 6.193000 5.762000 -1.303000
<br> H 7.887000 7.182000 -0.505000
<br> H 3.945000 5.217000 -1.175000
<br> H 8.570000 8.939000 0.805000
<br> H 9.680000 10.180000 3.551000
<br> H 9.782000 10.274000 1.903000
<br> H 9.113000 11.289000 2.695000
<br> N 7.867000 8.870000 1.370000
<br> O 3.758000 5.500000 -0.358000
<br> O 7.259000 9.378000 3.486000
<br> C 0.319000 6.066000 0.970000
<br> C -0.941000 6.052000 1.560000
<br> C -1.942000 6.903000 1.099000
<br> C -1.689000 7.764000 0.044000
<br> C -0.437000 7.761000 -0.567000
<br> C 0.550000 6.917000 -0.102000
<br> C 1.598000 4.637000 2.557000
<br> C 2.885000 3.858000 2.667000
<br> H -1.101000 5.443000 2.242000
<br> H -2.847000 6.843000 1.469000
<br> H -0.272000 8.338000 -1.303000
<br> H 1.422000 6.918000 -0.505000
<br> H -2.520000 8.883000 -1.175000
<br> H 2.105000 5.161000 0.805000
<br> H 3.215000 3.920000 3.551000
<br> H 3.317000 3.826000 1.903000
<br> H 2.648000 2.811000 2.695000
<br> N 1.402000 5.230000 1.370000
<br> O -2.707000 8.600000 -0.358000
<br> O 0.794000 4.722000 3.486000
<br> C 3.045000 1.366000 5.417000
<br> C 4.305000 1.352000 4.827000
<br> C 5.306000 2.203000 5.288000
<br> C 5.053000 3.064000 6.343000
<br> C 3.801000 3.061000 6.953000
<br> C 2.814000 2.217000 6.489000
<br> C 1.766000 -0.063000 3.830000
<br> C 0.479000 -0.842000 3.720000
<br> H 4.465000 0.743000 4.145000
<br> H 6.210000 2.143000 4.918000
<br> H 3.636000 3.638000 7.690000
<br> H 1.942000 2.218000 6.891000
<br> H 5.883000 4.183000 7.562000
<br> H 1.259000 0.461000 5.582000
<br> H 0.149000 -0.780000 2.836000
<br> H 0.047000 -0.874000 4.484000
<br> H 0.716000 -1.889000 3.692000
<br> N 1.961000 0.530000 5.017000
<br> O 6.071000 3.900000 6.745000
<br> O 2.570000 0.022000 2.901000
<br> &END COORD
<br>
<br>
<br> &KIND H
<br> BASIS_SET 6-31++Gxx
<br> POTENTIAL GTH-PBE-q1
<br> &END KIND
<br>
<br> &KIND C
<br> BASIS_SET 6-31++Gxx
<br> POTENTIAL GTH-PBE-q4
<br> &END KIND
<br>
<br> &KIND N
<br> BASIS_SET 6-31++Gxx
<br> POTENTIAL GTH-PBE-q5
<br> &END KIND
<br>
<br> &KIND O
<br> BASIS_SET 6-31++Gxx
<br> POTENTIAL GTH-PBE-q6
<br> &END KIND
<br>
<br>
<br> &END SUBSYS
<br>
<br> &PROPERTIES
<br> &RESP
<br> &PERIODIC_SYS
<br> ATOM_LIST 1..80
<br> LENGTH 3.0
<br> RANGE 3.0 5.0
<br> SURF_DIRECTION Z
<br> &END PERIODIC_SYS
<br> &PRINT
<br> &V_RESP_CUBE
<br> &END V_RESP_CUBE
<br> &RESP_CHARGES_TO_FILE
<br> &END RESP_CHARGES_TO_FILE
<br> &PROGRAM_RUN_INFO
<br> &END
<br> &COORD_FIT_POINTS
<br> &END
<br> &END PRINT
<br>
<br> &END RESP
<br>
<br> &FIT_CHARGE
<br> &END FIT_CHARGE
<br>
<br> &END PROPERTIES
<br>
<br> &END FORCE_EVAL
<br>
<br>
<br>
<br>
<br>RESP charges:
<br> Type | Atom | Charge
<br>
<br> RESP 1 C 0.070078
<br> RESP 2 C 0.903292
<br> RESP 3 C 1.113722
<br> RESP 4 C -0.120125
<br> RESP 5 C 1.058323
<br> RESP 6 C 0.655164
<br> RESP 7 C 0.200902
<br> RESP 8 C 2.666416
<br> RESP 9 H -1.222912
<br> RESP 10 H -1.170830
<br> RESP 11 H -0.983979
<br> RESP 12 H -0.818745
<br> RESP 13 H -1.214944
<br> RESP 14 H -1.366249
<br> RESP 15 H -1.224385
<br> RESP 16 H -1.119378
<br> RESP 17 H -1.137280
<br> RESP 18 N 1.259042
<br> RESP 19 O 1.713353
<br> RESP 20 O 0.738109
<br> RESP 21 C 0.041413
<br> RESP 22 C 0.956097
<br> RESP 23 C 1.040182
<br> RESP 24 C -0.082712
<br> RESP 25 C 1.051482
<br> RESP 26 C 0.595410
<br> RESP 27 C 0.202160
<br> RESP 28 C 2.662283
<br> RESP 29 H -1.166123
<br> RESP 30 H -1.126516
<br> RESP 31 H -0.984189
<br> RESP 32 H -0.800838
<br> RESP 33 H -1.188989
<br> RESP 34 H -1.401436
<br> RESP 35 H -1.215709
<br> RESP 36 H -1.113423
<br> RESP 37 H -1.128041
<br> RESP 38 N 1.271056
<br> RESP 39 O 1.679915
<br> RESP 40 O 0.705805
<br> RESP 41 C 0.116651
<br> RESP 42 C 0.813652
<br> RESP 43 C 1.108160
<br> RESP 44 C -0.087035
<br> RESP 45 C 1.066794
<br> RESP 46 C 0.598212
<br> RESP 47 C 0.201601
<br> RESP 48 C 2.665972
<br> RESP 49 H -1.193708
<br> RESP 50 H -1.119339
<br> RESP 51 H -0.987625
<br> RESP 52 H -0.794927
<br> RESP 53 H -1.193920
<br> RESP 54 H -1.403616
<br> RESP 55 H -1.227170
<br> RESP 56 H -1.113105
<br> RESP 57 H -1.132964
<br> RESP 58 N 1.272201
<br> RESP 59 O 1.669491
<br> RESP 60 O 0.737908
<br> RESP 61 C 0.017005
<br> RESP 62 C 0.961044
<br> RESP 63 C 1.064429
<br> RESP 64 C -0.116028
<br> RESP 65 C 1.044203
<br> RESP 66 C 0.665757
<br> RESP 67 C 0.203199
<br> RESP 68 C 2.660164
<br> RESP 69 H -1.159143
<br> RESP 70 H -1.166104
<br> RESP 71 H -0.983609
<br> RESP 72 H -0.830205
<br> RESP 73 H -1.208912
<br> RESP 74 H -1.380887
<br> RESP 75 H -1.210223
<br> RESP 76 H -1.114933
<br> RESP 77 H -1.129467
<br> RESP 78 N 1.264612
<br> RESP 79 O 1.718065
<br> RESP 80 O 0.706396
<br> Total 0.000000
<br>
<br>
<br> DDAP FULL DENSITY charges:
<br> Atom | Charge
<br>
<br> 1 C 0.164768
<br> 2 C 0.038789
<br> 3 C -0.067304
<br> 4 C 0.359095
<br> 5 C -0.273509
<br> 6 C -0.132861
<br> 7 C 0.453357
<br> 8 C -0.073176
<br> 9 H -0.008341
<br> 10 H -0.007149
<br> 11 H 0.160840
<br> 12 H 0.127025
<br> 13 H 0.128967
<br> 14 H 0.094082
<br> 15 H -0.056650
<br> 16 H -0.027392
<br> 17 H -0.004180
<br> 18 N -0.249484
<br> 19 O -0.299466
<br> 20 O -0.327283
<br> 21 C 0.164803
<br> 22 C 0.039171
<br> 23 C -0.067954
<br> 24 C 0.359126
<br> 25 C -0.273851
<br> 26 C -0.132660
<br> 27 C 0.453316
<br> 28 C -0.072910
<br> 29 H -0.008512
<br> 30 H -0.006834
<br> 31 H 0.161121
<br> 32 H 0.126815
<br> 33 H 0.128910
<br> 34 H 0.094007
<br> 35 H -0.056723
<br> 36 H -0.027522
<br> 37 H -0.004288
<br> 38 N -0.249623
<br> 39 O -0.299372
<br> 40 O -0.327146
<br> 41 C 0.164786
<br> 42 C 0.039184
<br> 43 C -0.067967
<br> 44 C 0.359125
<br> 45 C -0.273855
<br> 46 C -0.132651
<br> 47 C 0.453282
<br> 48 C -0.072882
<br> 49 H -0.008520
<br> 50 H -0.006829
<br> 51 H 0.161118
<br> 52 H 0.126809
<br> 53 H 0.128911
<br> 54 H 0.094000
<br> 55 H -0.056734
<br> 56 H -0.027529
<br> 57 H -0.004294
<br> 58 N -0.249597
<br> 59 O -0.299364
<br> 60 O -0.327128
<br> 61 C 0.164787
<br> 62 C 0.038773
<br> 63 C -0.067297
<br> 64 C 0.359102
<br> 65 C -0.273505
<br> 66 C -0.132867
<br> 67 C 0.453392
<br> 68 C -0.073203
<br> 69 H -0.008330
<br> 70 H -0.007154
<br> 71 H 0.160838
<br> 72 H 0.127032
<br> 73 H 0.128964
<br> 74 H 0.094090
<br> 75 H -0.056640
<br> 76 H -0.027383
<br> 77 H -0.004176
<br> 78 N -0.249513
<br> 79 O -0.299471
<br> 80 O -0.327306
<br> Total 0.000000
<br>
<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>cp2k+...@googlegroups.com</a>.
<br> To post to this group, send email to <a>cp...@googlegroups.com</a>.
<br> Visit this group at <a href="http://groups.google.com/group/cp2k" target="_blank" onmousedown="this.href='http://groups.google.com/group/cp2k';return true;" onclick="this.href='http://groups.google.com/group/cp2k';return true;">http://groups.google.com/<wbr>group/cp2k</a>.
<br> For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank" onmousedown="this.href='https://groups.google.com/groups/opt_out';return true;" onclick="this.href='https://groups.google.com/groups/opt_out';return true;">https://groups.google.com/<wbr>groups/opt_out</a>.
<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="javascript:" target="_blank" gdf-obfuscated-mailto="BF0pMAbhaDQJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp2k+uns...@googlegroups.<wbr>com</a>.
<br> To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="BF0pMAbhaDQJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>.
<br> Visit this group at <a href="http://groups.google.com/group/cp2k" target="_blank" onmousedown="this.href='http://groups.google.com/group/cp2k';return true;" onclick="this.href='http://groups.google.com/group/cp2k';return true;">http://groups.google.com/<wbr>group/cp2k</a>.
<br> For more options, visit <a href="https://groups.google.com/groups/opt_out" target="_blank" onmousedown="this.href='https://groups.google.com/groups/opt_out';return true;" onclick="this.href='https://groups.google.com/groups/opt_out';return true;">https://groups.google.com/<wbr>groups/opt_out</a>.
<br>
<br></blockquote></div>