tag:blogger.com,1999:blog-30608987144395662442025-11-28T23:50:42.041-08:00Machine PhaseTomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.comBlogger274125tag:blogger.com,1999:blog-3060898714439566244.post-91215208434607715262015-05-04T10:49:00.000-07:002016-10-07T10:46:06.460-07:00Installing GROMACS 5.0.4 on Ubuntu 14.04 using cmake<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><br />
<!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
</style>
<![endif]-->
<br />
<div class="MsoNormal">
Install necessary packages:</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
sudo apt-get install cmake</div>
<div class="MsoNormal">
sudo apt-get install build-essential</div>
<div class="MsoNormal">
<span style="font-size: small;"><span style="line-height: 115%;">sudo apt-get install libboost-dev libxml2-dev</span></span></div>
<span style="font-size: small;">
</span><br />
<div class="MsoNormal">
<span style="font-size: small;"><span style="line-height: 115%;">sudo apt-get install libfftw3-dev libfftw3-doc</span></span></div>
<span style="font-size: small;">
</span><br />
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
1. download gromacs source gromacs-5.0.4.tgz</div>
<div class="MsoNormal">
2. cd ~/Downloads</div>
<div class="MsoNormal">
3. tar -xvzf gromacs-5.0.4.tgz</div>
<div class="MsoNormal">
4. mkdir build</div>
<div class="MsoNormal">
5. cd build</div>
<div class="MsoNormal">
<span style="font-size: x-small;">6.<span class="SourceText"><span style="color: #009900; font-family: "arial" , "sans-serif";"> </span></span><span class="SourceText"><span style="color: black; font-family: "arial" , "sans-serif";">sudo cmake ..
-DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DGMX_BUILD_OWN_FFTW=ON</span></span></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="color: black;">7. sudo make</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="color: black;">8. sudo make install</span></div>
Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com3tag:blogger.com,1999:blog-3060898714439566244.post-90719915797977438462012-01-12T13:10:00.000-08:002012-01-12T13:15:32.183-08:00Been a while<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.blogger.com/video.g?token=AD6v5dyvtz04drgMPAY2XIzGZ1plQ22jkEdTccjPdfDUcqi8TVSjgCwTsMz_9CupW-QWtOEWjtWR56_cBxvA6uEYGA' class='b-hbp-video b-uploaded' frameborder='0'></iframe><br /><br />Quick MD simulation done in SIESTA and visualized in VMD. I have a back log of stuff to post, but I might move on to the new stuff.Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com9tag:blogger.com,1999:blog-3060898714439566244.post-30198526232158470092010-09-09T06:41:00.000-07:002010-09-09T06:44:47.084-07:00pillared graphene<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/ayfyduZpCfc?fs=1&hl=en_US&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ayfyduZpCfc?fs=1&hl=en_US&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object><br /><br />Small molecular dynamics simulation carried out in GROMACS and visualized in Blender as part of a larger project I'm still working on.Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com12tag:blogger.com,1999:blog-3060898714439566244.post-5982775953973853442010-05-29T22:27:00.001-07:002010-05-29T22:50:16.538-07:00Rolling my own part two<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFw49zl_z_9PjqZjhIi2nRscGsjSEUiWwgXwu_9zKgRA5cG48FiNJXOAQ03L3PslwvEPJaEEfrBfyyGFwywIa4NSwcGLf9F7n6v8Fb3LsuT7cKmUrzchwC81Kk9jzVf4Gn6qWkKiTq5K0/s1600/toms+molecular+viewer+V2.png"><img style="cursor:pointer; cursor:hand;width: 320px; height: 190px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFw49zl_z_9PjqZjhIi2nRscGsjSEUiWwgXwu_9zKgRA5cG48FiNJXOAQ03L3PslwvEPJaEEfrBfyyGFwywIa4NSwcGLf9F7n6v8Fb3LsuT7cKmUrzchwC81Kk9jzVf4Gn6qWkKiTq5K0/s320/toms+molecular+viewer+V2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5476931470297684034" /></a><br /><br /><br />The version numbers could be a little nuts here for a while. I probably won't post anything else until they get into double digits as I can't imagine this is interesting to anyone but me. The major improvement here is the ability to distinguish different atoms in the input file and draw them accordingly. The radii still need a little adjusting.Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com1tag:blogger.com,1999:blog-3060898714439566244.post-43189697796032817112010-05-25T20:18:00.001-07:002010-05-26T18:00:06.156-07:00Rolling my own<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghgFn2M6RandPvmLDuleHzhlyKCUT2JbQ4eUlOxT1DPripQEg2516Qd8VAGtHGyFbeSDRNvsthC1xuTZkHJzi8GGBjJZ3Uh3FpolkZQFO0vHCKvMhV2M0JkVHC3AXHY-mRoACj7cYcOeE/s1600/C60_in_homebrew.jpg"><img style="cursor:pointer; cursor:hand;width: 320px; height: 249px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghgFn2M6RandPvmLDuleHzhlyKCUT2JbQ4eUlOxT1DPripQEg2516Qd8VAGtHGyFbeSDRNvsthC1xuTZkHJzi8GGBjJZ3Uh3FpolkZQFO0vHCKvMhV2M0JkVHC3AXHY-mRoACj7cYcOeE/s320/C60_in_homebrew.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5475746494320597042" /></a><br /><br /><br />Reading in xyz coordinates and rendering them in PyOpenGl<br /><br />I figure by the time I'm done it will be best-in-class, export controlled and retail for a couple hundred thousand dollars. You saw it here first.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-TuzoLcz9qame7TN7OsH6O42uilUnSheIPGY4RC8db3itRqnUMIImS5a8Cl8J912SMcqVbqYJxrWh9rUgClsWClAFCdEfCx650D06QYhw8Mw469sTi-48wASG5HVB-HeHE6lTC-bA7Go/s1600/moved.jpg"><img style="cursor:pointer; cursor:hand;width: 320px; height: 249px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-TuzoLcz9qame7TN7OsH6O42uilUnSheIPGY4RC8db3itRqnUMIImS5a8Cl8J912SMcqVbqYJxrWh9rUgClsWClAFCdEfCx650D06QYhw8Mw469sTi-48wASG5HVB-HeHE6lTC-bA7Go/s320/moved.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5475747823964017826" /></a><br /><br />Oh yeah, I can rotate and zoom the camera using the mouse. Jealous?Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com0tag:blogger.com,1999:blog-3060898714439566244.post-56019812142440661792010-05-24T16:15:00.000-07:002010-05-24T19:54:07.832-07:00Scripting atom color changes as a function of velocity in Blender<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/GOagR-uW9L0&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GOagR-uW9L0&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object><br /><br />Atom colors change as a function of their velocity using the basic how-hard-is-it-raining convention, slower is blue, white is pouring. RGB values for individual atoms were calculated from molecular dynamics data and imported as object color IPO curves. For this I expanded Miron's <a href="http://github.com/devrandom/nanotools">import IPO script</a> to include three more curves, one for each RGB. <br /><br />I plan to develop this more to represent temperatures.Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com0tag:blogger.com,1999:blog-3060898714439566244.post-54064470928812830652010-05-19T19:31:00.000-07:002010-05-19T19:40:56.083-07:00Diamond Bearing<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/PVghtW5Jej0&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/PVghtW5Jej0&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object><br /><br />I obviously have a small glitch in importing these models from NE1 to Blender in that I lose a single atom. I bet it is either the first or last. <br /><br />For a beautiful version of the same structure check out <a href="http://www.youtube.com/user/euplotes">Euplotes'</a><br />He has lots of other good stuff too. <br /><br /><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/7un3sLKnr2I&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/7un3sLKnr2I&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com2tag:blogger.com,1999:blog-3060898714439566244.post-62301110259254668532010-05-09T18:15:00.000-07:002010-05-09T20:50:12.486-07:00Atomistic Large Bearing: dynamics performed in NanoEngineer-1, vizualized in Blender<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/M8smcEDgrT8&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/M8smcEDgrT8&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object><br /><br /><br />The initial visualization of 550 frames, skipping two simulation steps at 50f/s, motion blur set 0.5 averaged over 5 frames. This took about 20 hours to render on a basic core 2 duo notebook.<br /><br /><br />9 frames, skipping 100 frames looped, motion blur set to 5 averaged over 16 frames. About 20 minutes per frame to render. <br /><br /><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/Mjib35EJGkc&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Mjib35EJGkc&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com0tag:blogger.com,1999:blog-3060898714439566244.post-77523119647088575032010-05-03T15:31:00.000-07:002010-05-03T15:40:12.656-07:00C60 fullerene melting<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/N7PoLf2pib0&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/N7PoLf2pib0&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object><br /><br />Related:<br /><a href="http://machine-phase.blogspot.com/2007/06/simulating-c60-molecule-melting.html"><br />simulating a C60 molecule melting</a>Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com4tag:blogger.com,1999:blog-3060898714439566244.post-85710439861040084192010-04-28T16:33:00.000-07:002010-04-28T17:26:52.536-07:00Atomistic Small Bearing: dynamics performed in NanoEngineer-1, visualized in Blender<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/kPWkJve_ZvM&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/kPWkJve_ZvM&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object><br /><br />The astute viewer will notice two things first:<br />1-I still can not frame a shot for shit. <br />2-The back side of the rotor is missing a hydrogen atom<br /><br />Well, these are still more or less movies where I am more concerned with getting different things to work than I am with cinematography and such. Maybe next time I'll throw in some <a href="http://en.wikipedia.org/wiki/File:KubrickWalls.JPG">long parallel walls</a> to frame the action. Also any long time readers of this site will know that I have had my <a href="http://i190.photobucket.com/albums/z305/mooreth/movement_114_break_up.gif">problems with hydrogen</a> in the past, but, all in all, things have come a long way from the last time I <a href="http://machine-phase.blogspot.com/2007/03/getting-started-with-small-bearing.html">posted anything</a> about the famous small bearing first proposed by <a href="http://metamodern.com/">K. Eric Drexler</a> back in 94, I believe. <br /><br />A little about how I did it:<br /><br />NE1 will save simulations in two ways, either as a binary file (which I can't do much with right now expect turn into gibberish) and a series of POV-Ray files, one for each time step. So you are probably thinking "why not just stitch the povs together, adjust the lighting, camera, materials, whatever and call it a day?" I know POV-Ray is great, and I'm pretty sure it is all Pixar uses, but I'm just a gui type of guy I guess. So I have written a Frankenstein's Monster of a script that will read in a series of povs and create atom trajectory files, one for each atom. Normally it would then just be a matter of using Miron Cuperman's import_<a href="http://github.com/devrandom/nanotools">ipo_script</a> to connect the atom trajectory files with a PDB model which NE1 exports and Miron has also provided a very fast importer for. <br /><br />The only problem here is NE1 writes the atoms in a different order in povs and PDBs. It is very important that the right trajectory matches up with the right atom. So I added another section (subroutine?) to my script that will read in the first pov ray file and create a bona fide .xyz chemical format file. I went with the .xyz because it is the simplest format I know of. Then all you have to do is run it through <a href="http://openbabel.org/wiki/Main_Page">Open Babel</a> to convert it into a PDB file that has the same atom order as the pov files and can be imported into Blender. That's all there is to it. <br /><br />I fully intend to clean it up, rewrite parts so they're not embarrassing (even for me) but if you can't wait, you can get a copy of my <a href="https://www.msu.edu/~mooreth2/python/ne12blendXXX.py">ne12blendXXX.py</a> script. The XXX stands for a couple of things. Guess!Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com0tag:blogger.com,1999:blog-3060898714439566244.post-79943198777606072712010-04-27T15:58:00.000-07:002010-04-27T16:00:20.387-07:00C60 and C240 collision at 300eV<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/WQrdU8ROatI&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/WQrdU8ROatI&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object><br /><br /><br />Related:<br /><br /><a href="http://machine-phase.blogspot.com/2010/04/c60-and-c240-collision-at-10ev.html">C60 and C240 collision at 10eV</a>Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com0tag:blogger.com,1999:blog-3060898714439566244.post-58111619674905579192010-04-23T13:31:00.000-07:002010-04-23T18:25:21.019-07:00C60 and C240 collision at 10eV<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/GPMdIZWWNLM&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GPMdIZWWNLM&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object><br /><br />Something a little more than just jiggling<br /><br />This would not have been possible without the help of Miron Cuperman and his coding skills. Miron has written a nice python script to automate the process of importing csv data in Blender to animate objects. You can get a copy <a href="http://github.com/devrandom/nanotools">here</a><br /><br />I will be the first to admit I am far from a Blender pro, but I hope to be able to show off some of the features that other visualizers don't have or do in a way I find cumbersome. This episode: Camera Tracking<br /><br />More interesting stuff is on the way too.<br /><br />MTFTomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com0tag:blogger.com,1999:blog-3060898714439566244.post-54597447790165841762010-04-13T19:57:00.000-07:002010-04-13T20:04:19.963-07:00fullerene capsule: molecular dynamics performed in GROMACS, visualized in Blenderand one more, why not?<br /><br /><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/k2tsEteW5_o&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/k2tsEteW5_o&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com0tag:blogger.com,1999:blog-3060898714439566244.post-11244093913245664662010-04-11T12:20:00.000-07:002010-04-11T12:38:33.681-07:00Can you put it in a wine glass?Sure<br /><br /><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/zsW4Ymd1MzQ&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/zsW4Ymd1MzQ&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com0tag:blogger.com,1999:blog-3060898714439566244.post-53270588097675292512010-04-10T19:30:00.000-07:002010-04-10T19:33:50.370-07:00C60 fullerene- molecular dynamics performed in GROMACS, visualization done in Blender<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/eybGii-gGC8&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/eybGii-gGC8&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com0tag:blogger.com,1999:blog-3060898714439566244.post-27183340719827294772010-04-08T18:16:00.001-07:002010-04-08T19:48:22.532-07:00visualizing GROMACS simulations with Blender (teaser)<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/zGiB72ULCCs&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/zGiB72ULCCs&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object><br /><br /><br />This was a proof of concept test, so I'm not going into the details of how to do it right now. There are also a couple of steps I still need to automate to make this a practical solution; that's why there is only five atoms in this one. However I'm optimistic those can be worked out easy enough. After that I'll upload a turn-key script of sorts that will give you the features and flexibility of <a href="http://www.blender.org/">Blender</a> to render <a href="http://www.gromacs.org/">GROMACS</a> molecular dynamics simulations.<br /><br />Related:<br /><a href="http://machine-phase.blogspot.com/2009/12/getting-atom-trajectory-files-from.html">Atom Trajectories from GROMACS</a><br /><a href="http://machine-phase.blogspot.com/2009/08/carbon-nanotube-nem-animated-in-blender.html">Carbon Nanotube Animated in Blender</a><br /><a href="http://machine-phase.blogspot.com/2009/08/molecular-rotor-animation-rendered-in.html">Molecular Rotor Animated in Blender</a><br /><br />MTFTomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com0tag:blogger.com,1999:blog-3060898714439566244.post-39216161684559172242010-03-13T17:16:00.000-08:002010-03-13T17:38:22.874-08:00Carbon Nanotube Manipulator Concept<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy9Zp9TTRGBOqEstIBGGpPhISuKg-0izVkepEULckah2kkEuXX_RC5N877xVYTAJrhAXfeBTgpUVFXfs5gdwo4arnDuJwj32PjSsL7fHpV3Qd7mAUgtWmau22vX45JT2xl_vEpEaChAqM/s1600-h/version+2.jpg"><img style="cursor: pointer; width: 486px; height: 272px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy9Zp9TTRGBOqEstIBGGpPhISuKg-0izVkepEULckah2kkEuXX_RC5N877xVYTAJrhAXfeBTgpUVFXfs5gdwo4arnDuJwj32PjSsL7fHpV3Qd7mAUgtWmau22vX45JT2xl_vEpEaChAqM/s320/version+2.jpg" alt="" id="BLOGGER_PHOTO_ID_5448292531770922962" border="0" /></a><br />Branched carbon nanotubes have been in the literature for a while now* and make up the business end of this manipulator concept. The idea was inspired by a wire grasper out in the garage. The macro-scale version looks something like this:<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh435_NdBon353loaeI3bE-w9HqTtDDJSO1HJxegZu9gObWn1l6L9s6o-cPXEI609zWHFS64I7HtFKwdkEvEdHcPRPlSKOYci_C3ezc8ip4gbAYzd_o_XReQ092FfBBiQrmOcEd4-JU40I/s1600-h/grasper.jpg"><img style="cursor: pointer; width: 130px; height: 130px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh435_NdBon353loaeI3bE-w9HqTtDDJSO1HJxegZu9gObWn1l6L9s6o-cPXEI609zWHFS64I7HtFKwdkEvEdHcPRPlSKOYci_C3ezc8ip4gbAYzd_o_XReQ092FfBBiQrmOcEd4-JU40I/s320/grasper.jpg" alt="" id="BLOGGER_PHOTO_ID_5448295167170590722" border="0" /></a><br /><br />The way I picture the nanotube version working is a little different in that instead of the grasping fingers retracting in, the cnt version would use electrostatic forces to extend the outer carbon nanotubes over the branched tube. This lowers the chance that the fingers slip off whatever is being grasped. This would also require the inner-most tube to be anchored.<br /><br />MTF<br /><br />*Branched carbon nanotube junctions predicted by computational<br />nanotechnology and fabricated through nanowelding<br />,D. Srivastava, M. Menon and P.M. Ajayan,<br />Journal of Nanoparticle Research 5: 395–400, 2003.Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com1tag:blogger.com,1999:blog-3060898714439566244.post-36254836305579250742009-12-18T17:58:00.000-08:002009-12-18T18:46:24.919-08:00getting trusted with ever more expensive equipment......this time a SEM. I finished up my qualifications for "limited supervision" use of a SEM at <a href="http://www.msu.edu/">Michigan State</a> Thursday. Basically I can use it as long as there is a guru at least in the building, so normal business hours. I had planned to wrap this up a couple of months ago, but right after my second training session the scope went down and then a slew of scheduling problems. The down time had nothing to do with me, despite the rumors, but something about turning off the air conditioning for season.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfbUV7bk4Mow8wGPky9CxbwF92y7EXLuY5kHGZspjGsByRF7T7Naq9Yzf_6Vmr1gKnEGLpZ4crt3lLW_riynHpQqp8KndlK-80DHwJoztS0Mr853QsgiAe7Esxcm79ZVmpHY_u0KMguXI/s1600-h/SEM2.BMP"><img style="cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfbUV7bk4Mow8wGPky9CxbwF92y7EXLuY5kHGZspjGsByRF7T7Naq9Yzf_6Vmr1gKnEGLpZ4crt3lLW_riynHpQqp8KndlK-80DHwJoztS0Mr853QsgiAe7Esxcm79ZVmpHY_u0KMguXI/s320/SEM2.BMP" alt="" id="BLOGGER_PHOTO_ID_5416762341125558802" border="0" /></a><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifK2kGzW5oQSGgr93hQEvI_1osq_rQ42ULsZZK-6G_o3HL1-0SAm3azz-FiOiFamt2LVLGXVz_We7auEePBoTTK5-rxtZQXH2M9Ba62YVEbwf60tU7_yS9i6Y6eFuyXHXSI6V7s7Va2QA/s1600-h/BS2.BMP"><img style="cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifK2kGzW5oQSGgr93hQEvI_1osq_rQ42ULsZZK-6G_o3HL1-0SAm3azz-FiOiFamt2LVLGXVz_We7auEePBoTTK5-rxtZQXH2M9Ba62YVEbwf60tU7_yS9i6Y6eFuyXHXSI6V7s7Va2QA/s320/BS2.BMP" alt="" id="BLOGGER_PHOTO_ID_5416762476715229234" border="0" /></a><br />BSD mode<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiopUeMzNuvGr9rkZJVNIKNpB7ODhlNXbAsHOoO7wUN9V9rN_WYYqR3VIrCZ96MVImJWIjeFC_WrJnV3x0_EG-ot8t2gJkDQzlxU-InSxTDGVuW4Wref1jjZ6DHGa6WpEGNzO45DzgZxAE/s1600-h/EDGE.BMP"><img style="cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiopUeMzNuvGr9rkZJVNIKNpB7ODhlNXbAsHOoO7wUN9V9rN_WYYqR3VIrCZ96MVImJWIjeFC_WrJnV3x0_EG-ot8t2gJkDQzlxU-InSxTDGVuW4Wref1jjZ6DHGa6WpEGNzO45DzgZxAE/s320/EDGE.BMP" alt="" id="BLOGGER_PHOTO_ID_5416762707049415810" border="0" /></a><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9Z21kzht9DP6U78zF-Y6FCcyKmT3s5AwZqe8aVWKXb2vgiaZUuS47zl_c6SAdfIVJPTiW7FsrJHuFzM4-b6eUtC8Les75jc8yw-AGhxVBLUknOUSjJ902l3M-S4VDmr3lgkunCaKXlk0/s1600-h/PARTICLE.BMP"><img style="cursor: pointer; width: 320px; height: 240px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9Z21kzht9DP6U78zF-Y6FCcyKmT3s5AwZqe8aVWKXb2vgiaZUuS47zl_c6SAdfIVJPTiW7FsrJHuFzM4-b6eUtC8Les75jc8yw-AGhxVBLUknOUSjJ902l3M-S4VDmr3lgkunCaKXlk0/s320/PARTICLE.BMP" alt="" id="BLOGGER_PHOTO_ID_5416762831509442354" border="0" /></a><br />Now to sweet talk my way on to the TEM and AFMsTomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com0tag:blogger.com,1999:blog-3060898714439566244.post-75999479268358143942009-12-18T09:27:00.000-08:002009-12-18T09:46:32.613-08:00getting atom trajectory files from GROMACSWhat I mean by atom trajectories is the xyz coordinates of each atom at each time step. I could not find any program in the gmx package that did this, so I wrote my own. You can get it <a href="https://www.msu.edu/%7Emooreth2/python/pdb2IPO.py">here</a>.<br /><br />From gromacs, use the trjconv program to create a series of pdb files for each time step of the simulation.<br /><br /><span style="color: rgb(255, 0, 0);">trjconv -s swnt -f traj.trr -o last.pdb -sep</span><br /><br /><span style="color: rgb(0, 0, 0);">swnt is the structure, </span>traj is the trajectory file created from running a dynamics simulation and last.pdb is the name you give to the pdb series.<br /><br />After running the script you get a text file for each atom the has the time and xyz coordinates:<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBM0d2hCKfpKR1Vx-AR782fWURP0wu3ILMjNtL0rZSVCVs5UHl7b7zfKeWJFQWd6DqVUEZY3m0vosSfZdZsCNOS_Gb2QZXXHxFmZFGsOz031edV2Rqj3cuoWyzgfYiwim4eiSZzx2XhJg/s1600-h/Image2.jpg"><img style="cursor: pointer; width: 320px; height: 294px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBM0d2hCKfpKR1Vx-AR782fWURP0wu3ILMjNtL0rZSVCVs5UHl7b7zfKeWJFQWd6DqVUEZY3m0vosSfZdZsCNOS_Gb2QZXXHxFmZFGsOz031edV2Rqj3cuoWyzgfYiwim4eiSZzx2XhJg/s320/Image2.jpg" alt="" id="BLOGGER_PHOTO_ID_5416633128775039890" border="0" /></a><br /><a href="https://www.msu.edu/%7Emooreth2/gmx/atom_1.txt">Here is</a> a sample output for atom 1Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com0tag:blogger.com,1999:blog-3060898714439566244.post-2775156024907857722009-11-30T20:14:00.001-08:002009-11-30T20:32:37.080-08:00convert protein data bank files into Ansys nodes, key points and linesHere are two small python scripts I wrote that will read in a PDB file and output a text file to be used as input for Ansys finite element analysis. They're still kind of rough in that the input directory is hard coded, but they seem to work great at least for carbon nanotubes and other fullerenes.<br /><br /><a href="https://www.msu.edu/%7Emooreth2/python/pdb_to_ansys_key_line.py">convert PDB file to Ansys key points and lines</a><br /><br /><a href="https://www.msu.edu/%7Emooreth2/python/pdb_to_ansys_nodes.py">convert PDB file to Ansys nodes</a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IRaNR03kTrbqA0ZCQpAsihPf0BEhtHFKGVTeNzKvhsxZyCeyB200vylY5zOVelfwiQwgnQFOy6oXkqlRhpOM9r80BNxaV32DjkfPsPORLO487ZqC69YQ9MB4paB-cgFXBaKrCUrEBME/s1600/hetero+tube.jpg"><img style="cursor: pointer; width: 320px; height: 235px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0IRaNR03kTrbqA0ZCQpAsihPf0BEhtHFKGVTeNzKvhsxZyCeyB200vylY5zOVelfwiQwgnQFOy6oXkqlRhpOM9r80BNxaV32DjkfPsPORLO487ZqC69YQ9MB4paB-cgFXBaKrCUrEBME/s320/hetero+tube.jpg" alt="" id="BLOGGER_PHOTO_ID_5410118122257417010" border="0" /></a><br /><br />To use these scripts:<br /><br />1. create a protein data bank file of your structure<br />2. name it test.pdb and save it in a folder: C:\xyz<br />3. make sure you have <a href="http://www.python.org/download/">python installed</a><br />4. and to make things easier for development and use, grab the free version of <a href="http://www.wingware.com/products">Wingware IDE 101</a><br />5. download the two scripts and open them in Wing<br />6. run the scripts<br /><br /><br />The output file will be in the xyz directory. To load them in Ansys: File > Read input from...Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com6tag:blogger.com,1999:blog-3060898714439566244.post-57262992755562416342009-08-23T17:55:00.000-07:002009-08-23T18:03:48.843-07:00carbon nanotube NEM animated in BlenderThis is a version that won't be used, so I decided to post it here. I'll post a flow chart on how to visualize actual dynamics data in Blender when I get back. It has all the steps, but not all the steps are finished yet on my end. Maybe it will be a good stroy arc.<br /><br /><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Eu6bPvPSprY&hl=en&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Eu6bPvPSprY&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com0tag:blogger.com,1999:blog-3060898714439566244.post-41696253322173914592009-08-22T23:53:00.000-07:002009-08-23T00:42:48.143-07:00molecular rotor animation rendered in BlenderI think <a href="http://www.blender.org/" target="_blank">blender</a> can be a very useful tool for scientific visualizations, particularly with respect to visualizations of molecular dynamics simulations. There's a couple of missing steps as far as I can tell, but I'm working on them and will save that for the next post. However if you just want to make some eye candy, you can pretty much dive right in. This is a good example of something I've come to understand: modeling stuff is easy, the tricky part is making those models represent something relevant.<br /><br /><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Zhoe_OLaqSY&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Zhoe_OLaqSY&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com0tag:blogger.com,1999:blog-3060898714439566244.post-59020589331159356632009-08-16T19:25:00.000-07:002009-08-16T19:41:50.887-07:00free stickers!<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8DieKeNEwybhUa4pa6y1sm0woC0Xqntt_Ue5y_JIZVZ4y3ZITDQMsyumi0L_WkkielNqGacsJqvMT_fI0r9Iq8mlveLQ9DGXFj6vXbR4psY_9-TxIHgf9zwvGr_amcHRCcRbPdYTvTQY/s1600-h/stlogo_v1.jpg"><img style="cursor: pointer; width: 320px; height: 320px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8DieKeNEwybhUa4pa6y1sm0woC0Xqntt_Ue5y_JIZVZ4y3ZITDQMsyumi0L_WkkielNqGacsJqvMT_fI0r9Iq8mlveLQ9DGXFj6vXbR4psY_9-TxIHgf9zwvGr_amcHRCcRbPdYTvTQY/s320/stlogo_v1.jpg" alt="" id="BLOGGER_PHOTO_ID_5370753660854807874" border="0" /></a><br />I came up with this a while ago as a purposed emblem of a certain sub-culture that, if you're reading this, you may belong to. I don't want it to go to waste, and I'm not even a bumper sticker guy. Email me a mailing address, and when I get a good collection I will send them out. Or you could always make your own, but that's not really the same, is it?Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com1tag:blogger.com,1999:blog-3060898714439566244.post-71860954995965036362009-06-22T21:40:00.000-07:002009-06-22T21:47:46.792-07:00molecular gear published in Nature Materials<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF9Gkko2_Kprg8LRpeO7p2xwJb7vCE328CqOrD9FNQ8-SOaXHOs6-sHgICd3fKv7g0suk5dp23IZExw5OTifkvhIx4B2VLyWNryZyn5bHp4K3BKCSMu3wP0OhiVucnbjFgsrJK9xnY9ok/s1600-h/gray+gear.png"><img style="cursor: pointer; width: 320px; height: 280px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF9Gkko2_Kprg8LRpeO7p2xwJb7vCE328CqOrD9FNQ8-SOaXHOs6-sHgICd3fKv7g0suk5dp23IZExw5OTifkvhIx4B2VLyWNryZyn5bHp4K3BKCSMu3wP0OhiVucnbjFgsrJK9xnY9ok/s320/gray+gear.png" alt="" id="BLOGGER_PHOTO_ID_5350379001624278770" border="0" /></a><br /><a href="http://www.nature.com/nmat/journal/v8/n7/abs/nmat2467.html">Step-by-step rotation of a molecule-gear mounted on an atomic-scale axis</a><br />C. Manzano1*,W.-H. Soe1*, H. S.Wong, F. Ample, A. Gourdon, N. Chandrasekhar and C. Joachim1,2<br /><br />compared to the small bearing (disassembled) of old:<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-1LwHm77L9kv-OeGzfitBbMPzKFveo3zfgKewJKlKhMsany9m15hoezS4iLNWY_rLQmOp9RoY748LZPizhmfox_zWe4DA7UvU06GmuzBHxZFuY5q7l0FHVUMyQPVIHHcmyCD_ilpNaSE/s1600-h/comparison.png"><img style="cursor: pointer; width: 320px; height: 143px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-1LwHm77L9kv-OeGzfitBbMPzKFveo3zfgKewJKlKhMsany9m15hoezS4iLNWY_rLQmOp9RoY748LZPizhmfox_zWe4DA7UvU06GmuzBHxZFuY5q7l0FHVUMyQPVIHHcmyCD_ilpNaSE/s320/comparison.png" alt="" id="BLOGGER_PHOTO_ID_5350379644565912178" border="0" /></a>Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com2tag:blogger.com,1999:blog-3060898714439566244.post-9100326140179878112009-06-13T22:05:00.000-07:002009-06-13T22:06:55.389-07:00riding the rails<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUJ_rHE-GBeunaMTzQ-BeuTXf7PrZvOz-3fmNDx8puF-rHoo8RV8I-ONDMtIhFkfaZMiEuAc-bd5JT_688KfB_wqcKuJyhozvMJ78JrHQ8o2Ccz81QUutL7DsuGU0gaootj_orsxppZVA/s1600-h/car_rails.png"><img style="cursor: pointer; width: 320px; height: 229px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUJ_rHE-GBeunaMTzQ-BeuTXf7PrZvOz-3fmNDx8puF-rHoo8RV8I-ONDMtIhFkfaZMiEuAc-bd5JT_688KfB_wqcKuJyhozvMJ78JrHQ8o2Ccz81QUutL7DsuGU0gaootj_orsxppZVA/s320/car_rails.png" alt="" id="BLOGGER_PHOTO_ID_5347045335416434130" border="0" /></a>Tomhttp://www.blogger.com/profile/01639800769521054448noreply@blogger.com0