zoukankan      html  css  js  c++  java
  • lammps_data文件

    一、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文件不仅能够表示坐标,键,键角等,而且可以输入初始速度,键系数等信息。
  • 相关阅读:
    bzoj1015: [JSOI2008]星球大战starwar 并查集+离线处理
    bzoj1051: [HAOI2006]受欢迎的牛
    bzoj1798: [Ahoi2009]Seq 维护序列seq 线段树
    codevs1163访问艺术馆 树形dp
    国标GB28181协议视频人脸识别/车牌识别平台EasyCVR国标设备接入新增录像功能开发
    海康SDK/大华SDK安防视频智能分析平台EasyCVR接入过多通道卡顿问题解决
    网络穿透设备EasyNTS上云网关如何结合智慧工地上云平台实现视频监控的多终端观看?
    TSINGSEE青犀视频EasyCVR视频融合共享平台浏览器直播页面报错无法播放如何排查?
    【解决方案】视频智能分析平台EasyCVR是如何搭建一套完善稳定的月子会所在线视频系统的?
    RTP协议可以用于直播吗?TSINGSEE青犀视频编译RTP推流程序报错类型不匹配问题解决
  • 原文地址:https://www.cnblogs.com/sysu/p/10808688.html
Copyright © 2011-2022 走看看