You are on page 1of 1

# ------------------------ INITIALIZATION ----------------------------

units metal
dimension 3
boundary p p p
atom_style atomic
variable latparam

# ----------------------- ATOM DEFINITION ----------------------------


lattice
region
create_box 1 whole
lattice fcc ${latparam} orient x 1 0 0 orient y 0 1 0 orient z 0 0 1
create_atoms 1 region whole

# ------------------------ FORCE FIELDS ------------------------------


pair_style
pair_coeff

######################################
# EQUILIBRATION
reset_timestep 0
timestep 0.002
velocity all create 1 12345 mom yes rot no
fix 1 all npt temp 1 1 1 iso 0 0 1

# Set thermo output


thermo 1000
thermo_style custom step lx ly lz press pe temp

# Run for 20 picosecond ( 2 fs timestep)


run 10000
unfix 1

##############################################
# INCREASING TEMPERATURE
reset_timestep 0

fix 1 all npt temp 1 973 1 iso 1 1 1

# Display thermo
thermo 1000
thermo_style custom step lx ly lz press pe temp

run 3000000

######################################
dump 1 all custom 1000 dump.AlCu.lmp
# SIMULATION DONE
print "All done"

You might also like