CFDEMproject WWW Site - CFDEM Commands

liggghtsCommandModel_execute command

Syntax:

Defined in liggghtsCommmands dictionary.

liggghtsCommandModels
(
   execute
);
executeProps0
{
    command
    (
        run
        $couplingInterval
    );
    runFirst switch1; 
    runLast switch2;
    runEveryCouplingStep switch3;
    runEveryWriteStep switch4;
} 

Examples:

liggghtsCommandModels
(
   execute
   execute
);
executeProps0
{
    command
    (
        run
        $couplingInterval
    );
    runFirst off;
    runLast off;
    runEveryCouplingStep on;
}
executeProps1
{
    command
    (
        write_restart
        noBlanks
        dotdot
        slash
        DEM
        slash
        liggghts.restart_
        timeStamp
    );
    runFirst off;
    runLast off;
    runEveryCouplingStep off;
    runEveryWriteStep on;
} 

Description:

The execute liggghtsCommand Model can be used to execute a LIGGGHTS command during a CFD run. In above example execute_0 for instance executes "run $couplingInterval" every coupling step. $couplingInterval is automatically replaced by the correct number of DEM steps. Additionally execute_1 executes "write_restart ../DEM/liggghts.restart_$timeStamp" every writing step, where $timeStamp is automatically set.

These rather complex execute commands can be replaced by the "readLiggghts" and "writeLiggghts" commands!

Restrictions: None.

Related commands:

liggghtsCommandModel