<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://sobereva.com/wfnbbs/extern.php?action=feed&amp;tid=1753&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Multiwfn forum / Ehrenfest force]]></title>
		<link>http://sobereva.com/wfnbbs/viewtopic.php?id=1753</link>
		<description><![CDATA[The most recent posts in Ehrenfest force.]]></description>
		<lastBuildDate>Sun, 30 Nov 2025 02:48:04 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Ehrenfest force]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=5490#p5490</link>
			<description><![CDATA[<div class="quotebox"><cite>Alexey wrote:</cite><blockquote><div><p>Hello, i&#039;d like to study Ehrenfest force (both vector field and |F|). Multiwfn has a stress tensor, but is it possible to calculate the Ehrenfest force as its negative divergence? Does Multiwfn have such an option? I couldn&#039;t find it in the manual. (I understand that the Ehrenfest force derived from the stress tensor has problems due to the uncertainty of the stress tensor <a href="https://doi.org/10.1063/5.0174905" rel="nofollow">https://doi.org/10.1063/5.0174905</a> , but I&#039;d still like to see it).</p></div></blockquote></div><p>Dear Alexey, </p><p>Mortera-Carbonell et al. propose an alternative to the stress-tensor approach, using the exchange–correlation Ehrenfest force field, Fₓc(r), to define and analyze the Ehrenfest force. <a href="https://doi.org/10.1021/acs.jctc.4c00890" rel="nofollow">https://doi.org/10.1021/acs.jctc.4c00890</a><br />---<br />About vector field representation, perhaps adapting the scripts for gnuplot, to read the .txt (as Professor Tian Lu mentioned), could be useful. See: <a href="http://gnuplotting.org/vector-field-from-function/index.html" rel="nofollow">http://gnuplotting.org/vector-field-fro … index.html</a></p><br /><p><a href="https://postimg.cc/nMHGqHMc" rel="nofollow"><span class="postimg"><img src="https://i.postimg.cc/nMHGqHMc/vector-field.png" alt="vector-field.png" /></span></a></p>]]></description>
			<author><![CDATA[dummy@example.com (alozada)]]></author>
			<pubDate>Sun, 30 Nov 2025 02:48:04 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=5490#p5490</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ehrenfest force]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=5444#p5444</link>
			<description><![CDATA[<p>Multiwfn doesn&#039;t provide this feature, please export vector field as .txt file and try to visualize the field via e.g. Origin</p>]]></description>
			<author><![CDATA[dummy@example.com (sobereva)]]></author>
			<pubDate>Tue, 28 Oct 2025 19:46:25 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=5444#p5444</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ehrenfest force]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=5443#p5443</link>
			<description><![CDATA[<p>Dear Tian Lu, i&#039;m currently in the process of verifying the correctness of this code. To do this, I needed to visualize this vector field, but I have into a problem: option 4 only allows to draw scalar fields and their gradients. Is there a way in multiwfn to directly visualize a vector field that is not the gradient of a scalar function? I couldn&#039;t find it in the manual</p>]]></description>
			<author><![CDATA[dummy@example.com (Alexey)]]></author>
			<pubDate>Tue, 28 Oct 2025 15:24:30 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=5443#p5443</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ehrenfest force]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=5435#p5435</link>
			<description><![CDATA[<p>I am not sure if the code is fully correct, please compare the result with published values, what I can say is that the format and utilization of variable/arrays look reasonable. If you find the result is correct and in line with with published values, please let me know and I would like to include it into official source code.</p>]]></description>
			<author><![CDATA[dummy@example.com (sobereva)]]></author>
			<pubDate>Mon, 27 Oct 2025 20:11:52 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=5435#p5435</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ehrenfest force]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=5434#p5434</link>
			<description><![CDATA[<p>real*8 function ehr(x,y,z)<br />use defvar<br />implicit real*8 (a-h,o-z)<br />real*8 wfnval(nmo),grad(3,nmo),hess(3,3,nmo),tens3(3,3,3,nmo)<br />real*8 F(3),phi,g(3),h(3,3),t3(3,3,3)<br />integer imo,i,j<br />real*8 occ,term,sumj</p><p>call orbderv(5,1,nmo,x,y,z,wfnval,grad,hess,tens3)</p><p>F=0D0<br />do imo=1,nmo<br />&#160; &#160; occ = MOocc(imo)<br />&#160; &#160; if (occ==0D0) cycle<br />&#160; &#160; phi = wfnval(imo)<br />&#160; &#160; g(:) = grad(:,imo)<br />&#160; &#160; h(:,:) = hess(:,:,imo)<br />&#160; &#160; t3(:,:,:) = tens3(:,:,:,imo)</p><p>&#160; &#160; do i=1,3<br />&#160; &#160; &#160; &#160; sumj = 0D0<br />&#160; &#160; &#160; &#160; do j=1,3<br />&#160; &#160; &#160; &#160; &#160; &#160; <br />&#160; &#160; &#160; &#160; &#160; &#160; sumj = sumj + 2D0*(h(j,i)*g(j) + g(i)*h(j,j) - t3(j,i,j)*phi - h(i,j)*g(j))<br />&#160; &#160; &#160; &#160; end do<br />&#160; &#160; &#160; &#160; <br />&#160; &#160; &#160; &#160; F(i) = F(i) - (-0.25D0*occ*sumj)<br />&#160; &#160; end do<br />end do</p><p>ehr = sqrt(F(1)**2 + F(2)**2 + F(3)**2)<br />end function</p><p>could you please check is it correct?</p>]]></description>
			<author><![CDATA[dummy@example.com (Alexey)]]></author>
			<pubDate>Mon, 27 Oct 2025 18:07:43 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=5434#p5434</guid>
		</item>
		<item>
			<title><![CDATA[Re: Ehrenfest force]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=5433#p5433</link>
			<description><![CDATA[<p>Hello,</p><p>Ehrenfest force has not been explicitly implemented in Multiwfn. But you can easily extend the source code Multiwfn to realize this aim. Stress tensor is calculated by &quot;subroutine stress_tensor&quot; in function.f90. Basic knowledge about modifying source code of Multiwfn can be found in <a href="http://sobereva.com/multiwfn/res/Modifying%20source%20code%20of%20Multiwfn.pdf" rel="nofollow">http://sobereva.com/multiwfn/res/Modify … ltiwfn.pdf</a></p>]]></description>
			<author><![CDATA[dummy@example.com (sobereva)]]></author>
			<pubDate>Sun, 26 Oct 2025 22:38:30 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=5433#p5433</guid>
		</item>
		<item>
			<title><![CDATA[Ehrenfest force]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=5432#p5432</link>
			<description><![CDATA[<p>Hello, i&#039;d like to study Ehrenfest force (both vector field and |F|). Multiwfn has a stress tensor, but is it possible to calculate the Ehrenfest force as its negative divergence? Does Multiwfn have such an option? I couldn&#039;t find it in the manual. (I understand that the Ehrenfest force derived from the stress tensor has problems due to the uncertainty of the stress tensor <a href="https://doi.org/10.1063/5.0174905" rel="nofollow">https://doi.org/10.1063/5.0174905</a> , but I&#039;d still like to see it).</p>]]></description>
			<author><![CDATA[dummy@example.com (Alexey)]]></author>
			<pubDate>Sun, 26 Oct 2025 22:23:19 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=5432#p5432</guid>
		</item>
	</channel>
</rss>
