Dear LAMMPS Users and Develpers,
I am trying to run a program in LAMMPS to simulate a nanosecond Gaussian pulse laser in the form of variable using “fix heat” command. The program is restarting from an equilibrium file (different file), in which the time-steps has been defined “nano”.
I have some problems using “fix heat”:
Firstly, when I use “fix heat”, there is no dynamic in the system! So, if I remove the “fix nve” command, the atoms are just freezed at their own position and they do not show any movement as the result of increasing the temperature using the laser pulse command, either linear or Gaussian form. Even with “fix nve”, it is only showing the vibration of the atoms without melting (similar to the case that we do not have "fix heat". I wonder how I could deal with this problem and have the dynamic as a result of "fix heat"?
Secondly, I can not change the boundary condition to non-periodic in the surface where the heat comes. The reason is that it is showing escaping atoms from the surface with an error message from LAMMPS. To solve this problem, I make the box bigger than the size of atoms. However, the atoms are expanding to the size of the new box and still there is no expansion as the result of the heat!
I was wondering how I could deal with boundary condition in the top surface to see the melting process?
I have put the part of input script for heating at the bottom of this email and I will appreciate any light up in which point I am making mistake that prevents me from seeing desirable results.
Thanks indeed in advance and I look forward to hearing from you.
Best regards,
Somaiieh
read_restart restart.equil
reset_timestep 0
timestep 0.001
pair_style eam
pair_coeff * * Al.eam
neighbor 3.4 bin
neigh_modify delay 0 every 1 check yes page 500000 one 50000
neigh_modify every 10 delay 0 check yes
thermo 200
thermo_style custom step temp pe etotal press vol
velocity all create 300 1234156
fix 2 box_FE nve
run 1000
variable x loop 5
variable y loop 5
variable flux atom 1000exp(-(2(x/2.5)^2+2*(y/2.5)^2))
reset_timestep 0
fix 3 heat_MD heat 10 v_flux
dump 2 all xyz 100 Al_heat_50ns_Gaussian_p10.xyz
log loginfo_heat_50ns_Gaussian_p10.lammps
thermo 100
run 5000
unfix 3