lammps_data文件

lammps_data文件是LAMMPS模拟中的重要输入文件,包含原子、键、角等的数目、类型、质量及box尺寸等信息。注释应避免使用'#', 原子相互作用系数最好在data文件中设定,以保持清晰。示例文件显示了基本框架,空白行不可忽略。" 108728478,5513007,接口自动化测试:超越Postman的高级策略,"['接口测试', '自动化测试', 'REST API', '测试框架', '持续集成']
摘要由CSDN通过智能技术生成

一、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)                     
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值