Last active
October 8, 2024 01:48
-
-
Save kaityo256/f10236ec035ff539cbe87cab854ae6c6 to your computer and use it in GitHub Desktop.
LAMMPSのBondのサンプルファイル
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LAMMPS data file | |
2 atoms | |
1 bonds | |
1 atom types | |
1 bond types | |
-10 10 xlo xhi | |
-10 10 ylo yhi | |
-10 10 zlo zhi | |
Masses | |
1 1.0 | |
Atoms | |
1 1 1 -1.0 0.0 0.0 | |
2 1 1 1.0 0.0 0.0 | |
Velocities | |
1 0 1 0 | |
2 0 -1 0 | |
Bonds | |
1 1 1 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
units lj | |
atom_style bond | |
boundary p p p | |
timestep 0.001 | |
read_data bond.atoms | |
mass 1 1.0 | |
pair_style lj/cut 2.5 | |
pair_coeff 1 1 1.0 1.0 2.5 | |
bond_style harmonic | |
bond_coeff 1 100 1.0 | |
fix 1 all nve | |
dump id all atom 5 bond.lammpstrj | |
run 1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bond.inputとbond.atomsを同じディレクトリに置いた状態で以下を実行。