Fluid simulation does not follow animation I've been working on a project where I try to release some water (shown in blue) inclosed in some object (shown in purple) by opening a gate (pink-ish). The water first fills up the purple container object, then the gate opens by some kind of animation, and finally the water is supposed to flow out. However, under most settings, the water is stuck inside the object and appears to be blocked by some invisible wall (see the screenshot, the water is supposed to fall down). I got the water to move out of the object under a specific set of settings, but those were quite problematic (i.e. not the right gate opening timing, a very low fluid resolution). The relevant properties of the scene objects are:


The purple container object is set to fluid obstacle, volume initialization type shell, slip type is set to free slip (made the whole thing work once) and it has some thickness. 
The gate shares the properties of the container object (although changing the volume initialization type to volume made it work once), but it's thickness is made through a modifier. The gate is animated by a simple deform>bend modifier, which uses shape keys somewhere internally I think (at least I saw an error message stating this). 
I don't think the domain settings are that interesting, but lowering the resolution sometimes made the whole thing work. 


Does anybody have any idea what I should be paying attention to? I'm confident the problem is due to the animation of the gate (which starts in a closed position, and then opens), as removing the animation and making it's initial state open lets the water flow through.

Update: The fluid does seem to follow the animation when using shape keys, which might be helpful to someone (I cannot achieve the animation I like with shape keys I think however, as applying my bend modifier as a shape key results in an unwanted animation). 

Update 2: I've included my testing file in this question, it already contains the modifier based opening/bending animation of the gate.
I found a way how you can solve this in a "relative" quickly way.  

Add a plane to your scene, subdivide length in 2 then subdivide it 10 times or so. Then Shrink wrap this plane, on your animated object.

Remove the fluidsim obstacle from your animated mesh.

For the Shrink wrapped plane, Add fluidsim (trough add modifiers!!!)
Then you get a non specific fuidsim control below it, it has a small properties icon, click it, set it to Fluid obstacle and animated mesh.

Below i add this working solution, note that I tuned the plane a bit.
Because shrink wrap had to fit in both open and close position.
Therefore i bended it, also I added another plane width fluid collision against leaking at the bottom.

Here is my final solution for this problem... btw it was a nice puzzle !!!



The only thing left todo is give those planes invisible materials, so you wont see them in final render.