<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="">
Hi Mauro,
<div class=""><br class="">
</div>
<div class="">To add to what I replied before, I realized that if the implementation of ESM in QE does not include confinement, you could you the Environ one. Thinking at this conversation I realized that, while ESM and Environ are not compatible for what concerns
 electrostatics, it is probably possible to use the confining potential of Environ in a normal QE calculation with the ESM turned on. I don’t think anyone has tried it, but I don’t see any reason why it should not work. Just to give you some more options.</div>
<div class=""><br class="">
</div>
<div class="">Best,</div>
<div class=""><br class="">
</div>
<div class="">Oliviero</div>
<div class=""><br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
Oliviero Andreussi<br class="">
--<br class="">
Assistant Professor<br class="">
Department of Physics<br class="">
University of North Texas<br class="">
<a href="mailto:oliviero.andreussi@unt.edu" class="">Email: oliviero.andreussi@unt.edu</a> </div>
<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
Phone: +1-(940)-369-5316<br class="">
Skype: olivieroandreussi<br class="">
Web: <a href="https://www.materialab.org" class="">https://www.materialab.org</a></div>
</div>
</div>
</div>
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jun 28, 2020, at 2:49 PM, Mauro Sgroi <<a href="mailto:maurofrancesco.sgroi@gmail.com" class="">maurofrancesco.sgroi@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
Dear Minoru,
<div dir="auto" class="">Thanks a lo for the clarification.</div>
<div dir="auto" class="">Kind regards, </div>
<div dir="auto" class="">Mauro. </div>
</div>
<br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<div class="gmail_quote" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<div dir="ltr" class="gmail_attr">Il sab 27 giu 2020, 08:04 大谷実 <<a href="mailto:minoru.otani@aist.go.jp" class="">minoru.otani@aist.go.jp</a>> ha scritto:<br class="">
</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;">
Dear Mauro,<br class="">
<br class="">
There are possibly two barriers to an MD calculation with ESM. One is the barrier for electrons, and the other is atoms. The former prevents electrons from leaking into the vacuum region when the surface is negatively charged. The latter prevents atoms from
 going (evaporating) into the vacuum region.<br class="">
<br class="">
We usually use a trigonometric function for the barrier of electrons and a parabolic function for atoms. You can find the original function forms in the following reference: Surf. Sci. 601 5237 (2007).<br class="">
<br class="">
I am not sure such barriers are introduced to QE. At least I haven't implemented it.<br class="">
<br class="">
Best regards,<br class="">
Minoru<br class="">
<br class="">
--------------------------------------------------------------------------------------------------------<br class="">
National Institute of Advanced Industrial Science and Technology,<br class="">
Research Centre for Computational Design of Advanced Functional Materials<br class="">
E-mail:<span class="Apple-converted-space"> </span><a href="mailto:minoru.otani@aist.go.jp" target="_blank" rel="noreferrer" class="">minoru.otani@aist.go.jp</a><br class="">
tel : +81-29-861-5202<br class="">
--------------------------------------------------------------------------------------------------------<br class="">
<br class="">
<br class="">
________________________________________<br class="">
From: users <<a href="mailto:users-bounces@lists.quantum-espresso.org" target="_blank" rel="noreferrer" class="">users-bounces@lists.quantum-espresso.org</a>> on behalf of Mauro Sgroi <<a href="mailto:maurofrancesco.sgroi@gmail.com" target="_blank" rel="noreferrer" class="">maurofrancesco.sgroi@gmail.com</a>><br class="">
Sent: Saturday, June 27, 2020 7:57 AM<br class="">
To: Quantum ESPRESSO users Forum<br class="">
Subject: [QE-users] Surface-model slab: ESM and definition of a liquid  region inside the vacuum<br class="">
<br class="">
Dear all,<br class="">
I'm trying to simulate the interface between a charged doped graphene layer and a liquid electrolyte.<br class="">
I would like to treat the solvent explicitly. So I should place some molecules of the solvent in the vacuum region of my slab model.<br class="">
I've seen that with the OpenMX code it is possible to use the ESM method and define a potential to confine the liquid in a certain portion of the space between periodic images of the substrate. This prevents the liquid filling all the vacuum space of the supercell
 during MD.<br class="">
