mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
98 lines
2.4 KiB
Plaintext
98 lines
2.4 KiB
Plaintext
"CFDEMproject Website"_lws - "Main Page"_main :c
|
|
|
|
:link(lws,http://www.cfdem.com)
|
|
:link(main,CFDEMcoupling_Manual.html)
|
|
|
|
:line
|
|
|
|
liggghtsCommandModel execute command :h3
|
|
|
|
[Syntax:]
|
|
|
|
Defined in "liggghtsCommmands"_CFDEMcoupling_dicts.html#liggghtsCommands
|
|
dictionary.
|
|
|
|
liggghtsCommandModels
|
|
(
|
|
execute
|
|
);
|
|
executeProps0
|
|
\{
|
|
command
|
|
(
|
|
run
|
|
$couplingInterval
|
|
);
|
|
runFirst switch1;
|
|
runLast switch2;
|
|
runEveryCouplingStep switch3;
|
|
runEveryWriteStep switch4;
|
|
verbose;
|
|
\} :pre
|
|
|
|
{command} = LIGGGHTS command to be executed. Each word in a new line, numbers and symbols need special treatment (e.g. $couplingInterval will be replaced by correct coupling interval in the simulation) :ulb,l
|
|
{switch1} = (optional, default off) if the command is executed only at first time step :l
|
|
{switch2} = (optional, default off) if the command is executed only at last time step (requires {switch1} to be off) :l
|
|
{switch3} = (optional, default off) if the command is executed at every coupling step (requires {switch1} and {switch2} to be off) :l
|
|
{switch4} = (optional, default off) if the command is executed at every writing step (requires {switch1} to {switch3} to be off) :l
|
|
{verbose} = (normally off) for verbose run :l
|
|
:ule
|
|
|
|
[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;
|
|
\} :pre
|
|
|
|
[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.
|
|
|
|
NOTE: These rather complex execute commands can be replaced by the
|
|
{runLiggghts} and {writeLiggghts} commands!
|
|
|
|
[Restrictions:]
|
|
|
|
none
|
|
|
|
[Related commands:]
|
|
|
|
"liggghtsCommandModel"_liggghtsCommandModel.html
|
|
|