2
$\begingroup$

I need to do a fluid simulation, where the fluid goes through a pump. The pump-model is build the way, that the intake is at the bottom and the output is at the top. I need a way to get the fluid all the way up through the pump. I believe there's no thing like a "drag water from here to there and also mind the obstacles" option for this, is there? Is there another way? The only way i can think of is having a tank/reservoir that is as high (or higher) than the pump, so that the water rises up all the way through the pump.

So, basically i need to simulate the pump.

Here's a picture to help explain what i need to achieve: enter image description here

$\endgroup$
4
  • $\begingroup$ Possibly use a fluid ‘Control’ object moving in the direction yuvwant to drag the fluid, set with a Velocity Force tk transfer its velocity into the fluid - but I’ve never actually trief anything like that before so can’t be sure. $\endgroup$ Commented Nov 21, 2018 at 14:20
  • $\begingroup$ never tried it with fluid sims but could you not just set the gravity negative? $\endgroup$
    – rob
    Commented Nov 21, 2018 at 15:57
  • $\begingroup$ No, the fluid needs to behave properly. $\endgroup$
    – Reaper
    Commented Nov 21, 2018 at 16:08
  • $\begingroup$ I elaborated on my answer. $\endgroup$ Commented Nov 21, 2018 at 17:48

3 Answers 3

4
$\begingroup$

Perhaps you could use a chain of control objects which follow a path in the center of the pipe. I have attached my blender file that generates this animation.

I have a pipe (which would be your pump) set to Obstacle under Fluids and it has Shell initialization.

I have a domain surrounding the simulation and some fluid at the bottom to be sucked up.

The most important thing is the short cylinder which is a Control fluid object. Play with "Attraction" and "Velocity" to get suction. It follows a path I made in the center of the pipe. Perhaps you could use an array of these controls to have a constant suction/drag on the water. Or you could cheat and have an "inflow" at the end of the out pipe and an "outflow" at the opening. Then if your pipe is not transparent, it will look like water is going in and coming out. I can make an example of this if you want.

gif

$\endgroup$
1
  • $\begingroup$ Thanks for the answer. I'll try it and tell you the result. I don't want to mark this as answer right now, in case there are other people with suggestions. (I'll do it latter). $\endgroup$
    – Reaper
    Commented Nov 22, 2018 at 9:20
2
$\begingroup$

Rather than 'draw' the water up the pipe (or have a high reservoir), you could use an Inflow set with a high velocity to force the water up the pipe :

water pipe inflow

Here the selected object is the Inflow, set with X Velocity of -5 to inject the water at high speed. The fluid that seeps back out of the inflow could easily be blocked with an additional (hidden) obstacle if desired - or hidden via a Boolean modifier.

Blend file included

$\endgroup$
2
  • $\begingroup$ Thanks for the answer. The problem however is, that the pump internally is not just a pipe. Its more like chambers, roters and stuff. $\endgroup$
    – Reaper
    Commented Nov 23, 2018 at 8:49
  • 1
    $\begingroup$ @Reaper I'm not really clear on what you're trying to achieve. If you're trying to simulate the internals of the pump (rather than just producing an animations showing the operation of the pump) then I don't think Blender is the right tool for the job. Presumably, you'd need moving obstacles that 'push' the water around and the resultant pressure pushes the water through the pump - Blender fluid simulation doesn't work very well with moving obstacles so this is unlikely to work - and less likely to be realistic. $\endgroup$ Commented Nov 23, 2018 at 17:13
0
$\begingroup$

Give inflow where you want the pump to be and add an obstacle below it for the water to go up. The water goes up, falls down to the tank. Then flows in to the pipe and disappears hitting the outflow that's the rim of the tank.

$\endgroup$
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .