{"id":442,"date":"2018-10-27T06:42:03","date_gmt":"2018-10-27T06:42:03","guid":{"rendered":"https:\/\/doublelayer.eu\/vilab\/?p=442"},"modified":"2018-10-27T14:03:36","modified_gmt":"2018-10-27T14:03:36","slug":"md-simulation-of-bmpyrdca-between-graphene-walls","status":"publish","type":"post","link":"https:\/\/doublelayer.eu\/vilab\/2018\/10\/27\/md-simulation-of-bmpyrdca-between-graphene-walls\/","title":{"rendered":"MD simulation of BMPyrDCA between graphene walls"},"content":{"rendered":"<p>Simple demonstration of a molecular dynamics simulation of 408 BMPyrDCA ionic pairs between two graphene walls.<\/p>\n<p>Inputs (packmol.inp, STEEP.mdp, RUN.mdp, topol.top) and force field parameters: <a href=\"https:\/\/github.com\/vilab-tartu\/LOKT.02.048\/tree\/master\/MD_Gr-BMPyrDCA_pbc\">github.com\/vilab-tartu\/LOKT.02.048\/tree\/master\/MD_Gr-BMPyrDCA_pbc<\/a>.\u00a0The force fields are taken from github: <a href=\"https:\/\/github.com\/vladislavivanistsev\/RTIL-FF\">github.com\/vladislavivanistsev\/RTIL-FF<\/a>. References are given within the files.<\/p>\n<p><!--more--><\/p>\n<p>Let&#8217;s execute some commands to tell the computer how to run the simulation. However, don&#8217;t forget to allow the computer to read and execute all files. To do so, in the terminal enter &#8220;chmod 755 *&#8221;.<\/p>\n<p>First, we pack 408 BMImDCA ionic pairs into a predefined box. In case packmol does not work, I have put packmol.gro file.<br \/>\n<code>.\/packmol &lt; packmol.inp<\/code><br \/>\n<code>gmx editconf -f packmol.pdb -o packmol.gro<\/code><\/p>\n<p>In the packmol.gro set the box length to 7.0 nm.<\/p>\n<p>Now let&#8217;s create an index of the ionic pairs. Enter q.<\/p>\n<p>Prepare an executable file for the simulation.<br \/>\n<code>gmx grompp -f STEEP.mdp -c packmol.gro -p topol.top -n index.ndx -o STEEP<\/code><\/p>\n<p>Execute the first simulation step.<br \/>\n<code>gmx mdrun -deffnm STEEP<\/code><\/p>\n<p>Prepare an other executable file for the simulation.<br \/>\n<code>gmx grompp -f RUN.mdp -c STEEP.gro -p topol.top -n index.ndx -o NVT<\/code><\/p>\n<p>Run the simulation, so called production run. Note, it should use all available CPUs. Caution! The simulation requires a lot of time.<br \/>\n<code>gmx mdrun -deffnm NVT<\/code><\/p>\n<p>Check the potential, field, and charge profiles. Plot the .xvg-resulting files using xmgrace (like xmgrace potential.xvg).<br \/>\n<code>gmx potential -f NVT.trr -n index.ndx -s RUN.tpr -sl 1000 -o potential_0.xvg -oc charge_0.xvg -of field_0.xvg<\/code><\/p>\n<p>Let&#8217;s apply field to induce the ionic layering at the modelled interface.<br \/>\n<code>gmx grompp -f FIELD.mdp -c NVT.gro -p topol.top -n index.ndx -o FIELD<\/code><\/p>\n<p>Run the simulation with the field. Caution! The simulation requires a lot of time.<br \/>\n<code>gmx mdrun -deffnm FIELD<\/code><\/p>\n<p>Check the potential, field, and charge profiles. Plot the .xvg-resulting files using xmgrace (like xmgrace potential.xvg). Compare them with the ones obtained for the simulation without any applied field.<br \/>\n<code>gmx potential -f FIELD.trr -n index.ndx -s FIELD.tpr -sl 1000 -o potential_10.xvg -oc charge_10.xvg -of field_10.xvg<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Simple demonstration of a molecular dynamics simulation of 408 BMPyrDCA ionic pairs between two graphene walls. Inputs (packmol.inp, STEEP.mdp, RUN.mdp, topol.top) and force field parameters: github.com\/vilab-tartu\/LOKT.02.048\/tree\/master\/MD_Gr-BMPyrDCA_pbc.\u00a0The force fields are taken from github: github.com\/vladislavivanistsev\/RTIL-FF. References are given within the files.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,12,41],"tags":[44],"class_list":["post-442","post","type-post","status-publish","format-standard","hentry","category-conferences","category-know-how","category-teaching","tag-gromacs"],"_links":{"self":[{"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/posts\/442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/comments?post=442"}],"version-history":[{"count":3,"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/posts\/442\/revisions"}],"predecessor-version":[{"id":451,"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/posts\/442\/revisions\/451"}],"wp:attachment":[{"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/media?parent=442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/categories?post=442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doublelayer.eu\/vilab\/wp-json\/wp\/v2\/tags?post=442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}