Greetings,
I am contacting with the hope of finding a way to feed in a time vs position text file to dictate the position of an atom. The file will have the following structure:
time(s) position(m)
0 0
0.1 0.003
0.2 0.004
…
…
I stumbled upon an old answer in the mail list which made use of a variable with file format to achieve this. The solution in that thread was the following:
I am trying to make sense of this when comparing it with documentation. So does the first line assign ‘time’ to variable ‘alphaFile’ and the second line assigns ‘position’ to alpha or am I misunderstanding?
My next concern is that this solution mentions that it must be specified at everytime timestep. Since I’m running millions of timesteps it doesn’t make sense for me to store such a large data file. Is there a method to interpolate between data points?
The previous solution I am referencing is:
https://sourceforge.net/p/lammps/mailman/lammps-users/thread/[email protected]/
Thank you for your time!
Best,
Dev