Professional Documents
Culture Documents
It’s advised that you first run the script for one timestep just to
see if there are any errors in it, then run the full simulation
1
08-10-2022
Input Script
# Initialization
units metal
#
dimension 3
#
boundary p p p
#
atom_style atomic
#
log logfile.txt
#
Input Script
# Defining Variables
variable stp equal 100
2
08-10-2022
Input Script
create_box N region-ID keyword value
#
create_box 1 myregion
lattice custom 4.58 a1 1.0 0 0 a2 0.0 1.0 0.0 a3 0.0 0.0 1.0 &
basis 0.0 0.0 0.0 &
basis 0.5 0.5 0.0 &
basis 0.0 0.5 0.5 &
basis 0.5 0.0 0.5 &
#
create_atoms 1 box basis 1 1 basis 2 1 basis 3 1 basis 4 1 units box
mass 1 39.948
#
BITS Pilani, Pilani Campus
Input Script
# Interatomic potential
pair_style lj/cut 10
# specify parameters
read_data
#
3
08-10-2022
Input Script
group ar type 1
#
timestep 0.001
#
run 1
velocity all create 300 102939 dist gaussian mom yes rot yes
#
BITS Pilani, Pilani Campus
Input Script
fix myensemble all nve
unfix myensemble
fix my2ndensemble all nvt temp 50 300 0.1
unfix my2ndensemble
fix my3rdensemble all npt temp 150 300 0.1 iso 70000 50.0 1.0
unfix my3rdensemble
#
4
08-10-2022
Input Script
# Output information
thermo_style custom step time temp pe etotal press vol
#
thermo 100
#
THANK YOU
BITS Pilani
Pilani Campus
10