atom_style style args style包括有atomic、charge、molecular、full、bond、angle、sphere、ellipsoid等,默认的是atomic样式。args是用于有些样式接受附加参数(args)来进一步定义改样式的具体行为和属性。 更多的原子样式请参考lammps手册的command reference中的atom_style command一节,里面介绍了其他的原子样式以...
首先删除两个球形区域内的原子。 regionvoid1sphere10403delete_atomsregionvoid1regionvoid2sphere20703delete_atomsregionvoid2 在这两个球形区域内设置两个虚拟球,用的命令和纳米压痕fix indent命令一样。 区别是在这个案例中,这两个虚拟球的位置是固定的。 fix7flowindent100sphere10404fix8flowindent100sphere20704fix...
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命令用来定义模拟...
首先删除两个球形区域内的原子。 region void1 sphere 10 4 0 3 delete_atoms region void1 region void2 sphere 20 7 0 3 delete_atoms region void2 在这两个球形区域内设置两个虚拟球,用的命令和纳米压痕fix indent命令一样。 区别是在这个案例中,这两个虚拟球的位置是固定的。 fix 7 flow indent 100...
sphere适合球形区域,需指定球心坐标和半径,如regionnanoparticle sphere 25 25 25 15 unitsbox创建直径30埃的纳米颗粒。 动态区域定义需要联合多个命令。regionsub union 2 maincut将主区域与切割区域合并时,需配合group命令指定原子归属。当模拟裂纹扩展时,用regioncrack block 20 30 INF INF INFINF定义裂纹区域,结合...
delete_atoms group edge delete_atoms region sphere compress no delete_atoms overlap 0.3 all all delete_atoms overlap 0.5 solvent colloid delete_atoms porosity cube 0.1 482793 bond yes 说明 该命令主要用于删除不需要的原子。可用于创建晶界,缺陷,多孔孔结构。
7、n 3atom_styleSyntax: atom_style style args style = atomic or body or charge or dipole or electron or full or molecular or peri or sphere or tri or hybridExamples: atom_style atomic atom_style fullInitializationboundaryFixed boundary (f)Free boundary (s)Periodic boundary (p)柔性边界 (m...
1.lattice fcc3.61#Cu2.region zbox block06001000100units box3.region cubox block0600100050units box4.create_box6zbox5.create_atoms1region cubox6.lattice diamond3.56#C7.region ball sphere30137510units box8.create_atoms6region ball9.#划分区域10.region lower blockINFINFINFINFINF5units box11.group lowe...
style可取:angle/atomic/body/bond/charge/dipole/electron/ellipsoid/full/line/meso/molecular/peri/sphere/tri/hybrid args:只有body和hybrid需要设置args 使用介绍 定义模拟过程中原子的类型,它会决定原子包括哪些属性。一定原子的类型被设置了,在模拟过程中就不能在改变了,因此尽量更加通用的类型,以免某些属性没有被...
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...