RAMP AND CONSTANT

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

RAMP AND CONSTANT

TP
Good morning,

A query, I need to move a workpiece to my discrete elements up to the contact and I want it to be positioned (2.32e-4) during a time in contact and then (t>3e-3) again increase its Y displacement. For this, I use the Imposedisplacement plugin like this:

    <PlugIn Id="_ImposeDisplacement" X="0." Y="RAC(t,2.32e-3,2.32e-4)" Set="WorkingPiece"/>

    <PlugIn Id="_ImposeDisplacement" X="0." Y="RAC(t,0.1018,0.559e-3)" Set="WorkingPiece" TriggerIf="t>3e-3"/>

The idea is this



And it is slowly approaching the discrete elements. However, when it reads (trigger) the second plugin , the workpiece returns to its origin. Why doesn't it stay in the previous position? What is my mistake?

Thanks for your valuable help

Reply | Threaded
Open this post in threaded view
|

Re: RAMP AND CONSTANT

Damien André
Administrator
Hello, you shloud use absolute values of displacement. Something like :

<PlugIn Id="_ImposeDisplacement" X="0." Y="RAC(t,2.32e-3,2.32e-4)" Set="WorkingPiece"/>
<PlugIn Id="_ImposeDisplacement" X="0." Y="2.32e-4+RAC(t,0.1018,0.559e-3)" Set="WorkingPiece" TriggerIf="t>3e-3"/> 

should work

Cheers, Damien
TP
Reply | Threaded
Open this post in threaded view
|

Re: RAMP AND CONSTANT

TP

Thanks Demian again,

But, if  i want to increase periodically my workpiece each 1000 iteration from the last position (use relative values of displacement), is that,

<PlugIn Id="_ImposeDisplacement" X="0." Y="RAC(t,2.32e-3,2.32e-4)" Set="WorkingPiece" TriggerIf="it%1000 == 0"/>

The problem with this, is that, they are absulte values of displacement and I had the problem that I mentioned.

I hope that It has solution

Thanks for you answer