atom_style hybrid atomic charge 混合样式,允许同时处理普通原子和带电原子。 Atom_style-属性-模拟时需要的包-应用场景: 注意 需要在 read_data 或 create_box 命令之前定义。 某些atom styles(如mdpd或其他复杂粒子模型)需要特定的软件包支持,未启用相关包时无法使用。
atom_style sphere fix nve/sphere fix gravity compute erotate/sphere 最后一个命令可以计算旋转动能从而输出热力学信息。 使用下面三个对势命令的任何一个都可以计算相互作用的粒子对之间的力和扭矩: pair_style gran/history pair_style gran/no_history pair_style gran/hertzian 如下命令实现特定于颗粒系统的固定...
3.atom_style语法:atom_style style args参数:style = angle or atomic or body or bond or charge or dipole or dpd or edpd or electron or ellipsoid or full or line or mdpd or molecular or peri or smd or sph or sphere or spin or tdpd or tri or template or hybridargs可参见文档:https:...
style 为amoeba or angle or atomic or body or bond or charge or dipole or dpd or edpd or electron or ellipsoid or full or line or mdpd or molecular or oxdna or peri or smd or sph or sphere or or bpm/sphere or spin or tdpd or tri or template or hybrid atom_style命令用来定义模拟...
atom_style atomic neighbor 0.3 bin neigh_modify delay 5 (2)建模部分 晶格类型为hex类型,因为是二维模型,box在z方向尺寸只有0.5个晶格长度。 box内包含3种类型的原子。 lattice hex 0.7 region box block 0 40 0 10 -0.25 0.25 create_box 3 box ...
atom_style sphere lattice fcc 0.8442 region myregion block 0 10 0 10 0 10 create_box 1 myregion create_atoms 1 region myregion mass 1 1.0 velocity all create 1.0 87287 loop geom pair_style lj/cut 2.5 pair_coeff 1 1 1.0 1.0 2.5 fix 1 all nve timestep 0.005 thermo 100 run 1000 com...
如果不希望overlap删除分子内的键合,可以使用special_bonds命令避免建立相应的邻域列表。 关键字bond不能用于使用分子模板定义的分子体系,例如命令molecule和atom_style template。 3. read_data
比如,如果你要使用极性粒子,并且要这些粒子在扭矩下旋转,那么你就需要用 到 atom_style hybrid sphere dipole。如果使用类型 hybrid,那么原子就会储存 由这两种类型定义的所有性质。 使用限制 该命令不能在模拟盒子被定义 (使用命令 read_data 或 create_box) 之后使用。 类型 angle/bond/full/molecular 是 ...
2.shell mkdir output./output/fraction./output/equil3.units metal4.atom_style atomic5.dimension36.boundary p p s7.#建模8.lattice fcc3.61#Cu9.region zbox block06001000100units box10.region cubox block0600100050units box11.create_box6zbox12.create_atoms1region cubox13.settype1type/ratio20.2123465#...
style包括有atomic、charge、molecular、full、bond、angle、sphere、ellipsoid等,默认的是atomic样式。args是用于有些样式接受附加参数(args)来进一步定义改样式的具体行为和属性。 更多的原子样式请参考lammps手册的command reference中的atom_style command一节,里面介绍了其他的原子样式以及可取的args参数。