<?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=501&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Multiwfn forum / Tcl script in VMD]]></title>
		<link>http://sobereva.com/wfnbbs/viewtopic.php?id=501</link>
		<description><![CDATA[The most recent posts in Tcl script in VMD.]]></description>
		<lastBuildDate>Sat, 12 Jun 2021 10:08:23 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Tcl script in VMD]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=1835#p1835</link>
			<description><![CDATA[<p>thank you so much. I&#039;ll try it manually</p><p>Regards<br />Louis-Charl</p>]]></description>
			<author><![CDATA[dummy@example.com (Louischarlc0)]]></author>
			<pubDate>Sat, 12 Jun 2021 10:08:23 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=1835#p1835</guid>
		</item>
		<item>
			<title><![CDATA[Re: Tcl script in VMD]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=1832#p1832</link>
			<description><![CDATA[<div class="quotebox"><cite>Louischarlc0 wrote:</cite><blockquote><div><p>Hi there</p><p>Is it possible to obtain the fluorescence lifetime through TD-DFT methods in multiwfn?</p><p>Thanks in advance</p><p>Regards<br />Louis-Charl</p></div></blockquote></div><br /><p>This is irrelevant to Multiwfn<br />You should use Einstein equation based on oscillator strength and excitation energy to estimate lifetime of excited state. You can manually do this very easily, just an algebraic operation.</p>]]></description>
			<author><![CDATA[dummy@example.com (sobereva)]]></author>
			<pubDate>Fri, 11 Jun 2021 14:48:15 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=1832#p1832</guid>
		</item>
		<item>
			<title><![CDATA[Re: Tcl script in VMD]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=1830#p1830</link>
			<description><![CDATA[<p>Hi there</p><p>Is it possible to obtain the fluorescence lifetime through TD-DFT methods in multiwfn?</p><p>Thanks in advance</p><p>Regards<br />Louis-Charl</p>]]></description>
			<author><![CDATA[dummy@example.com (Louischarlc0)]]></author>
			<pubDate>Thu, 10 Jun 2021 16:53:39 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=1830#p1830</guid>
		</item>
		<item>
			<title><![CDATA[Re: Tcl script in VMD]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=1829#p1829</link>
			<description><![CDATA[<p>1. In the first loop, the pdb file is molecule 0 and the cub file is molecule 1. As &quot;top&quot; represents the top molecule, in this loop it is 1, so first, in the first loop you need to change all &quot;top&quot; to &quot;0&quot; to use information in pdb file.</p><p>2. In the second loop, although you deleted the first two molecules before, the counter will continue, and so this time the pdb file is molecule 2 and the cub file is molecule 3, and so for other loops.</p><p>3. &quot;mol scaleminmax&quot; has a different syntax as other common commands, as the molecule id need to be in front of representation id, and hence it should be &quot;mol scaleminmax top 0&quot; instead of &quot;mol scaleminmax 0 top&quot;.</p><p>4. Simply there are two solutions: the first is to set a variable as the index of the current loop, and use expression based on this variable to set molecule indices in each loop, and the second is load the cub file INTO the pdb file, and hence there is always one molecule from the beginning to the end, so you can always use &quot;top&quot; to indicate the current molecule. I would change the script to:</p><br /><br /><p>set nsystem [llength [glob -nocomplain atmdg_*.pdb]]</p><p>set isovaldginter 0.01<br />set colordginter 7</p><p>set colorlow -5.0<br />set colorhigh 5.0</p><p>display projection Orthographic<br />display rendermode GLSL<br />display depthcue off<br />light 2 on<br />light 3 on</p><p>color Display Background white<br />axes location Off</p><p>color scale method BWR<br />mol default style CPK</p><p>for {set i 1} {$i&lt;=$nsystem} {incr i} {<br />set name SP[format %04d $i]<br />puts &quot;Processing atmdg_$name.pdb and dg_inter_$name.cub...&quot;</p><p>mol new atmdg_$name.pdb<br />mol addfile dg_inter_$name.cub</p><p>animate delete beg 1 end 1 top<br />animate goto end</p><p>mol modstyle 0 top CPK 1.0 0.3 18.0 16.0<br />mol modcolor 0 top Beta<br />mol modmaterial 0 top EdgyShiny<br />mol scaleminmax top 0 $colorlow $colorhigh</p><p>mol addrep top<br />mol modstyle 1 top Isosurface $isovaldginter 0 0 0 1 1<br />mol modcolor 1 top ColorID $colordginter<br />mol modmaterial 1 top EdgyGlass</p><p>render snapshot $name.bmp</p><p>mol delete top</p><p>}</p><br /><br /><p>Those color Display, axes, color scale ... commands can be moved outside of the loop since they are only needed to be executed once.</p><p>p.s.</p><p>1. How did you define the fragments? I guess the separation of carbon and oxygen and regard them as &quot;two molecules&quot; is sort of meaningless.</p><p>2. Why draw it with such thick bonds (0.8)? Generally 0.2 to 0.3 is most commonly used.</p>]]></description>
			<author><![CDATA[dummy@example.com (snljty)]]></author>
			<pubDate>Thu, 10 Jun 2021 10:02:08 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=1829#p1829</guid>
		</item>
		<item>
			<title><![CDATA[Tcl script in VMD]]></title>
			<link>http://sobereva.com/wfnbbs/viewtopic.php?pid=1789#p1789</link>
			<description><![CDATA[<p>Using a VMD script written by me (IGMinter_isoall.tcl) I try to visualize the behavior of dginter in the course of a reaction (Fig. 1), but the VMD script does not work correctly. Could you check the IGMinter_isoall.tcl script and correct it?<br />I wrote the IGMinter_isoall.tcl script according to what is indicated in section 4.20.10.2 of the Multiwfn Manual<br />In RG I attach the files if necessary:</p><p><a href="https://www.researchgate.net/post/Tcl_script_in_VMD" rel="nofollow">https://www.researchgate.net/post/Tcl_script_in_VMD</a></p><br /><p><a href="https://postimg.cc/HjxnTZYN" rel="nofollow"><span class="postimg"><img src="https://i.postimg.cc/HjxnTZYN/Fig-1.png" alt="Fig-1.png" /></span></a></p><p>---IGMinter_isoall.tcl------------------------------------------------------------------------------------------------</p><p>set nsystem 51</p><p>set isovaldginter 0.01<br />set colordginter 7</p><p>set colorlow -5.0<br />set colorhigh 5.0</p><p>for {set i 1} {$i&lt;=$nsystem} {incr i} {<br />set name SP[format %04d $i]<br />puts &quot;Processing atmdg_$name.pdb and dg_inter_$name.cub...&quot;</p><p>display projection Orthographic<br />display rendermode GLSL<br />display depthcue off<br />light 2 on<br />light 3 on</p><p>color Display Background white<br />axes location Off</p><p>color scale method BWR<br />mol default style CPK</p><p>mol new atmdg_$name.pdb<br />mol new dg_inter_$name.cub</p><p>mol modstyle 0 top CPK 1.0 0.8 18.0 16.0<br />mol modcolor 0 top Beta<br />mol modmaterial 0 top EdgyShiny<br />mol scaleminmax 0 top $colorlow $colorhigh</p><p>mol modstyle 0 1 Isosurface $isovaldginter 0 0 0 1 1<br />mol modcolor 0 1 ColorID $colordginter<br />mol modmaterial 0 1 EdgyGlass</p><p>render snapshot $name.bmp</p><p>mol delete top<br />mol delete top<br />}</p>]]></description>
			<author><![CDATA[dummy@example.com (Hans)]]></author>
			<pubDate>Sat, 15 May 2021 19:23:26 +0000</pubDate>
			<guid>http://sobereva.com/wfnbbs/viewtopic.php?pid=1789#p1789</guid>
		</item>
	</channel>
</rss>
