<div dir="ltr">Dear Cp2K users,<div><br></div><div>I am a newbie of CP2K and I am trying to use Adaptive Buffered force QM-MM (AdBF-QM/MM) in cp2k</div><div><br></div><div>https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4351341/<br></div><div><br></div><div> to study a radical specie in water<br></div><div>I have a couple of questions.</div><div><br></div><div>1) Using</div><div><br></div><div>...</div><div><p style="font-size: 11px; font-family: Menlo;"> &QMMM</p>
<p style="font-size: 11px; font-family: Menlo; min-height: 13px;"><br></p>
<p style="font-size: 11px; font-family: Menlo;"> &QM_KIND Br</p>
<p style="font-size: 11px; font-family: Menlo;"> MM_INDEX 1</p>
<p style="font-size: 11px; font-family: Menlo;"> &END QM_KIND </p>
<p style="font-size: 11px; font-family: Menlo; min-height: 13px;"> </p>
<p style="font-size: 11px; font-family: Menlo;"> &QM_KIND O1</p>
<p style="font-size: 11px; font-family: Menlo;"> MM_INDEX 2</p>
<p style="font-size: 11px; font-family: Menlo;"> &END QM_KIND </p>
<p style="font-size: 11px; font-family: Menlo; min-height: 13px;"><br></p>
<p style="font-size: 11px; font-family: Menlo;"> &FORCE_MIXING</p>
<p style="font-size: 11px; font-family: Menlo;"><span class="Apple-tab-span" style="white-space:pre"> </span> MAX_N_QM 500</p>
<p style="font-size: 11px; font-family: Menlo;"> R_CORE 0.0 0.1 #dimension of the core region for the reduced QM/MM calculation. Could be 0 if you have the force field</p>
<p style="font-size: 11px; font-family: Menlo;"> R_QM 3.0 3.5 #Dimension of the dynamical core region</p>
<p style="font-size: 11px; font-family: Menlo;"> R_BUF 3.0 3.5 #dimensione of the buffere region </p>
<p style="font-size: 11px; font-family: Menlo;"> QM_KIND_ELEMENT_MAPPING Br Br #atoms that can be adaptively selectefor the QM region</p>
<p style="font-size: 11px; font-family: Menlo;"> QM_KIND_ELEMENT_MAPPING O O #atoms that can be adaptively selected for the QM region</p>
<p style="font-size: 11px; font-family: Menlo;"> QM_KIND_ELEMENT_MAPPING H H #atoms that can be adaptively selectedfor the QM region</p>
<p style="font-size: 11px; font-family: Menlo;"> EXTENDED_DELTA_CHARGE 0 # this is the charge of the QM_dynamical + buffer region. </p>
<p style="font-size: 11px; font-family: Menlo;"> MOMENTUM_CONSERVATION_REGION QM #only to dynamical core, you can also choose BUFFER for QM+BUFFER</p>
<p style="font-size: 11px; font-family: Menlo;"> MOMENTUM_CONSERVATION_TYPE EQUAL_A #equal acceleration on each atom, or EQUAL_F, equal force</p>
<p style="font-size: 11px; font-family: Menlo;"> &END FORCE_MIXING</p></div><div>..<font face="Menlo"><span style="font-size: 11px;">..</span></font><br></div><div><font face="Menlo"><span style="font-size: 11px;"><br></span></font></div><div><font face="Menlo"><span style="font-size: 11px;">And I got in my output</span></font></div><div><font face="Menlo"><span style="font-size: 11px;"><br></span></font></div>
<p style="font-size: 11px; font-family: Menlo;">QMMM FORCE MIXING final count (not including links): N_QM core_list 2 N_QM core 0 N_QM extended 12 N_QM buffered 63</p>
<p style="font-size: 11px; font-family: Menlo;">QMMM FORCE MIXING final count (not including links): N_QM core_list 2 N_QM core 0 N_QM extended 12 N_QM buffered 63</p>
<p style="font-size: 11px; font-family: Menlo;">QMMM FORCE MIXING final count (not including links): N_QM core_list 2 N_QM core 0 N_QM extended 12 N_QM buffered 63</p>
<p style="font-size: 11px; font-family: Menlo;">QMMM FORCE MIXING final count (not including links): N_QM core_list 2 N_QM core 0 N_QM extended 12 N_QM buffered 63</p>
<p style="font-size: 11px; font-family: Menlo;">QMMM FORCE MIXING final count (not including links): N_QM core_list 2 N_QM core 0 N_QM extended 12 N_QM buffered 63</p><p style="font-size: 11px; font-family: Menlo;"><br></p><p style="font-size: 11px; font-family: Menlo;">...</p><p style="font-size: 11px; font-family: Menlo;"><br></p><p style="font-size: 11px; font-family: Menlo;">Is N_QM core = 0 the number of atoms in my dynamical QM region? </p><p style="font-size: 11px; font-family: Menlo;">Moreover, reading the paper N_QM extended "is constructed adding a buffer region around the QM dynamical core"</p><p style="font-size: 11px; font-family: Menlo;">But N_QM extended =12 and N_QM buffered is 63, so it cannot be (N_QM should be the same of the buffer plus the dynamical core)...</p><p style="font-size: 11px; font-family: Menlo;"><br></p><p style="font-size: 11px; font-family: Menlo;">2) How does the R_BUF and R_QM works?</p><p style="font-size: 11px; font-family: Menlo;"><br></p><p style="font-size: 11px; font-family: Menlo;"> R_BUF is a radius around each atoms belonging to the QM dynamical core region</p><p style="font-size: 11px; font-family: Menlo;"><br></p><p style="font-size: 11px; font-family: Menlo;">OR</p><p style="font-size: 11px; font-family: Menlo;"><br></p><p style="font-size: 11px; font-family: Menlo;">R_BUF is centered around the QM_CORE (in my case determined by Br and O position) and, thus, I should impose always R_QM =< R_BUF ?</p><p style="font-size: 11px; font-family: Menlo;"><br></p><p style="font-size: 11px; font-family: Menlo;">3) Is it possible to write, at each time step of my run, a label or the indexes of the atoms in the dynamical and extended QM/MM region?</p><p style="font-size: 11px; font-family: Menlo;"><br></p><p style="font-size: 11px; font-family: Menlo;">I tried using</p><p style="font-size: 11px; font-family: Menlo;"><br></p><p style="font-size: 11px; font-family: Menlo;"> &FORCE_MIXING_LABELS</p><p style="font-size: 11px; font-family: Menlo;"> FORMAT XYZ</p><p style="font-size: 11px; font-family: Menlo;"> &EACH</p><p style="font-size: 11px; font-family: Menlo;"> MD 1</p><p style="font-size: 11px; font-family: Menlo;"> &END EACH</p><p style="font-size: 11px; font-family: Menlo;"> COMMON_ITERATION_LEVELS 0</p><p style="font-size: 11px; font-family: Menlo;">
</p><p style="font-size: 11px; font-family: Menlo;"> &END FORCE_MIXING_LABELS</p><p style="font-size: 11px; font-family: Menlo;"><br></p><p style="font-size: 11px; font-family: Menlo;">but it seems that it labels only the atoms in the QM CORE, i.e., *fmlabels-1_23.xyz</p><p style="font-size: 11px; font-family: Menlo;"><br></p><p style="font-size: 11px; font-family: Menlo;"> 6482</p><p style="font-size: 11px; font-family: Menlo;"> i = 23, time = 11.500, E = -21.9207476721</p><p style="font-size: 11px; font-family: Menlo;"> BR 10.0000000000 10.0000000000 10.0000000000</p><p style="font-size: 11px; font-family: Menlo;"> O 10.0000000000 10.0000000000 10.0000000000</p><p style="font-size: 11px; font-family: Menlo;"> O 0.0000000000 0.0000000000 0.0000000000</p><p style="font-size: 11px; font-family: Menlo;"> H 0.0000000000 0.0000000000 0.0000000000</p><p style="font-size: 11px; font-family: Menlo;">
</p><p style="font-size: 11px; font-family: Menlo;"> H 0.0000000000 0.0000000000 0.0000000000</p><p style="font-size: 11px; font-family: Menlo;">...</p><p style="font-size: 11px; font-family: Menlo;"><br></p><p style="font-size: 11px; font-family: Menlo;">Thank you for any possible help or comment</p><p style="font-size: 11px; font-family: Menlo;"><br></p><p style="font-size: 11px; font-family: Menlo;">Best Regards</p><p style="font-size: 11px; font-family: Menlo;">Ivan</p><p style="font-size: 11px; font-family: Menlo;"><br></p><p style="font-size: 11px; font-family: Menlo;"><br></p></div>