-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f9db28c
commit e035267
Showing
23 changed files
with
251 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -399,7 +399,7 @@ <h1> | |
<h1 id="abacuscandela-使用教程"><a name="abacuscandela-使用教程" class="plugin-anchor" href="#abacuscandela-使用教程"><i class="fa fa-link" aria-hidden="true"></i></a>ABACUS+Candela 使用教程</h1> | ||
<p><strong>作者:陈涛,邮箱:[email protected]</strong></p> | ||
<p><strong>审核:陈默涵,邮箱:[email protected]</strong></p> | ||
<p><strong>最后更新时间:2023/08/02</strong></p> | ||
<p><strong>最后更新时间:2023/08/23</strong></p> | ||
<h1 id="一、介绍"><a name="一、介绍" class="plugin-anchor" href="#一、介绍"><i class="fa fa-link" aria-hidden="true"></i></a>一、介绍</h1> | ||
<p>本教程旨在介绍采用 Candela 分析 ABACUS(基于 3.2.4 版本)分子动力学轨迹,计算径向分布函数(Radial Distribution Function,简称 RDF),静态结构因子(Static Structure Factor,简称 SSF),离子-离子动态结构因子(Ion-ion Dynamic Structure Factor,简称 DSF)以及均方差位移(Mean Square Displacement,简称 MSD)流程。</p> | ||
<p>上述性质的具体描述可以参考:<a href="https://iopscience.iop.org/article/10.1088/1361-648X/ab5890" target="_blank">Qianrui Liu <em>et al</em> 2020 <em>J. Phys.: Condens. Matter</em> <strong>32</strong> 144002</a>,径向分布函数(RDF)见文中公式(12),静态结构因子(SSF)见公式(13),离子-离子动态结构因子(DSF)见公式(15,16,17)以及均方差位移(MSD)见公式(18)。</p> | ||
|
@@ -431,7 +431,7 @@ <h2 id="1-计算径向分布函数"><a n | |
|
||
ntype <span class="token number">1</span> | ||
natom <span class="token number">32</span> | ||
rcut <span class="token number">1.2</span> | ||
rcut <span class="token number">2.3</span> | ||
dr <span class="token number">0.01</span> | ||
</code></pre> | ||
<p>以上参数在 Candela 的<a href="https://candela-docs.readthedocs.io/en/latest/" target="_blank">线上文档</a>中均有详细说明,这里再进行简单概述:</p> | ||
|
@@ -527,10 +527,10 @@ <h2 id="3-离子-离子动态结构V | |
<pre class="language-"><code class="lang-bash">mpirun <span class="token parameter variable">-n</span> <span class="token number">2</span> candela | ||
</code></pre> | ||
<p>即可得到 ISF,输出到 <code>isf.txt</code>,其中第一列为时间,单位为 ps,第二列即为对应的 ISF。</p> | ||
<p>接着执行如下命令得到离子-离子动态结构因子:</p> | ||
<p>接着执行如下命令得到离子-离子动态结构因子,其中<code>PathtoCandela</code>指的是Candela的下载目录:</p> | ||
<pre class="language-"><code class="lang-bash">python PathtoCandela/examples/e3_dsf/onedsf.py <span class="token number">0.00006</span> <span class="token number">0.0006</span> | ||
</code></pre> | ||
<p>其中第一个参数 0.00006=dt_snapshots*geo_interval,为 ISF 的时间步长,单位为 ps;第二个参数 0.0006,为对 ISF 做傅里叶变换的总时长,单位为 ps。这里 <code>onedsf.py</code> 默认读取 <code>isf.txt</code>,并输出到 <code>dsf.txt</code>,其中第一列为<script type="math/tex; ">\hbar \omega</script>,单位为 meV,第二列即为对应的 DSF。</p> | ||
<p>其中第一个参数 0.00006 = dt_snapshots * geo_interval,为 ISF 的时间步长,单位为 ps;第二个参数 0.0006,为对 ISF 做傅里叶变换的总时长,单位为 ps。这里 <code>onedsf.py</code> 默认读取 <code>isf.txt</code>,并输出到 <code>dsf.txt</code>,其中第一列为<script type="math/tex; ">\hbar \omega</script>,单位为 meV,第二列即为对应的 DSF。</p> | ||
<h2 id="4-均方差位移"><a name="4-均方差位移" class="plugin-anchor" href="#4-均方差位移"><i class="fa fa-link" aria-hidden="true"></i></a>4 均方差位移</h2> | ||
<p>进入 <code>MSD</code> 文件夹,<code>INPUT</code> 文件具体如下:</p> | ||
<pre class="language-"><code class="lang-bash">calculation msd_multiple | ||
|
@@ -557,7 +557,7 @@ <h2 id="4-均方差位移"><a name="4-均方& | |
<li>msd_t0:计算均方差位移的起始时间,单位为 ps</li> | ||
<li>msd_t:每段均方差位移的时长,单位为 ps</li> | ||
<li>msd_dt0:两段均方差位移起始位置的间隔,单位为 ps。若设置等于 msd_t,则每段均方差位移之间的时间距离为 0</li> | ||
<li>msd_dt:获取的 MD 轨迹每一帧之间的时间步长(=geo_interval*dt,其中 dt 为 MD 轨迹每一帧之间的时间步长),单位为 ps</li> | ||
<li>msd_dt:获取的 MD 轨迹每一帧之间的时间步长(等于geo_interval * dt,其中 dt 为 MD 轨迹每一帧之间的时间步长),单位为 ps</li> | ||
<li>msd_natom:需要设置为计算的原子数</li> | ||
</ul> | ||
<p>执行如下命令:</p> | ||
|
@@ -607,7 +607,7 @@ <h1 class="search-results-title">No results matching "<span class='search-query' | |
<script> | ||
var gitbook = gitbook || []; | ||
gitbook.push(function() { | ||
gitbook.page.hasChanged({"page":{"title":"ABACUS+Candela 使用教程","level":"1.1.13","depth":2,"next":{"title":"ABACUS 新闻稿整理","level":"1.2","depth":1,"path":"abacus-news.md","ref":"abacus-news.md","articles":[]},"previous":{"title":"ABACUS+LibRI 做杂化泛函计算教程","level":"1.1.12","depth":2,"path":"abacus-libri.md","ref":"abacus-libri.md","articles":[]},"dir":"ltr"},"config":{"plugins":["disqus","3-ba","pageview-count","theme-comscore","insert-logo","custom-favicon","intopic-toc","anchors","chapter-fold","expandable-chapters","-lunr","-search","search-plus","prism","-highlight","code","mathjax-pro","hide-element","github-buttons","sharing-plus","-sharing","livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"page-treeview":{"copyright":"Copyright © aleen42","minHeaderCount":"2","minHeaderDeep":"2"},"chapter-fold":{},"prism":{},"disqus":{"useIdentifier":false,"shortName":"abacus-user-guide"},"intopic-toc":{"isCollapsed":true,"isScrollspyActive":true,"label":"In this article","maxDepth":6,"mode":"nested","selector":".markdown-section h1, .markdown-section h2, .markdown-section h3, .markdown-section h4, .markdown-section h5, .markdown-section h6","visible":true},"livereload":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"code":{"copyButtons":true},"hide-element":{"elements":[".gitbook-link"]},"fontsettings":{"theme":"white","family":"sans","size":2},"favicon":"./picture/abacus-logo.jpg","theme-comscore":{},"page-toc-button":{"maxTocDepth":2,"minTocSize":2},"pageview-count":{},"github-buttons":{"buttons":[{"user":"MCresearch","repo":"abacus-user-guide","type":"star","size":"middle","count":true}]},"custom-favicon":{},"3-ba":{"configuration":"auto","token":"25153cb8bd9a872cfec60b4b23ac0176"},"mathjax-pro":{"forceSVG":false,"version":"2.7.7"},"sharing":{"weibo":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"insert-logo":{"style":"background: none;max-height: 70px;width: -webkit-fill-available;max-width: 180px;","url":"./picture/abacus-logo.svg"},"expandable-chapters":{},"search-plus":{}},"theme":"default","name":"abacus-user-guide","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"*","description":"国产DFT开源软件ABACUS中文使用教程"},"file":{"path":"abacus-candela.md","mtime":"2023-08-10T11:41:19.916Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2023-08-21T09:48:51.933Z"},"basePath":".","book":{"language":""}}); | ||
gitbook.page.hasChanged({"page":{"title":"ABACUS+Candela 使用教程","level":"1.1.13","depth":2,"next":{"title":"ABACUS 新闻稿整理","level":"1.2","depth":1,"path":"abacus-news.md","ref":"abacus-news.md","articles":[]},"previous":{"title":"ABACUS+LibRI 做杂化泛函计算教程","level":"1.1.12","depth":2,"path":"abacus-libri.md","ref":"abacus-libri.md","articles":[]},"dir":"ltr"},"config":{"plugins":["disqus","3-ba","pageview-count","theme-comscore","insert-logo","custom-favicon","intopic-toc","anchors","chapter-fold","expandable-chapters","-lunr","-search","search-plus","prism","-highlight","code","mathjax-pro","hide-element","github-buttons","sharing-plus","-sharing","livereload"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"page-treeview":{"copyright":"Copyright © aleen42","minHeaderCount":"2","minHeaderDeep":"2"},"chapter-fold":{},"prism":{},"disqus":{"useIdentifier":false,"shortName":"abacus-user-guide"},"intopic-toc":{"isCollapsed":true,"isScrollspyActive":true,"label":"In this article","maxDepth":6,"mode":"nested","selector":".markdown-section h1, .markdown-section h2, .markdown-section h3, .markdown-section h4, .markdown-section h5, .markdown-section h6","visible":true},"livereload":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"code":{"copyButtons":true},"hide-element":{"elements":[".gitbook-link"]},"fontsettings":{"theme":"white","family":"sans","size":2},"favicon":"./picture/abacus-logo.jpg","theme-comscore":{},"page-toc-button":{"maxTocDepth":2,"minTocSize":2},"pageview-count":{},"github-buttons":{"buttons":[{"user":"MCresearch","repo":"abacus-user-guide","type":"star","size":"middle","count":true}]},"custom-favicon":{},"3-ba":{"configuration":"auto","token":"25153cb8bd9a872cfec60b4b23ac0176"},"mathjax-pro":{"forceSVG":false,"version":"2.7.7"},"sharing":{"weibo":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"insert-logo":{"style":"background: none;max-height: 70px;width: -webkit-fill-available;max-width: 180px;","url":"./picture/abacus-logo.svg"},"expandable-chapters":{},"search-plus":{}},"theme":"default","name":"abacus-user-guide","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"gitbook":"*","description":"国产DFT开源软件ABACUS中文使用教程"},"file":{"path":"abacus-candela.md","mtime":"2023-08-23T07:57:18.023Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2023-08-23T07:59:18.754Z"},"basePath":".","book":{"language":""}}); | ||
}); | ||
</script> | ||
</div> | ||
|
Oops, something went wrong.