Applying Forces on Floating body
I was trying to Apply a force on a floatng body at certain simulation time. I understood that current DSPH doesn't support this yet, will anyone be so kind to direct me to the correct code functions that I should add Forces to?
Alas I am not in the conditions to help you much at this moment. However, I link your question to previous ones on the same topic:
in case a solution emerges there at some point.
You should pay attention to the functions JSphCpuSingle::RunFloating() and JSphGpuSingle::RunFloating(). These functions compute the total forces on floating bodies and update its properties (position and velocity). Therefore, you can change here the force applied to floating bodies.
It looks like you're new here. If you want to get involved, click one of these buttons!