Calculation of 1D and 2D densities in VMD: A flexible and easy-to-use code

计算机科学 计算科学 编码(集合论) 程序设计语言 统计物理学 算法 并行计算 材料科学 物理 集合(抽象数据类型)
作者
Yuxiang Wang,Alper Kızıltaş,P. Blanchard,Tiffany R. Walsh
出处
期刊:Computer Physics Communications [Elsevier BV]
卷期号:266: 108032-108032 被引量:13
标识
DOI:10.1016/j.cpc.2021.108032
摘要

Characterization of structural information at the atomistic level in molecular dynamics (MD) simulations is a necessary task for researchers in the fields of materials modeling and simulation . Visualization of the density distribution is typically one of the most important properties in structural characterization. Visual Molecular Dynamics (VMD) is a widely used molecular visualization package that can not only visualize complex molecular systems but also perform analysis by integrating special plugins or by running in-house generated TCL scripts. However, a density analysis is still not an in-built feature of VMD. This work presents a flexible and easy-to-use TCL code to be used in VMD, that can perform both 1D and 2D density calculations over any specified local areas of a given system. By using the built-in commands of VMD, the code can access and process trajectory files in any formats that are supported by VMD, as produced by mainstream simulation packages, i.e., LAMMPS, GROMACS, NAMD, and CHARMM, etc. This work introduces the calculation method, code, and usages in detail to provide a quick start for users in their density analysis work. Program title: DensityCalculator CPC Library link to program files: https://doi.org/10.17632/vcbh2gt8wg.1 Developer's repository link: https://github.com/yuxiangwang321/DensityCalculator Licensing provisions: GPLv3 Programming language: TCL/TK External routines: VMD (version 1.9.3, http://www.ks.uiuc.edu/Research/vmd/ ) Nature of problem: Calculate mass or number density distribution from trajectory files in VMD, and project the density along a specified 1D axis or onto a specified 2D plane. Solution method: The 1D or 2D density distribution is calculated through the following steps: slice the concerned area with specified resolutions in X, Y, and Z directions; then the mass or atom number in each unit slice (or cuboid in 2D case) is calculated; if there are multiple frames, average the mass or atom number by the frame number; finally, density in each unit is divided by the slice volume to get the density. Additional comments including restrictions and unusual features: The code must be run with VMD as a platform, the current version only can only calculate mass or number density. The code can calculate both 1D and 2D density distributions in any specified local or global areas of the system.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
江台风完成签到,获得积分10
1秒前
wsq0125发布了新的文献求助10
4秒前
4秒前
wgxg发布了新的文献求助10
4秒前
adam发布了新的文献求助10
4秒前
鄂闽工贸发布了新的文献求助10
5秒前
略微妙蛙完成签到 ,获得积分10
6秒前
科研通AI6.2应助悠哉soaring采纳,获得10
6秒前
6秒前
昀熠完成签到,获得积分10
6秒前
咔咔发布了新的文献求助10
7秒前
caffeine发布了新的文献求助10
8秒前
悲凉的孤菱应助huhuhuxue1采纳,获得10
8秒前
Due_arrival应助饿哭了塞采纳,获得10
9秒前
快乐士晋完成签到,获得积分20
9秒前
温暖砖头发布了新的文献求助10
9秒前
顺利山柏完成签到 ,获得积分10
9秒前
机灵凛发布了新的文献求助10
10秒前
maguodrgon发布了新的文献求助10
11秒前
11秒前
11秒前
悠哉soaring完成签到,获得积分10
12秒前
FashionBoy应助CICI采纳,获得10
12秒前
Fine完成签到,获得积分10
12秒前
天天快乐应助无条件采纳,获得10
12秒前
慕青应助wsq0125采纳,获得10
13秒前
13秒前
旧日完成签到 ,获得积分10
13秒前
丘比特应助元谷雪采纳,获得10
14秒前
14秒前
含蓄含烟发布了新的文献求助10
14秒前
14秒前
felix完成签到 ,获得积分10
14秒前
阿萨大大完成签到,获得积分10
14秒前
鄂闽工贸完成签到,获得积分10
15秒前
MING发布了新的文献求助10
16秒前
李健应助端庄白开水采纳,获得10
17秒前
bazinga发布了新的文献求助10
17秒前
超帅的dz完成签到,获得积分10
18秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Les Mantodea de Guyane: Insecta, Polyneoptera [The Mantids of French Guiana] 2500
Atlas of Aligner Treatment and Planning A Case-Based Approach 1000
Rocket Propulsion Elements, 10th Edition 800
悉尼大学博士学位论文,题目:Modelling and testing of one-sided stitched laminated composites. 作者:Kristopher P. Plain 700
Soil mites of the family Rhagidiidae (Actinedida: Eupodoidea). Morphology, Systematics, Ecology 520
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7443224
求助须知:如何正确求助?哪些是违规求助? 9044423
关于积分的说明 19279757
捐赠科研通 7067937
什么是DOI,文献DOI怎么找? 3238643
关于科研通互助平台的介绍 2402129
邀请新用户注册赠送积分活动 2222704