to move the discrete element with a condition in inp file?

classic Classic list List threaded Threaded
2 messages Options
TP
Reply | Threaded
Open this post in threaded view
|

to move the discrete element with a condition in inp file?

TP

Hi everyone,

I would like to know how could i move the discrete elements in the inp file applying one condition? For example:

If the workpiece has a sensor and detect force of contact from 10N with the discrete element, the shape that contain the discrete elements I wish it gets move (whatever direction), but if the force is lower than 10N, the discrete element I wish does not get move.

or i have necessarely to create new plugin?

If it is the last option what file in the libdem i can use? Is it discreteelement.hpp? or what do you recommend?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: to move the discrete element with a condition in inp file?

Damien André
Administrator
Hi, unfortunately you can not do want you want with inp. I think that you must build your own plugin to do such non-conventional thing.

My advice for you is to use as base for your plugin the "Lib/GranOO/libPlugIn/ImposeDisplacement" plugin. So, you can copy/paste/edit the related *.hpp and *.cpp files and adapt them to your own needs.

Kind regards, Damien.