floating:how to set a constant velocity of a floating body

Dear all,

I want to set a constant velocity of a floating body in x direction,which meanwhile moving downwards in z direction acting on external forces. I have met the problem:

It seems that the body can't move at constant velocity when I set the it as floatings. Because the "motion" function can't apply on "floationgs".

Comments

  • Another Question: Can I use “restart” function to change parameters such as friction over time? For example, in 0-3s,the friction of the wall is 0, in 3-5s, the friction of the wall is 0.5.

    Thanks in advance.

  • What do you want to do? If you want to create a moving object, then just use the motion to specify it and there is no need to define it as floating body...

    Regards

  • Thanks. I want to create a floating body moving at constant velocity. Just like a boat floating on the ocean moving forwand at constant velocity.

  • This is possible. Look at:

    DualSPHysics_v5.0\examples\others\MotionFloating\CaseMotionFloating_Def.xml

    Consider not using a floating, if what you want is purely motion behaviour. But you can do what you want through floatings like shown in the xml.

    Kind regards

  • Thanks a lot @Asalih3d

Sign In or Register to comment.