Use liggghtsCommandsModels

Submitted by bnaar on Thu, 06/23/2016 - 12:02

Dear all,

I want to run a simulation in which I can control whether particles are inserted or deleted via the "fix insert/pack" or the "delete_atoms region" command, respectively. To do this during my CFDEM simulation, I have to use "liggghtsCommandsModels", however, I do not get this working. Does anyone have tips?

I tried the following:

liggghtsCommandModels
(
execute
);
executeProps0
{
command
(
region reg0 block 0.0000 0.0020 0.0000 0.0100 0.0210 0.0225 units box
delete_atoms region reg0 compress no
run 1 // (Tried with and without run command)
);
runFirst off;
runLast off;
runEveryCouplingStep on;
runEveryWriteStep off;
verbose;
}