I am into a project that simulates a moving truck with a tank holding water inside it, this is example (https://www.youtube.com/watch?v=jqpl4ME6rRY).
I studied the mechanics of the motion of the truck, and the motion of the water inside a static tank.
the problem is the mutual influence between the motion of the fluid and the motion of the truck. so there are two main problems I am stuck with:
- the influence of the motion of the truck to the motion of the fluid inside it.
- the influence of the motion of the fluid to the motion of the truck.
You can suppose that the truck moves in a straight line parallel to X-axes, with left and right move only.
for problem 1, as I am using SPH method to simulate the liquid, I am thinking of add the acceleration of the truck to the SPH equation for every fluid particle, I am not sure about it..
for problem 2, maybe I should compute the pressure force effecting to free surfaces of the truck (getting them from the pressure force of the particles) then add it to the acceleration of the truck, I am not sure also..
I hope my ideas to be correct and to share yours with me. Thank you.