Hi all,
I am experimenting with a few scripts as a personal project to understand fix deposit.
Below is an input script I have generated but have a few questions to make sure I understand what is going on.
- In this case I create a large simulation box first 0 5 0 10 0 5
- Next I create a substrate that fills the x and z components but only 0 5 in the y: region substrate block 0 5 0 5 0 5 and assign atom type 1 to the substrate
- I then create a fixed region that fills x and z but only 0 to 1 in the y. Why do I need to do this?
- I then build a region insert that atoms will be put into. It almost fills x and z and is the top part of y (above the substrate)
- I then set velocity and forces in the substrate to zero and NVE on all atoms.
- then I deposit type 2 in the insert region at a rate of -1. However, in the manual it says that this is the z direction. However, from what I can tell wouldn’t I want to be inserting in the -1 y direction as the insert region is in x and z but above y?
- Finally, the boundary in the beginning is shrink wrapped in x and y and periodic in z. Why not make it like the example script and have it p f p?
Overall this script appears to be inserting in the y direction where I think it would be easier to make the fixed region 0 5 0 10 0 1 and then have the insert region 0 5 0 10 4 5
Thanks very much. There is a lot of info on the fix deposit command, but no tutorial or explanation on what is needed in terms of substrate etc.
Liam
Input script below:
sample surface deposition script for atoms
------------------------ INITIALIZATION ----------------------------
units real
boundary s s p
atom_style full
variable latparam equal 2.85
----------------------- ATOM DEFINITION ----------------------------
lattice bcc {latparam} region box block 0 5 0 10 0 5 create_box 2 box lattice bcc {latparam} orient x 1 0 0 orient y 0 1 0 orient z 0 0 1
mass 1 55.85
mass 2 16.02
------------------------ FORCE FIELDS ------------------------------
pair_style reax/c NULL checkqeq yes
pair_coeff * * ffield.reax.Fe_O_C_H Fe O
fix 1 all qeq/reax 1 0.0 10.0 1.0e-6 reax/c
neigh_modify delay 0
#substrate
region substrate block 0 5 0 5 0 5
create_atoms 1 region substrate
#fixed region
region fixed block 0 5 0 1 0 5
group fixed region fixed
set group fixed type 1
#insert region
region insert block 1 4 7 9 1 4
compute new2d substrate temp
velocity substrate set 0 0 0
fix 2 all nve
fix 3 fixed setforce 0 0 0
fix 4 all deposit 10 2 100 12345 region insert rate -1 units box
timestep 0.25
dump 1 all atom 100 dump.deposit
thermo_style custom step atoms temp epair etotal press
thermo 100
thermo_modify temp new2d
run 1000