Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Limiting the function operation 2

Status
Not open for further replies.

Frankyy

Mechanical
Oct 22, 2020
10
PL
Hi, anyone know an idea how to limit this force function that it only works when the the slider is on the way back, in this mechanism?
I tried to use the "IF" function but I couldn't find a solution...
Maybe is some other way to implement this type of force?



Simulation:
[youtube yIXR2-MVyR8]



Force limit needed - black arrow mark:
3q_lj3p4w.png




Force function:
1q_syylmt.png




Force values / slider position:
2q_imymrt.png
 
Replies continue below

Recommended for you

I wanted to do it like in this example, insert DM (..., ...) instead of VR (..., ...) and then eliminate the force between the new markers added, in the unwanted range of that force

IF( DM(checkmarker1, checkmarker2) : 0 , 0 , AKISPL(DM(MARKER_18, MARKER_19),0, SPLINE_1,0)) or similar...

Sorry for my little knowledge, I am a beginner user of MSC Adams [hairpull2][pc2]

ttt_g18xfx.png
 
No you don't want to use DM in your IF test, you need translational velocity, assuming that all this happens on the X axis

IF( VX(checkmarker1, checkmarker2) : 0 , 0 , AKISPL(DM(MARKER_18, MARKER_19),0, SPLINE_1,0))

So this says if the velocity between those two markers is <=0, F=0
esle F=whatver your spline gives

The chances are you might need

IF( VX(checkmarker1, checkmarker2) : AKISPL(DM(MARKER_18, MARKER_19),0, SPLINE_1,0),0,0)

depending on directions

Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376
 
I misunderstood this function. [banghead]
Yesssssss, it's work! [rofl2]
Thanks You for Your HELP! [thanks]

This Thread can be closed [smile]


IF( VX(CHECK_MARKER_1, CHECK_MARKER_2) : 0 , 0 , AKISPL(DM(CHECK_MARKER_1, CHECK_MARKER_2), 0, SPLINE_1, 0) )


[youtube 6zzJiS3OFXU]

 
Status
Not open for further replies.
Back
Top