Dear all
I want to use liggghtscommands to implement a movement to a stl wall,
I have used this execute command:
executeProps1
{
command
(
fix
moveFront
all
move
slash
mesh
mesh
frontwall
linear
"0.0005" "0." "0."
);
runFirst off;
runLast off;
runEveryCouplingStep on;
runEveryWriteStep off;
}
But I have got error:
fix moveFront all move / mesh mesh frontwall linear 0.0005 0. 0.
ERROR: Illegal fix move command (../fix_move.cpp:187)
How it is possible to fix this problem.
I think the blanks between move and slash results in error.
Any help is appreciated.
Regards
Talat,
tala | Tue, 10/24/2017 - 18:32
it is fixed,
it is fixed,
Answer is in liggghtsCommandModel.c
AndresMM | Tue, 11/07/2017 - 16:36
Hi Tala,
Hi Tala,
I am looking to simulate something similar. Would it possible to take a look at your simulation script?
Cheers,
A
Rachel | Sat, 11/11/2017 - 08:59
Hi Talat,
Hi Talat,
why don't you use this move mesh command directly in the liggghts code? Could you briefly tell me what is the difference between the liggghtsCommand in CFD part and the liggghts code in DEM part? Thank you very much.
Regards,
Rachel
AndresMM | Mon, 11/13/2017 - 09:30
As far as I know, how the
As far as I know, how the CFDEM-coupling works is that the CFD-script is the main script, which runs the DEM-script e.g. 200 steps before it itself (the CFD-script) runs again (200 being the couplingInterval in this example). However the CFD-script does not read the entire DEM-Script each time, instead it just makes a "run 200" after reading the entire DEM-Script just once at the start of the coupling. This means that if you have a movement in your DEM-script with fix MOVEMENT and unfix MOVEMENT, the CFD-script will only "remember" the UNFIX command since it was the last command. In other words, you have no movement.
alice | Mon, 11/13/2017 - 14:08
Hello,
Hello,
Andreas, you are correct. Furthermore liggghtsCommands are also handy, when you want to start a mesh motion (or anything else) at a specific time or change the velocity for example.
Cheers,
Alice