0
$\begingroup$

Gap Between Domain And Actual Collision Of Fluid

Just to start off and explain things, I've been having this problem whenever I try and create a fluid domain so I created the simplest example possible. The bounding box seen is not the domain but an exact copy to show the boundaries. I used to have great fluid simulations, now this happens and for some reason any objects set to obstacle are ignored by the fluid, any help would be appreciated Also, if you're having trouble seeing the problem, download the blend file and if it's not my computer causing it locally, you should see that the fluid doesn't collide with the domain properly, there's gaps between all the sides.

$\endgroup$
2
  • 1
    $\begingroup$ Can you add the .blend file so we can take a look? Just the screenshot isn't much to go off $\endgroup$
    – Freddie R
    Commented Jul 6, 2017 at 11:55
  • $\begingroup$ @m.ardito there's a gap between the fluid and the domain, the collisions aren't working properly $\endgroup$ Commented Jul 8, 2017 at 5:49

2 Answers 2

3
$\begingroup$

Increase the resolution to reduce the gap.

The "glitch" you are experiencing is indeed an artifact of the low-resolution simulation.

The fluid simulation is computed on a grid of N × N × N small cubes, N being your "Final" resolution setting. Every detail of the 3D world, like the boundary location or an obstacle, that is smaller than the diameter of these cubes may be ignored by the simulation. Therefore, you should always expect gaps that are as large as one N-th of the edge of the simulation box.

In your example, you are simulating at N = 65 and visualizing the "Preview" mode at N = 45. Since your gap is around 1/45-th of the box size, it shouldn't be considered a glitch.

Increase your "Final" simulation resolution to ~150 and switch the "Viewport display" to "Final" to see the difference it makes.


Your file simualted at Final = 300 and Viewport display = Final

enter image description here

$\endgroup$
0
$\begingroup$

I, like you, also remember perfect domain to simulation walls parity, but I think I just never noticed the small gap before.

I checked Blender 2.78, 2.79, 2.8, and 2.5, all exhibit the same behaviour.

So I'd say this is as it has always been.

$\endgroup$
2
  • $\begingroup$ I had it working perfectly and then in the same version this started happening (I was on like 2.3 or something) and then I updated and it stayed consistent, hopefully we can find an answer to if this changed in an update, I've also been having problems with fluids ignoring things designated as obstacles, any troubleshooting I can do that would work or should I be more specific? $\endgroup$ Commented Jul 9, 2017 at 3:53
  • $\begingroup$ best thing right now would be to ge 5+ people to notify if theyre getting the same bahaviour, I don't think anything external can break this, if I understand correctly this depends solely on cpu. I tried looking at a few other videos online and while it is difficult to tell I'd say that the gap is there. kinda offtopic but why do you care about the gap? it's not something that I can see being a huge problem. $\endgroup$
    – Firewill
    Commented Jul 9, 2017 at 4:06

You must log in to answer this question.

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