Parametric Study

Theo_Score's picture
Submitted by Theo_Score on Fri, 02/17/2017 - 01:08

Hi All,

Is there a way of conducting parametric study with one input script and saving dump files in different post directories. I mean say vary coefficient of rolling friction such as 0.1, 0.2,...,0.8, 0.9 and save the dump files in different folders say post_0.1, post_0.2,...,post_0.8, post_0.9.

Thank you.

nasato | Fri, 02/17/2017 - 08:36

Hi,

You can put a universe variable in your input script like:
variable a universe 1 2 3 4 5 6 7 8 9 10

then add the command
shell mkdir post_0.$a

make sure you also change where you'll save the dump files
post_$a/dump*.liggghts

then you add the regular loop
next a
clear
jump self (or the name of your input script)

Best,
Nasato