<?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=431&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Multiwfn forum / using multiwfn to calc total density from a wave function file]]></title>
		<link>http://sobereva.com/wfnbbs/viewtopic.php?id=431</link>
		<description><![CDATA[The most recent posts in using multiwfn to calc total density from a wave function file.]]></description>
		<lastBuildDate>Sat, 09 Jan 2021 09:27:05 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: using multiwfn to calc total density from a wave function file]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=1541#p1541</link>
			<description><![CDATA[<p>I have now got it to work. I found that it was the </p><p>&gt; null</p><p>that was causing the final problem. When I leave that out all is well.</p><p>Again mnay many thanks</p>]]></description>
			<author><![CDATA[dummy@example.com (pmcardle)]]></author>
			<pubDate>Sat, 09 Jan 2021 09:27:05 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=1541#p1541</guid>
		</item>
		<item>
			<title><![CDATA[Re: using multiwfn to calc total density from a wave function file]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=1539#p1539</link>
			<description><![CDATA[<p>The &quot;Total electron density&quot; I referred to is just the &quot;Electron density&quot;.</p><p>Please simply ignore the crash information if the cube file have been successfully generated. Because you didn&#039;t gracefully exit Multiwfn, there must be some crash information. The way of gracefully exiting Multiwfn is to return to main menu, and input &quot;q&quot;. Namely the content in the gcuba.txt can be changed to</p><p>5<br /> 1<br /> 5<br />&#160; -8.14614677&#160; &#160; &#160; -10.4772558&#160; &#160; &#160; -13.2906675&#160; &#160; <br />&#160; 0.151178390&#160; &#160; &#160; 0.151178390&#160; &#160; &#160; 0.151178390&#160; &#160; <br />&#160; &#160; 107&#160; &#160; 141&#160; &#160; 178<br /> 2<br />0<br />q</p>]]></description>
			<author><![CDATA[dummy@example.com (sobereva)]]></author>
			<pubDate>Fri, 08 Jan 2021 19:47:20 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=1539#p1539</guid>
		</item>
		<item>
			<title><![CDATA[Re: using multiwfn to calc total density from a wave function file]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=1536#p1536</link>
			<description><![CDATA[<p>I have got this to work and the density output from multiWFN works much much better that the density output by Orca directly. I cannot see a way to attach an Excel file to show you the result compared to the standard method.</p><p>Many many thanks.</p><p>After entering main function 5 as suggested I did not find &quot;Total electron density&quot; and I used option 1 the rest worked fine with the input in Bohr.</p><p>I have tried to get this to work using a bat file containing the following line</p><br /><p> c:\multiwfn\multiwfn hps1a.molden.input &lt; gcuba.txt &gt; null</p><br /><p>where gcuba.txt contains</p><p> 5<br /> 1<br /> 5<br />&#160; -8.14614677&#160; &#160; &#160; -10.4772558&#160; &#160; &#160; -13.2906675&#160; &#160; <br />&#160; 0.151178390&#160; &#160; &#160; 0.151178390&#160; &#160; &#160; 0.151178390&#160; &#160; <br />&#160; &#160; 107&#160; &#160; 141&#160; &#160; 178<br /> 2</p><p>I get a crash with</p><p><a href="https://postimg.cc/cgnFwSYF" rel="nofollow"><span class="postimg"><img src="https://i.postimg.cc/cgnFwSYF/multiwfn-crash.png" alt="multiwfn-crash.png" /></span></a></p><p>It would be great to be a ble to get the BAT file to work.</p><p>All best regards</p>]]></description>
			<author><![CDATA[dummy@example.com (pmcardle)]]></author>
			<pubDate>Fri, 08 Jan 2021 16:20:30 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=1536#p1536</guid>
		</item>
		<item>
			<title><![CDATA[Re: using multiwfn to calc total density from a wave function file]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=1525#p1525</link>
			<description><![CDATA[<p>You can use ORCA to carry out a MP2 calculation, and ask ORCA to generate natural orbital file (.nat):</p><div class="codebox"><pre><code>! mp2 6-31G**
%mp2
Density relaxed
NatOrbs true
end
* xyz 0 1
S   -0.100485    1.713535   -0.121136
 O   -1.398399    1.776510   -0.716713
 O   -0.038068   -2.041448    4.370593
etc.
*</code></pre></div><p>Then change the resulting .nat file to .gbw, then convert it to .molden.input file, and load it into Multiwfn.</p><p>Then enter main function 5 of Multiwfn, select &quot;Total electron density&quot;, and choose &quot;5 Input original point, translation vector and the number of points&quot;, then input origin, grid spacing and number of grid in the three directions in turn:<br />-4.310746&#160; &#160;-5.544314&#160; &#160;-7.033104<br />0.8,0.8,0.8<br />107,141,178<br />Finally select &quot;2 Export data to a Gaussian-type cube file in current folder&quot; to obtain .cub file.</p>]]></description>
			<author><![CDATA[dummy@example.com (sobereva)]]></author>
			<pubDate>Sun, 03 Jan 2021 02:44:43 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=1525#p1525</guid>
		</item>
		<item>
			<title><![CDATA[using multiwfn to calc total density from a wave function file]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=1524#p1524</link>
			<description><![CDATA[<p>I recently asked a question about getting Orca output to work with Multiwfn and density calculation.<br />I have now got Orca output to work using orca_2mkl job -molden and using the job.molden.input as input for multiwfn.</p><p>The question I have now reduces to<br />can Multiwfn be used to calculate a density cube from job.molden.input which will work the same as a cube from this GJF from Gaussian</p><p>%nprocshared=&#160; 4<br />#MP2/6-31G** guess=core nosym density=MP2 pop=esp cube=(cards,frozencore)</p><p> #hps1xxxx &#039;P 21 21&#160; &#160;fragm&#160; &#160;1</p><p> 0 1<br /> S&#160; &#160;-0.100485&#160; &#160; 1.713535&#160; &#160;-0.121136<br /> O&#160; &#160;-1.398399&#160; &#160; 1.776510&#160; &#160;-0.716713<br /> O&#160; &#160;-0.038068&#160; &#160;-2.041448&#160; &#160; 4.370593<br />etc.</p><p>c:\clp\doc\dens\hps1xxxxa.den<br />&#160; &#160; 0&#160; &#160;-4.310746&#160; &#160;-5.544314&#160; &#160;-7.033104<br />&#160; 107&#160; &#160; 0.080000&#160; &#160; 0.000000&#160; &#160; 0.000000<br />&#160; 141&#160; &#160; 0.000000&#160; &#160; 0.080000&#160; &#160; 0.000000<br />&#160; 178&#160; &#160; 0.000000&#160; &#160; 0.000000&#160; &#160; 0.080000</p>]]></description>
			<author><![CDATA[dummy@example.com (pmcardle)]]></author>
			<pubDate>Sat, 02 Jan 2021 18:30:38 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=1524#p1524</guid>
		</item>
	</channel>
</rss>
