一、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. JVM笔记-GC常用参数设置

    GC常用参数 -Xmn -Xms -Xmx -Xss 年轻代 最小堆 最大堆 栈空间, -Xms -Xmx 一般设置成一样大小, -XX:+UseTLAB 使用TLAB,默认打开 -XX:+Print ...

  2. Python Tuple(元组) min()方法

    描述 Python 元组 min() 函数返回元组中元素最小值.高佣联盟 www.cgewang.com 语法 min()方法语法: min(tuple) 参数 tuple -- 指定的元组. 返回值 ...

  3. PHP htmlspecialchars_decode() 函数

    实例 把预定义的 HTML 实体 "<"(小于)和 ">"(大于)转换为字符:高佣联盟 www.cgewang.com <?php $str ...

  4. luogu P2973 [USACO10HOL]Driving Out the Piggies G 驱逐猪猡

    luogu LINK:驱逐猪猡 bzoj LINK:猪猪快跑 问题是在1时刻有个炸蛋在1号点 这个炸弹有p/q的概率爆炸 如果没有爆炸 那么会有1/di的概率选择一条边跳到另外一个点上重复这个过程. ...

  5. IDEA、maven3.6.3安装、环境配置(windows10)

      maven的安装和配置   1. maven的官方入门指南:http://maven.apache.org/guides/getting-started/index.html 阅读官方文档进行ma ...

  6. fiddler本地调试

    参考:https://blog.csdn.net/letasian/article/details/75021656 有关fiddler基础用法的介绍详见我的上一篇博客:http://www.cnbl ...

  7. MySQL Notifier 缺少根元素解决方法

    删除C:\Users(电脑用户名)\AppData\Roaming\Oracle\MySQL Notifier\settings.config文件即可

  8. 【SDOI2012】Longge 的问题 题解(欧拉函数)

    前言:还算比较简单的数学题,我这种数学蒟蒻也会做QAQ. --------------- 题意:求$\sum\limits_{i=1}^n gcd(i,n)$的值. 设$gcd(i,n)=d$,即$d ...

  9. 18-关键字:this

    1.可以调用的结构:属性.方法:构造器2.this调用属性.方法: this理解为:当前对象 或 当前正在创建的对象 2.1 在类的方法中,我们可以使用"this.属性"或&quo ...

  10. demo3同通讯录展示的方式分组排序

    按A-Z顺序分组展示 有些项目中会需要这样的需求.形成类似于上述的界面.类似于通讯录里边的排序.实现的效果:所有的数据展示的时候,能够分组展示.顺序按照A-Z的书序进行排列.如果不是以A-Z开头,则默 ...