一、notes:

1、不在data文件里写“#”(注释),否则,容易出错;

2、前两行不用写东西(建议);

3、相互作用系数可以不用写在data里边(如pair_coeff等),可有可无,but for pair_coeff,最好还是在data文件中设定,因为它比在in文件中设定更加方便、简洁。

二、主体框架(必须要有):

1.数目:原子、键、角、二面角、非二面角的的总数目

2.类型:原子、键、角、二面角、非二面角

3.box的大小:x、y、z

4.masses(质量)

5.Atoms

6.Bonds

7.Angles

8....

三、example(转载:http://blog.sina.com.cn/s/blog_b48a7ac30102w4pr.html)

Here is a sample file with annotations in parenthesis and lengthy sections replaced by dots (...). Note that the blank lines are important in this example.

LAMMPS Description           (1st line of file)                              
                                                                             
100 atoms         (this must be the 3rd line, 1st 2 lines are ignored)       
95 bonds                (# of bonds to be simulated)                         
50 angles               (include these lines even if number = 0)             
30 dihedrals                                                                 
20 impropers                                                                 
                                                                             
5 atom types           (# of nonbond atom types)                             
10 bond types          (# of bond types = sets of bond coefficients)         
18 angle types                                                               
20 dihedral types      (do not include a bond,angle,dihedral,improper type   
2 improper types             line if number of bonds,angles,etc is 0)        
                                                                             
-0.5 0.5 xlo xhi       (for periodic systems this is box size,               
-0.5 0.5 ylo yhi        for non-periodic it is min/max extent of atoms)      
-0.5 0.5 zlo zhi       (do not include this line for 2-d simulations)        
                                                                             
Masses                                                                       
                                                                             
  1 mass                                                                     
  ...                                                                        
  N mass                           (N = # of atom types)                     
                                                                             
Nonbond Coeffs                                                               
                                                                             
  1 coeff1 coeff2 ...                                                        
  ...                                                                        
  N coeff1 coeff2 ...              (N = # of atom types)                     
                                                                             
Bond Coeffs                                                                  
                                                                             
  1 coeff1 coeff2 ...                                                        
  ...                                                                        
  N coeff1 coeff2 ...              (N = # of bond types)                     
                                                                             
Angle Coeffs                                                                 
                                                                             
  1 coeff1 coeff2 ...                                                        
  ...                                                                        
  N coeff1 coeff2 ...              (N = # of angle types)                    
                                                                             
Dihedral Coeffs                                                              
                                                                             
  1 coeff1 coeff2 ...                                                        
  ...                                                                        
  N coeff1 coeff2 ...              (N = # of dihedral types)                 
                                                                             
Improper Coeffs                                                              
                                                                             
  1 coeff1 coeff2 ...                                                        
  ...                                                                        
  N coeff1 coeff2 ...              (N = # of improper types)                 
                                                                             
BondBond Coeffs                                                              
                                                                             
  1 coeff1 coeff2 ...                                                        
  ...                                                                        
  N coeff1 coeff2 ...              (N = # of angle types)                    
                                                                             
BondAngle Coeffs                                                             
                                                                             
  1 coeff1 coeff2 ...                                                        
  ...                                                                        
  N coeff1 coeff2 ...              (N = # of angle types)                    
                                                                             
MiddleBondTorsion Coeffs                                                     
                                                                             
  1 coeff1 coeff2 ...                                                        
  ...                                                                        
  N coeff1 coeff2 ...              (N = # of dihedral types)                 
                                                                             
EndBondTorsion Coeffs                                                        
                                                                             
  1 coeff1 coeff2 ...                                                        
  ...                                                                        
  N coeff1 coeff2 ...              (N = # of dihedral types)                 
                                                                             
AngleTorsion Coeffs                                                          
                                                                             
  1 coeff1 coeff2 ...                                                        
  ...                                                                        
  N coeff1 coeff2 ...              (N = # of dihedral types)                 
                                                                             
AngleAngleTorsion Coeffs                                                     
                                                                             
  1 coeff1 coeff2 ...                                                        
  ...                                                                        
  N coeff1 coeff2 ...              (N = # of dihedral types)                 
                                                                             
BondBond13 Coeffs                                                            
                                                                             
  1 coeff1 coeff2 ...                                                        
  ...                                                                        
  N coeff1 coeff2 ...              (N = # of dihedral types)                 
                                                                             
AngleAngle Coeffs                                                            
                                                                             
  1 coeff1 coeff2 ...                                                        
  ...                                                                        
  N coeff1 coeff2 ...              (N = # of improper types)                 
                                                                             
Atoms                                                                        
                                                                             
  1 molecule-tag atom-type q x y z nx ny nz  (nx,ny,nz are optional -        
  ...                                    see "true flag" input command)      
  ...                                                                        
  N molecule-tag atom-type q x y z nx ny nz  (N = # of atoms)                
                                                                             
Velocities                                                                   
                                                                             
  1 vx vy vz                                                                 
  ...                                                                        
  ...                                                                        
  N vx vy vz                        (N = # of atoms)                         
                                                                             
Bonds                                                                        
                                                                             
  1 bond-type atom-1 atom-2                                                  
  ...                                                                        
  N bond-type atom-1 atom-2         (N = # of bonds)                         
                                                                             
Angles                                                                       
                                                                             
  1 angle-type atom-1 atom-2 atom-3  (atom-2 is the center atom in angle)    
  ...                                                                        
  N angle-type atom-1 atom-2 atom-3  (N = # of angles)                       
                                                                             
Dihedrals                                                                    
                                                                             
  1 dihedral-type atom-1 atom-2 atom-3 atom-4  (atoms 2-3 form central bond) 
  ...                                                                        
  N dihedral-type atom-1 atom-2 atom-3 atom-4  (N = # of dihedrals)          
                                                                             
Impropers                                                                    
                                                                             
  1 improper-type atom-1 atom-2 atom-3 atom-4  (atom-2 is central atom)      
  ...                                                                        
  N improper-type atom-1 atom-2 atom-3 atom-4  (N = # of impropers)          
注意:data文件不仅能够表示坐标,键,键角等,而且可以输入初始速度,键系数等信息。

lammps_data文件的更多相关文章

  1. Mapreduce的文件和hbase共同输入

    Mapreduce的文件和hbase共同输入 package duogemap;   import java.io.IOException;   import org.apache.hadoop.co ...

  2. mapreduce多文件输出的两方法

    mapreduce多文件输出的两方法   package duogemap;   import java.io.IOException;   import org.apache.hadoop.conf ...

  3. 01.SQLServer性能优化之----强大的文件组----分盘存储

    汇总篇:http://www.cnblogs.com/dunitian/p/4822808.html#tsql 文章内容皆自己的理解,如有不足之处欢迎指正~谢谢 前天有学弟问逆天:“逆天,有没有一种方 ...

  4. SQL Server 大数据搬迁之文件组备份还原实战

    一.本文所涉及的内容(Contents) 本文所涉及的内容(Contents) 背景(Contexts) 解决方案(Solution) 搬迁步骤(Procedure) 搬迁脚本(SQL Codes) ...

  5. SQLSERVER将一个文件组的数据移动到另一个文件组

    SQLSERVER将一个文件组的数据移动到另一个文件组 有经验的大侠可以直接忽视这篇文章~ 这个问题有经验的人都知道怎麽做,因为我们公司的数据量不大没有这个需求,也不知道怎麽做实验 今天求助了QQ群里 ...

  6. SQL Server中的高可用性(2)----文件与文件组

        在谈到SQL Server的高可用性之前,我们首先要谈一谈单实例的高可用性.在单实例的高可用性中,不可忽略的就是文件和文件组的高可用性.SQL Server允许在某些文件损坏或离线的情况下,允 ...

  7. C# ini文件操作【源码下载】

    介绍C#如何对ini文件进行读写操作,C#可以通过调用[kernel32.dll]文件中的 WritePrivateProfileString()和GetPrivateProfileString()函 ...

  8. 【小程序分享篇 一 】开发了个JAVA小程序, 用于清除内存卡或者U盘里的垃圾文件非常有用

    有一种场景, 手机内存卡空间被用光了,但又不知道哪个文件占用了太大,一个个文件夹去找又太麻烦,所以我开发了个小程序把手机所有文件(包括路径下所有层次子文件夹下的文件)进行一个排序,这样你就可以找出哪个 ...

  9. 【原】Android热更新开源项目Tinker源码解析系列之二:资源文件热更新

    上一篇文章介绍了Dex文件的热更新流程,本文将会分析Tinker中对资源文件的热更新流程. 同Dex,资源文件的热更新同样包括三个部分:资源补丁生成,资源补丁合成及资源补丁加载. 本系列将从以下三个方 ...

随机推荐

  1. PDO::rollBack

    PDO::rollBack — 回滚一个事务(PHP 5 >= 5.1.0, PECL pdo >= 0.1.0) 说明 语法 bool PDO::rollBack ( void )高佣联 ...

  2. Python编程第四版中文 上下册完整版pdf|网盘下载附提取码

    点击此处下载 提取码:drjh 作者简介 Mark Lutz是Python培训的世界的领先者,他是最初和最畅销的Python著作的作者,从1992年起就是Python社区的先锋人物.Mark有25年的 ...

  3. 死磕HashMap

    前言 HashMap是Java中最常用的集合类框架,也是Java语言中非常典型的数据结构,同时也是我们需要掌握的数据结构,更重要的是进大厂面试必问之一. 数组特点 存储区间是连续,且占用内存严重,空间 ...

  4. 用MPI进行分布式内存编程(1)

    <并行程序设计导论>第三章部分程序 程序3.1运行实例 #include<stdio.h> #include<string.h> #include<mpi.h ...

  5. python2.2 elif多条件判断

    #案例:存款大于100万,买宝马:大于50万买丰田:大于20万买二手车:小于20万自行车! cunkuan=60#elif多条件判断,else:不满足elif执行其他命令if cunkuan>1 ...

  6. Secure CRT连接VMware虚拟机中的CentOS 7

    操作步骤: 1.安装Centos 7   虚拟机设置==>NetworkAdapter===>选择NAT(共享主机的IP地址), CTRL+ALT+F1切换到图形界面 选择右上角以太网打开 ...

  7. 总结笔记 | 深度学习之Pytorch入门教程

    笔记作者:王博Kings 目录 一.整体学习的建议 1.1 如何成为Pytorch大神? 1.2 如何读Github代码? 1.3 代码能力太弱怎么办? 二.Pytorch与TensorFlow概述 ...

  8. XCTF-WEB-新手练习区(1-4)笔记

    靶场地址:https://adworld.xctf.org.cn/ 1:view_source X老师让小宁同学查看一个网页的源代码,但小宁同学发现鼠标右键好像不管用了. 原理:使用浏览器F12或者B ...

  9. java System类、Math类、Arrays类

    一 System类 1.概念 在API中System类介绍的比较简单,我们给出定义,System中代表程序所在系统,提供了对应 的一些系统属性信息,和系统操作. System类不能手动创建对象,因为构 ...

  10. 2020-08-02:输入ping IP 后敲回车,发包前会发生什么?

    福哥答案2020-08-02: 首先根据目的IP和路由表决定走哪个网卡,再根据网卡的子网掩码地址判断目的IP是否在子网内.如果不在则会通过arp缓存查询IP的网卡地址,不存在的话会通过广播询问目的IP ...