Read parameters from fix print text

Submitted by Sounik on Sun, 12/27/2020 - 10:25

Hi Everyone,

Is it possible to read a specific column of data from a text file?. This file is produced from the fix print, to be used in the next simulation steps.

Thanks

deepakpawar.2310 | Thu, 12/31/2020 - 11:47

Hi

I guess it is not possible.
However, In the past, I was trying a similar task which is
regarding storing the variables at particular timestep in LIGGGHTS
(Plz see the text file in detail)

######################################################
start of the program
>> Scripts intitiates
>> define varaibles
>> variables are changing at every timestep
>> ran for ten timestep

run 10
unfix the all the fixes
>> save the variables at 10

<<<<<<<<<<<<>>>>
likewise
variables should save at following timestep rather than at every timestep
10
20
30
40

so that they can be used on

step
11
21
31
41 likewise

>> If totally if it ran for 100 timestep
run 100
##########################################################

In order to do so, it requires to write the data in the output data file and again reads the same data file for the next loop, which seems to be tricky.
In the end, I could not succeed.

Happy Learning!

Thank you