- flatten directory structure - remove CPU time and reduce excess precision from output - delete redundant and unused files - regenerate reference outputs
52 lines
1.6 KiB
Plaintext
52 lines
1.6 KiB
Plaintext
# Initialization
|
|
units metal
|
|
boundary p p p
|
|
atom_style full
|
|
processors * * 1 # domain decomposition over x and y
|
|
|
|
# System and atom definition
|
|
# we use different molecule ids for each layer of hBN
|
|
# so that inter- and intra-layer
|
|
# interactions can be specified separately
|
|
|
|
read_data Bi_gr_AB_stack_2L_noH.data
|
|
mass 1 12.0107 # carbon mass (g/mole) | membrane
|
|
mass 2 12.0107 # carbon mass (g/mole) | adsorbate
|
|
# Separate atom groups
|
|
group layer1 molecule 1
|
|
group layer2 molecule 2
|
|
|
|
######################## Potential defition ########################
|
|
pair_style hybrid/overlay rebo ilp/graphene/hbn 16.0
|
|
####################################################################
|
|
pair_coeff * * rebo CH.rebo C C # chemical
|
|
pair_coeff * * ilp/graphene/hbn BNCH.ILP C C # long range
|
|
####################################################################
|
|
# Neighbor update settings
|
|
neighbor 2.0 bin
|
|
neigh_modify every 1
|
|
neigh_modify delay 0
|
|
neigh_modify check yes
|
|
|
|
#### Simulation settings ####
|
|
timestep 0.001
|
|
velocity all create 300.0 12345
|
|
|
|
compute 0 all pair rebo
|
|
compute 1 all pair ilp/graphene/hbn
|
|
variable REBO equal c_0 # REBO energy
|
|
variable ILP equal c_1 # total interlayer energy
|
|
variable Evdw equal c_1[1] # attractive energy
|
|
variable Erep equal c_1[2] # repulsive energy
|
|
|
|
############################
|
|
|
|
# Output
|
|
thermo 100
|
|
thermo_style custom step etotal pe ke v_REBO v_ILP v_Erep v_Evdw temp
|
|
thermo_modify lost warn
|
|
|
|
###### Run molecular dynamics ######
|
|
fix thermostat all nve
|
|
run 1000
|