Mantaflow FLIP particles not working correctly #80088
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#80088
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-5.4.0-7642-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100
Blender Version
Broken: version: 2.90.0 Beta, branch: master, commit date: 2020-08-21 15:35, hash:
ebf10b72b0
Worked: 2.83.5
Short description of error
FLIP particles jump around and behave erratically. They seem to over-react to collisions.
But also note that:
Exact steps for others to reproduce the error
crazy-particles-290.blend
Added subscriber: @ErvinWeber
Added subscriber: @Raimund58
Funny what happens if you load the fluid-290.blend into 2.83.5 :D
Added subscriber: @iss
Changed status from 'Needs Triage' to: 'Needs User Info'
I can't reproduce difference when looking at
fluid-285.blend
in 2.83 or 2.90 or 2.91. You can not compare behavior of 2 files in 2 versions.fluid-290.blend
looks broken in both versions. Perhaps there is some bug in this file, I am not sure. You can change report or create new one to report issue in that file.So my issue with report is that there are too many files to cross check. it should be possible to use one file to demonstrate bug. I think steps to create such file could help.
Hi Richard, you're right, let me explain better.
I did the tests starting from the same file and then saving the results as new files in 2.83.5 and 2.90.
If the fuild-290.blend seems broken, I think maybe it's because blender 290 broke it. I don't know either.
Here are the steps I used to reproduce the behavior.
Open the attached setup.blend (done in 2.83.5). It contains 2 cubes and an animated cylinder, no fluid enabled.
enable fluid effector on the cylinder, type collision, default settings
If you repeat the test in both 2.83.5 and 2.90 you'll see the results are similar to the videos I posted above.
At least that's what's happening to me.
To reproduce the slow-motion video I did the following:
Let me know if you need any more info
setup.blend
I could not create a simulation in 2.90. The particles were not visible. No idea what is happening...
But I followed your steps with success in 2.83. Either I am doing something wrong or
21cb6f09ff
is broken...success_2_83_5.blend
no_success_2_90.blend
Changed status from 'Needs User Info' to: 'Needs Triage'
Now I could reproduce it in 2.91 (
396d39c6b9
). But still not in 2.90. The particles are only visible to me if I open the .blend saved from 2.91. Super weird...2_91.blend
Blender_2_91.mp4
Blender_2_83_5.mp4
Sorry Raimund, I forgot to mention that that's also happening to me.
The particles don't appear in 2.90.
But I saw that by changing one of the domain parameters (eg. resolution) makes them appear.
I guess it triggers an update in the fluid sim?
@ErvinWeber Can you tag the report as Blender 2.90?
Could it also be related to OpenVDB somehow?
Maybe it's particle-related.
It looks like the particles are 1 frame ahead in respect of where they should be.
Eg. in the first frame they should be still inside the emitter. Instead they've already fallen out of it.
Added subscriber: @sebbas
Any chance to get @sebbas on the boat?
I was looking at this file yesterday, but I had trouble producing output from setup.blend even in 2.83.4 version. So I started to download 2.83.5 just to be 100% sure there is not any bugfix and return to report later.
So I am testing this file with 2.83.5 now and I am not able to produce output still. Even if I make sure cache folder is fresh or even if I bake cache. Am I missing something?
For some reason, and I didn't notice it the first times I tried this, you need to update one setting and then the particles are visible. Looks like we found another bug. :)
See attached video
Desktop 2020.08.28 - 10.14.46.04.mp4
PS: Sorry, Shadowplay didn't record my mouse :(
I am aware of this bug - it is already reported. I did exactly same thing as you, but I still can't see particles.
I don't have any problem when I apply quick liquid on default cube or when I create simulation myself. Even if I scale things down to similar scale things are working.
I have looked at flow mesh in edit mode to check if it is watertight, and things started working. So I am not sure what's going on there. At least I can reproduce the issue now.
I will change the file a bit and also subject of report to fluid effector not working correctly, because that's the problem here with this case.
strange behaviour in mantaflow for blender 2.90 betato Mantaflow liquid effector not working correctlyChanged status from 'Needs Triage' to: 'Confirmed'
@iss Great to hear that you were able to reproduce the issue. But why did you remove the 2.90 tag? I mean, it is in 2.90 and in 2.91.
Tag is used to indicate in which version issue should be fixed. it is up to developer to assign it.
I don't think it's the effector at fault here.
In my tests:
I can only guess here, but I think that the particles are out of synch with the rest of the simulation.
It looks like they are 1 frame ahead of where they should be.
Another possibility is that the gravity gets applied two times per simulation step.
I will download the latest 2.90 beta and check again. In case the particles are still behaving as above I will change the subject of the report and the file.
Mantaflow liquid effector not working correctlyto Mantaflow FLIP particles not working correctlyPlease keep the discussion in the comment section and not in the description...
Sorry, didn't know was against the rules
It is not a rule per se as far as I know but a bad practice in my honest opinion.
It seems this bug is caused by the (relatively small) size of the geometry. If you scale everything up then things start to look normal again.
Will investigate this further.
Well, then what is the recommended size of a simulation?
Do I now need to do one meter wine glasses and scale them down after simulating? :D
I did a few more tests with the same setup: an inflow object and a moving glass.
This time for each simulation I've changed the domain size, AND the domain resolution accordingly, to keep the same cell dimension.
Inflow and glass are the same dimension in each simulation.
I've attached the blends in a zip file.
test-domain-size.zip
From the results it looks like the problem is not the "scale of the simulation" but just the "size of the domain".
Please look at the image, in each row you can see various frames of the same simulation.
My question is: why the results are so different while the cell sizes are the same?
It is my understanding that, everything else being equal, the stability and realism of a simulation depend basically on the particles velocities in relation to the cell size (that's why we use adaptive timesteps). So, if the cell size are the same, the particles should behave the same regardless of the domain size.
Is there something I'm not aware of that explains this behaviour or is it a bug?
Added subscriber: @JacquesLucke
I can reproduce the issue and think this behavior should either be fixed or documented by @sebbas. I don't really know what is happening here.
Thanks for the detailed test @ErvinWeber! Looked into it a bit and it seems there are 2 bugs in this report.
For the 1st one I just committed a fix (
11a8a6d0e6
). This should make sure that particles never leave the domain bounds. Particles at frame 1 should now also be at the correct position (inside inflow object).Another fix will follow!
Changed status from 'Confirmed' to: 'Resolved'
Added two more commits:
11a8a6d0e6
) will also work with older files (1f046e05b6
)663e047102
)There is still some fine-tuning that can to be done as right now especially the smaller scenes seem to lose liquid once the surrounding obstacle is raised. This is a tricky use-case and would need to be investigated separately.
So in my view this report can be closed. @ErvinWeber if you can, please check if the latest version works better for you and reopen if find things that seems to be off.
Wonderful! Thanks a lot @sebbas :-) I'm a little busy now, but I will check for sure when possible
Great, thx!