Ga-Al 시스템 LJ 퍼텐셜 기반 단순 침투 시뮬레이션
units metal
atom_style atomic
boundary p p p
----- 시뮬레이션 박스 정의 -----
region simbox block 0 30 0 30 0 100
create_box 2 simbox # 타입 1: Al, 타입 2: Ga
----- 알루미늄 생성 (타입 1) -----
lattice fcc 4.05
region al_block block 0 30 0 30 0 1
create_atoms 1 region al_block
----- 갈륨 생성 (타입 2) -----
region ga_block block 0 30 0 30 90 100
create_atoms 2 random 3 765915 ga_block
----- 질량 정의 -----
mass 1 26.98 # Al
mass 2 69.72 # Ga
----- 퍼텐셜: Lennard-Jones -----
pair_style lj/cut 10.0
pair_coeff 1 1 0.20 2.5 # Al-Al
pair_coeff 2 2 0.10 2.7 # Ga-Ga
pair_coeff 1 2 0.15 2.6 # Al-Ga (cross interaction)
----- 네이버리스트 -----
neighbor 2.0 bin
neigh_modify delay 0 every 1 check yes
----- 초기 속도 -----
velocity all create 300.0 12345 mom yes dist gaussian
----- 시간 통합 -----
fix 1 all nvt temp 300.0 300.0 0.1
----- 출력 설정 -----
dump 1 all custom 100 dump.ga_al.lammpstrj id type x y z
thermo 100
----- 실행 -----
run 500
--------------------------error mesage-------------------
ERROR: No overlap of box and region for create_atoms (src/create_atoms.cpp:779)
Last command: create_atoms 2 random 3 765915 ga_block