
LAMMPS小技巧
文章平均质量分 85
主要介绍LAMMPS中的方法和常用技巧分享
Mr. Material
共同学习,共同进步!
展开
-
LAMMPS小技巧
LAMMPS小技巧原创 2022-10-29 20:13:21 · 5741 阅读 · 2 评论 -
Lammps将当前体系温度作为输入,循环升温
Lammps实现循环升温原创 2021-11-11 16:53:23 · 4228 阅读 · 1 评论 -
建模篇(下)力场快速设置-AuToFF+Moltemplate
AutoFF+moltemplate快速建模原创 2024-04-19 11:44:33 · 2008 阅读 · 0 评论 -
OVITO-2.9版本
ovito原创 2024-04-10 17:58:12 · 1674 阅读 · 0 评论 -
Ovtio不同版本下载
Ovtio不同版本下载原创 2024-01-13 13:28:34 · 2255 阅读 · 0 评论 -
采用VMD按照某一坐标轴旋转坐标结构
VMD旋转坐标原创 2023-07-05 09:54:37 · 2109 阅读 · 0 评论 -
LAMMPS中的GCMC(巨正则蒙特卡洛)
谈谈LAMMPS中的GCMC(巨正则蒙特卡洛)记录学习心得(2020.2.21)疫情期间,还是在家专心科研,养成好习惯,继续记录。Example :fix ID group-ID gcmc N X M type seed T mu displace keyword valuesN:每N步进行一次MC操作,每次操作进行 X 次的交换和 M 次的移动和旋转;type: 原子type;See...原创 2020-07-19 10:13:13 · 10735 阅读 · 2 评论 -
GPU+VORONOI+KOKKOS+OPENMP反应力场加速
基于GPU的kokkos加速安装原创 2022-11-20 14:32:38 · 3544 阅读 · 1 评论 -
VMD将两个pdb文件和起来作为LAMMPS_data文件
在VMD学习过程中,记录下来自己的学习过程和心得,欢迎大神们多指导,欢迎交流!原创 2020-04-18 17:13:48 · 5778 阅读 · 3 评论 -
建模篇(上):OPLSAA力场参数之快速建模—MS+Moltemplate
我们可以看到OPLSAA力场文件中,每一种原子对应以数字为编号的TYPE。我们根据自己的原子结构找到对应的TYPE编号。在MS中画出自己需要的分子结构。当然也可以从其他渠道获得PDB文件,读取到MS中。所以这里我们直接运行就行:(再次注意这里的只需要我们刚才生成的。根据手册执行命令,这里不再赘述 (注意,测试的data文件为。原创 2022-11-17 23:07:07 · 9277 阅读 · 17 评论 -
Lammps反应力场信息
LAMMPS可以利用反应力场来做计算,但因事第三方代码而发展缓慢,特别是力场不是特别丰富,下面的链接包含了目前最新的反应力场的力场信息,参考文章等。原创 2022-11-08 09:04:52 · 1116 阅读 · 0 评论 -
Lammps中常用的势函数和晶体库资源收集
Lammps中常用的势函数和晶体库资源收集原创 2022-06-08 21:15:10 · 7221 阅读 · 0 评论 -
找文献神器:connected papers
可以自动创建文献树,请点击原创 2021-11-13 11:14:30 · 1376 阅读 · 0 评论 -
Chain Alignment Parameter (链取向参数)
转载一个Chain Alignment Parameter (链取向参数)的计算code#This program is free software: you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation, either version 3 of the License,转载 2021-11-08 08:33:57 · 975 阅读 · 0 评论 -
Lammps之结冰构建
#Lattice custom example for ice-Ih crystal structure (all atom)variable alen equal 4.50600 variable blen equal 4.50600 variable b1 equal -2.2530000210 variable b2 equal 3.9023105058 variable clen equal 7.34600#not standard definition of gamma..原创 2021-10-31 21:37:15 · 2184 阅读 · 4 评论 -
Lammps之任意表面建模
1. 结果图2. 代码units ljatom_style fullboundary p p flattice fcc 2.8region box block 0 138.6 0 340.2 0 300 units box create_box 3 boxregion substrate block INF INF INF INF INF 20 units box create_atoms 2 re原创 2021-10-31 21:07:03 · 2067 阅读 · 0 评论 -
Lammps之“3D”打印建模——Matlab任意二维图形
到周末了换个头像♡\heartsuit♡原创 2021-10-30 21:30:35 · 822 阅读 · 0 评论 -
LAMMPS软件的主要算法
LAMMPS软件的主要算法在大多数情况下,LAMMPS数值积分原子,分子或者宏观颗粒等粒子的牛顿运动方程。这些粒子通过短程或者长程(一般指库仑力)相互作用。为了计算效率,LAMMPS采用邻居列表的方法来追踪某个粒子周围对其产生相互作用的粒子。这些列表根据粒子靠近时的相互排斥的特点进行优化,从而保证系统的某处的局部密度不会过大。在多核并行计算时,LAMMPS采用基于空间分配技术将模拟区域分割为小的三维子区域,然后将每一个子区域分配给一个处理器进行计算。处理器之间通过MPI进行消息通信并且将跨越子区域边界的原创 2021-10-24 22:44:15 · 2452 阅读 · 0 评论 -
Lammps之漫谈自由能
漫谈自由能---未整理好请先不要看一、理论篇——自由能要算什么?配分函数的 BoltzmannBoltzmannBoltzmann 关系定义为 HelmholtzHelmholtzHelmholtz 自由能配分函数的 BoltzmannBoltzmannBoltzmann 关系定义为 GibbsGibbsGibbs 自由能对于 NVTNVTNVT 的配分函数QNVT=1N!h3N∬eH(r⃗,p⃗)kBTdNr⃗dNp⃗Q_{NVT}=\frac{1}{N!h^{3N}}\iint \frac{e^{H(原创 2021-09-19 10:47:59 · 4365 阅读 · 6 评论 -
Material studio 中如何构建方形晶胞
方法一:MS方法二:MS自定义切割晶胞的a和b值 a=8.5095656 b=4.913选中下图所示黄色所示的原子,并删除结果原创 2021-09-16 16:47:45 · 5987 阅读 · 1 评论 -
氧化石墨烯的建模工具
分享一个氧化石墨烯的建模工具PLEASE CLICK HEREPython脚本SEE GITHUB原创 2021-08-23 09:24:04 · 2051 阅读 · 0 评论 -
如何输出Fix NVT交换的能量
fix 3a Ar nvefix 2a cold1 nvt temp 275 275 0.1 fix 4 heat1 nvt temp 375 375 0.1 fix 3aa sd nvefix 3aaa sup nvevariable time equal stepvariable EL equal f_2avariable EH equal f_4fix 48121 all print 1000 "${time} ${EH} ${EL}" screen no file re原创 2021-06-17 19:14:04 · 619 阅读 · 3 评论 -
python 中 array 和 list 区别
https://zhuanlan.zhihu.com/p/261636002原创 2021-02-16 22:01:23 · 163 阅读 · 0 评论 -
TCL
package require topotools 1.1mol top 0$water writepdb part1.pdb$water writepsf part1.psfmol top 1$silica writepdb part2.pdb$silica writepsf part2.psfmol delete allset midlist {}set mol [mol new part1.psf waitfor all]mol addfile part1.pdblappend原创 2020-06-01 11:24:20 · 322 阅读 · 0 评论 -
LAMMPS官方的例子和后处理分析
https://icme.hpc.msstate.edu/mediawiki/index.php/LAMMPS_tutorials.html原创 2020-12-10 15:39:38 · 5155 阅读 · 0 评论 -
Lammps的metal内部设置
} else if (strcmp(style,"metal") == 0) { force->boltz = 8.617343e-5; force->hplanck = 4.135667403e-3; force->mvv2e = 1.0364269e-4; force->ftm2v = 1.0 / 1.0364269e-4; force->mv2d = 1.0 / 0.602214129; force->nktv2...原创 2020-11-06 20:15:05 · 538 阅读 · 0 评论 -
LAMMPS中的默认变量
LAMMPS中的默认变量 step = timestep elapsed = timesteps since start of this run elaplong = timesteps since start of initial run in a series of runs dt = timestep size time = simulation time cpu = elapsed CPU time in seconds since start of原创 2020-10-22 10:22:23 · 3217 阅读 · 1 评论 -
lammps下载 Ubuntu 安装
其实一直用的Mac,电脑太久了,要退役了。现在尝试在自己window上跑吧。提供一种在Ubuntu上安装的方法,供大家参考。Step 1下载winscp,然后把安装包传到虚拟机上。可能由于接口没有打开,有时候连接不上,更新一下。ifconfig 显示你的ip,很多情况是没有ssh,sudo apt-get install openssh-server,然后再打开 service ssh st...原创 2020-04-21 18:24:30 · 4743 阅读 · 3 评论 -
LAMMPS实现for循环,打印二维数组
label loopxvariable x loop 5 label loopy variable y loop 5 variable x equal $x variable y equal $yprint "-----------------------"print "now x is ${x}"print "now y is ${y}"print "----------------------原创 2020-09-12 17:52:44 · 2202 阅读 · 1 评论 -
LAMMPS实现MC模拟
# Monte Carlo relaxation of perturbed 2d hex lattice# set these parameters# make sure neigh skin > 2*deltamovevariable iter loop 3000 # number of Monte Carlo movesvariable deltaperturb equal 0.2 # max size of initial perturbation per原创 2020-09-12 10:17:29 · 3713 阅读 · 0 评论 -
LAMMPS实现指定时间内dump
LAMMPS实现指定时间内dumpvariable a loop 10label loopdump 1 all atom 100 file.$arun 10000undump 1next ajump in.lj loop原创 2020-09-12 10:16:24 · 1093 阅读 · 0 评论 -
一个描述二氧化硅的两体势能BKS
一个描述二氧化硅的两体势能BKSSi 2.4O -1.2pair_style buck/long/coul/long cut long 8 8 pair_coeff 1 1 0 0 0pair_coeff 1 2 18003.7572 4.87318 133.5381pair_coeff 2 2 1388.7730 2.760 175.0 ...原创 2020-05-27 16:51:02 · 2697 阅读 · 17 评论