Hello,
I would like to define multiple groups and assign those to multiple fixes. Is this an acceptable way of looping and defining or is there a more LAMMPS way of doing it?
label mol_loop
variable mol_i loop 5 12
group grp_${mol_i} molecule ${mol_i}
fix smd_${mol_i} grp_${mol_i} smd cvel 10.0 NULL NULL 0.0
next ${mol_i}
jump run_file.in mol_loop
Thank you for the input!
Best regards,
Frank