<br class="">
Here is an explicative figure:<br class="">
<a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.openmx-square.org%2Fopenmx_man3.7%2Fnode118.html&data=02%7C01%7Coliviero.andreussi%40unt.edu%7C90aab5056260404119ea08d81b9c6f82%7C70de199207c6480fa318a1afcba03983%7C0%7C0%7C637289706003170363&sdata=ynvYs1MyEcIn8aXpMQCCQY0t2vVOo3WNosDaVnY1k48%3D&reserved=0" originalsrc="http://www.openmx-square.org/openmx_man3.7/node118.html" shash="TCoPIu4Lqxdw1nfclmJxeZVUHu6yKRpvAQUn/bloVPtRDpBkI5J5ue2IbJN1SfzxI0/goe/55fZkCAuepy4eBauNPf8dH/zFhnQh8jC3tn+A3SECzNpeylmJltfXadlv46xPLUlprEpoMbtXtukolhJBAwDA51qfYz03jLVu5nw=" rel="noreferrer noreferrer" target="_blank" class="">http://www.openmx-square.org/openmx_man3.7/node118.html</a><<a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.openmx-square.org%2Fopenmx_man3.7%2Fnode118.html&data=02%7C01%7Coliviero.andreussi%40unt.edu%7C90aab5056260404119ea08d81b9c6f82%7C70de199207c6480fa318a1afcba03983%7C0%7C0%7C637289706003180354&sdata=4ryVUpUdmwE5R6M3zQaXIWCrcbdsR0J3xvpw1bf0GyY%3D&reserved=0" originalsrc="http://www.openmx-square.org/openmx_man3.7/node118.html" shash="t4/2JLOZCDdvJWPL4Ou+DMqG+mH67ZgkD/BTy5JEdA3POKyGUvurDksoSZBrfEK9Lkl2H2oyJ28B0508/km27xUwb5yLfrvth3gJfk4f2nqtl/ddezS7xdF26GPZBSBSb2XKCOTMD+gJy2mcAch87SkZtbPt9zjDYvy2OF5yNZE=" rel="noreferrer noreferrer" target="_blank" class="">https://jpn01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.openmx-square.org%2Fopenmx_man3.7%2Fnode118.html&data=02%7C01%7Cminoru.otani%40aist.go.jp%7C9d3031d5a9ae40fcea8a08d81a2467b2%7C18a7fec8652f409b8369272d9ce80620%7C0%7C0%7C637288090956080025&sdata=ngwDC21Ut6Pdxjmy6lWI2DMkeXHeJRBHk1EtqTtLAjw%3D&reserved=0</a>><br class="">
<br class="">
Is something similar implemented in Quantum Espresso?<br class="">
Or is it possible to obtain it using constraints on the coordinates?<br class="">
<br class="">
Thanks a lot in advance and best regards,<br class="">
Mauro Sgroi.<br class="">
Centro Ricerche FIAT.<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
Quantum ESPRESSO is supported by MaX (<a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.max-centre.eu%2Fquantum-espresso&data=02%7C01%7Coliviero.andreussi%40unt.edu%7C90aab5056260404119ea08d81b9c6f82%7C70de199207c6480fa318a1afcba03983%7C0%7C0%7C637289706003180354&sdata=4C0hanUtewLe60vWGbAuvEPlkLZkoWe3wjtsBuKQHsg%3D&reserved=0" originalsrc="http://www.max-centre.eu/quantum-espresso" shash="zROuIFWTf8eo3ntLH8jdCOdHguVw1gS3SgHl56A66Y/nuSyk0MUSYg28YFwAIP2C4Vl7Jl/9y4vZyTNc1Um98+D3X9u78T04HGiIwnyrJdMprI6HJliy7BuIz9L96JlVKXRCNPEOVr/tjCIvifvuUIcrDm32/z9+HKo2GvkMX4k=" rel="noreferrer noreferrer" target="_blank" class="">www.max-centre.eu/quantum-espresso</a>)<br class="">
users mailing list<span class="Apple-converted-space"> </span><a href="mailto:users@lists.quantum-espresso.org" target="_blank" rel="noreferrer" class="">users@lists.quantum-espresso.org</a><br class="">
<a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.quantum-espresso.org%2Fmailman%2Flistinfo%2Fusers&data=02%7C01%7Coliviero.andreussi%40unt.edu%7C90aab5056260404119ea08d81b9c6f82%7C70de199207c6480fa318a1afcba03983%7C0%7C0%7C637289706003190349&sdata=O4IMkcCOwrxCxqtLe1GUNszyF1weqtIVIlIaU%2ByxUnQ%3D&reserved=0" originalsrc="https://lists.quantum-espresso.org/mailman/listinfo/users" shash="GLqv0Pe3s+H3xHXJKy4k9X9EjHtCkK+fqJ/jmyNQoi9IAM+99ji5fWf6VpzB9m6xWiRDMXSh8SmJlFPKBq1CmIsoNBGBJDwDRJ9F7QBnLJpQ6+2Qxq1umc0Edy1qDnhfZI8Qufqj3kI3lkZcbRj18vubhCeFZ2mU6sjRtgq17No=" rel="noreferrer noreferrer" target="_blank" class="">https://lists.quantum-espresso.org/mailman/listinfo/users</a><br class="">
</blockquote>
</div>
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Quantum
 ESPRESSO is supported by MaX (</span><a href="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.max-centre.eu%2Fquantum-espresso&amp;data=02%7C01%7Coliviero.andreussi%40unt.edu%7C90aab5056260404119ea08d81b9c6f82%7C70de199207c6480fa318a1afcba03983%7C0%7C0%7C637289706003220334&amp;sdata=dbdCUDtHSq%2FbxqSzSCnaEKU4KQhQV9ldplsOTopJBJ0%3D&amp;reserved=0" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.max-centre.eu%2Fquantum-espresso&amp;data=02%7C01%7Coliviero.andreussi%40unt.edu%7C90aab5056260404119ea08d81b9c6f82%7C70de199207c6480fa318a1afcba03983%7C0%7C0%7C637289706003220334&amp;sdata=dbdCUDtHSq%2FbxqSzSCnaEKU4KQhQV9ldplsOTopJBJ0%3D&amp;reserved=0</a><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">)</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">users
 mailing list<span class="Apple-converted-space"> </span></span><a href="mailto:users@lists.quantum-espresso.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">users@lists.quantum-espresso.org</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.quantum-espresso.org%2Fmailman%2Flistinfo%2Fusers&amp;data=02%7C01%7Coliviero.andreussi%40unt.edu%7C90aab5056260404119ea08d81b9c6f82%7C70de199207c6480fa318a1afcba03983%7C0%7C0%7C637289706003220334&amp;sdata=3eQ752zSjynnRO4zvKFc65ZtauirtxDoukKAmLSgBAw%3D&amp;reserved=0" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.quantum-espresso.org%2Fmailman%2Flistinfo%2Fusers&amp;data=02%7C01%7Coliviero.andreussi%40unt.edu%7C90aab5056260404119ea08d81b9c6f82%7C70de199207c6480fa318a1afcba03983%7C0%7C0%7C637289706003220334&amp;sdata=3eQ752zSjynnRO4zvKFc65ZtauirtxDoukKAmLSgBAw%3D&amp;reserved=0</a></div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>