Mantaflow: Adaptive Domain breaks Dissolve if 'slow' is checked #73232

Open
opened 2020-01-19 06:58:49 +01:00 by Mark Spink · 20 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.28

Blender Version
Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-01-18 18:58, hash: 3e11c4e63b
Worked: (optional)

Short description of error
[Adaptive domain seems to completely ignore the 'dissolve' setting on the Domain object, or at least alter it massively.]

Exact steps for others to reproduce the error
[Bake the attached .blend
Here's the results-
AdaptiveBreaksDissolve.JPG
The left hand Domain has dissolve enabled but not Adaptive. The right hand one is a duplicate of the left (and the left hand emitter), nothing at all changed apart from enabling Adaptive domain.
Doesn't look to me like the 'dissolve' parameter is doing terribly much at all on the right hand side, when 'Adaptive Domain' is enabled.]
[Based on the default startup or an attached .blend file (as simple as possible)]
Adaptive_Dissolve.blend

I discovered this issue half way through a 400 frame render, when looking at the rendered stills; so I thought stuff-it! Carry on...
So here is what this issue does to an actual sim I wasted several hours on creating/tweaking, then the best part of a half a day rendering-
Domain_Jitter_Dissolve.mp4

It looks worse than the .blend I uploaded as it has noise baked as well, and this seems to generally expand the volume filled by the smoke from what I've experienced, therefore exacerbating the jitter where the smoke hits the Adaptive Domain boundary.
As you can see it's quite ugly when the boundary of the smoke gets close to the camera, and as I hope you can see the jitter at the edges of the smoke look suspiciously like the jitter in the size of the domain seen in the viewport capture I made (obviously I matched the speed in Davinci, my workstation could only sustain 2FPS playback).
If anyone cares for my two-pennys-worth, whatever coded-wizardry controls the size of the Adaptive Domain, need's to implement some sort of 'damping' for the domain size changes, at least several (10-15?) frames worth. As well as taking 'dissolve' into account.

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.28 **Blender Version** Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-01-18 18:58, hash: `3e11c4e63b` Worked: (optional) **Short description of error** [Adaptive domain seems to completely ignore the 'dissolve' setting on the Domain object, or at least alter it massively.] **Exact steps for others to reproduce the error** [Bake the attached .blend Here's the results- ![AdaptiveBreaksDissolve.JPG](https://archive.blender.org/developer/F8286784/AdaptiveBreaksDissolve.JPG) The left hand Domain has dissolve enabled but not Adaptive. The right hand one is a duplicate of the left (and the left hand emitter), nothing at all changed apart from enabling Adaptive domain. Doesn't look to me like the 'dissolve' parameter is doing terribly much at all on the right hand side, when 'Adaptive Domain' is enabled.] [Based on the default startup or an attached .blend file (as simple as possible)] [Adaptive_Dissolve.blend](https://archive.blender.org/developer/F8286789/Adaptive_Dissolve.blend) I discovered this issue half way through a 400 frame render, when looking at the rendered stills; so I thought stuff-it! Carry on... So here is what this issue does to an actual sim I wasted several hours on creating/tweaking, then the best part of a half a day rendering- [Domain_Jitter_Dissolve.mp4](https://archive.blender.org/developer/F8287312/Domain_Jitter_Dissolve.mp4) It looks worse than the .blend I uploaded as it has noise baked as well, and this seems to generally expand the volume filled by the smoke from what I've experienced, therefore exacerbating the jitter where the smoke hits the Adaptive Domain boundary. As you can see it's quite ugly when the boundary of the smoke gets close to the camera, and as I hope you can see the jitter at the edges of the smoke look suspiciously like the jitter in the size of the domain seen in the viewport capture I made (obviously I matched the speed in Davinci, my workstation could only sustain 2FPS playback). If anyone cares for my two-pennys-worth, whatever coded-wizardry controls the size of the Adaptive Domain, need's to implement some sort of 'damping' for the domain size changes, at least several (10-15?) frames worth. As well as taking 'dissolve' into account.
Author

Added subscriber: @marks-4

Added subscriber: @marks-4
Author

And in case you were wondering...
AdaptiveDissolve_OldSmoke.JPG

It would appear to work as one would hope in the 'old' smoke sim...

Here's the blend file (2.81a not Mantaflow)-
Adaptive_Dissolve_OldSmoke.blend

Please, please, please don't kill the old smoke sim yet! It's still reliable...

And in case you were wondering... ![AdaptiveDissolve_OldSmoke.JPG](https://archive.blender.org/developer/F8287476/AdaptiveDissolve_OldSmoke.JPG) It would appear to work as one would hope in the 'old' smoke sim... Here's the blend file (2.81a not Mantaflow)- [Adaptive_Dissolve_OldSmoke.blend](https://archive.blender.org/developer/F8287480/Adaptive_Dissolve_OldSmoke.blend) Please, please, please don't kill the old smoke sim yet! It's still reliable...
Author

Just tried it in today's build- version: 2.82 (sub 6), branch: master, commit date: 2020-01-19 22:44, hash: 81b7f8efaf
Still the same.

Just tried it in today's build- version: 2.82 (sub 6), branch: master, commit date: 2020-01-19 22:44, hash: `81b7f8efaf` Still the same.
Author

Just tried it in version: 2.82 (sub 6), branch: master, commit date: 2020-01-20 22:06, hash: 902209eda5
Still the same - but noticed a new issue-
Jan20Build_ShadowIssue.png
Big ugly shadows(?) from the domain objects that don't show in the 'top orthographic' view, but do in Camera, User Perspective & Cycles render. I shall report separately.

Just tried it in version: 2.82 (sub 6), branch: master, commit date: 2020-01-20 22:06, hash: `902209eda5` Still the same - but noticed a new issue- ![Jan20Build_ShadowIssue.png](https://archive.blender.org/developer/F8291210/Jan20Build_ShadowIssue.png) Big ugly shadows(?) from the domain objects that don't show in the 'top orthographic' view, but do in Camera, User Perspective & Cycles render. I shall report separately.
Member

Added subscriber: @sebbas

Added subscriber: @sebbas
Author

Hello All, unfortunately this still happens in the Jan 23rd build-
AdaptiveDissolve_jan23Build_Viewport.JPG

Hello All, unfortunately this still happens in the Jan 23rd build- ![AdaptiveDissolve_jan23Build_Viewport.JPG](https://archive.blender.org/developer/F8299686/AdaptiveDissolve_jan23Build_Viewport.JPG)
Author

Hello, still an issue in the Feb 3rd build.
AdaptiveDissolve_Feb3-Build_Viewport.JPG

Hello, still an issue in the Feb 3rd build. ![AdaptiveDissolve_Feb3-Build_Viewport.JPG](https://archive.blender.org/developer/F8318335/AdaptiveDissolve_Feb3-Build_Viewport.JPG)
Author

Hello, still an issue in the Feb 4th build.
AdaptiveDissolve_Feb4-Build_Viewport.JPG

Hello, still an issue in the Feb 4th build. ![AdaptiveDissolve_Feb4-Build_Viewport.JPG](https://archive.blender.org/developer/F8320784/AdaptiveDissolve_Feb4-Build_Viewport.JPG)

Added subscriber: @mano-wii

Added subscriber: @mano-wii

I cannot reproduce the problem.
But I'm seeing some uncomfortable glitches.
So I will confirm it one way or the other.
smooke_glitch.gif

Operating system: Windows-10-10.0.18941 64 Bits
Graphics card: Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13559 Core Profile Context 26.20.12028.2

@marks-4, please simplify the description and make it clear what it is the "Short description of error" and what are the "Exact steps for others to reproduce the error".
Here are some tips for making a good bug report: https://wiki.blender.org/wiki/Process/Bug_Reports

I cannot reproduce the problem. But I'm seeing some uncomfortable glitches. So I will confirm it one way or the other. ![smooke_glitch.gif](https://archive.blender.org/developer/F8325438/smooke_glitch.gif) **Operating system:** Windows-10-10.0.18941 64 Bits **Graphics card:** Radeon (TM) RX 480 Graphics ATI Technologies Inc. 4.5.13559 Core Profile Context 26.20.12028.2 @marks-4, please simplify the description and make it clear what it is the "**Short description of error**" and what are the "**Exact steps for others to reproduce the error**". Here are some tips for making a good bug report: https://wiki.blender.org/wiki/Process/Bug_Reports
Author

I don't get your question really, here's a screen capture of exactly what I've shown above in still images-
2020-02-07 00-40-33.mp4

Recorded using the 4th feb build of 2.82Beta #2264590d8cc9.
Using the same scene as I've already uploaded, the left hand domain (no adaptive) shows the smoke dissolving/ending by 2 maybe 2.5 grid divisions below the X axis (after the initial plume which makes it all the way to the bottom of the domain). While in the domain on the right (with adaptive) the smoke makes it at least 4.5, if not 5 grid divisions below the X axis.

Clearly using adaptive domain either completely negates/ignores the 'dissolve' setting (same for both domains), or at best completely changes it's behaviour.
Maybe look from Top Ortho view, and look at any frame after say 50 (once the simulation has settled down), and try looking in 'look dev' (basically Eevee I'm guessing), like I show at the end of this capture.

Whatever your capture is showing, it's much worse/more than what I'm trying to report here. Maybe you have found another, different bug...

I don't get your question really, here's a screen capture of exactly what I've shown above in still images- [2020-02-07 00-40-33.mp4](https://archive.blender.org/developer/F8325497/2020-02-07_00-40-33.mp4) Recorded using the 4th feb build of 2.82Beta #2264590d8cc9. Using the same scene as I've already uploaded, the left hand domain (no adaptive) shows the smoke dissolving/ending by 2 maybe 2.5 grid divisions below the X axis (after the initial plume which makes it all the way to the bottom of the domain). While in the domain on the right (with adaptive) the smoke makes it at least 4.5, if not 5 grid divisions below the X axis. Clearly using adaptive domain either completely negates/ignores the 'dissolve' setting (same for both domains), or at best completely changes it's behaviour. Maybe look from Top Ortho view, and look at any frame after say 50 (once the simulation has settled down), and try looking in 'look dev' (basically Eevee I'm guessing), like I show at the end of this capture. Whatever your capture is showing, it's much worse/more than what I'm trying to report here. Maybe you have found another, different bug...
Author

Additionally: this still happens in the 5th Feb 2.82Beta build-
2020-02-07 01-39-38.mp4

Interestingly, when re-baking the scene in the latest version (downloaded after my previous post), I tried un-checking the 'slow' option in dissolve, to see if this illustrated the issue even more obviously: not the case at all!

I would now like to amend the initial description from: Mantaflow: Adaptive Domain breaks Dissolve, to Mantaflow: Adaptive Domain breaks Dissolve if 'slow' is checked.
As you can see in this video, both domains behave pretty much the same if dissolve is used without the 'slow' checkbox enabled.

Looking at your previous screen capture again, I'm thinking this might be the difference between Cycles viewport playback using an RX480 as opposed a GTX 1070ti (with a second GTX1070- I'd guess Blender only uses the primary card for GUI/playback, but don't know for sure)
I had a quick google, and it looks like the 1070ti vs the RX480 is a bit like a 2008 VW Golf R32 vs a 2008 Golf 1.4: not quite twice as fast 0-60 (MPH), but almost.
https://gpu.userbenchmark.com/Compare/Nvidia-GTX-1070-Ti-vs-AMD-RX-480/3943vs3634
It could be the cache disk as well: I'm using 3 striped 1TB SSDs, and get about 1.4Gb/s read & write using Blackmagic Disk Speed test, could be a factor for viewport playback as well, assuming Blender doesn't cache the whole sim to memory (don't know I must admit).

Safest just to bake both domains in the scene, and look at a static frame after about frame 50, to see the issue (with 'slow' checked in 'dissolve'- as I now know)

Additionally: this still happens in the 5th Feb 2.82Beta build- [2020-02-07 01-39-38.mp4](https://archive.blender.org/developer/F8325596/2020-02-07_01-39-38.mp4) Interestingly, when re-baking the scene in the latest version (downloaded after my previous post), I tried un-checking the 'slow' option in dissolve, to see if this illustrated the issue even more obviously: not the case at all! I would now like to amend the initial description from: **Mantaflow: Adaptive Domain breaks Dissolve**, to **Mantaflow: Adaptive Domain breaks Dissolve if 'slow' is checked**. As you can see in this video, both domains behave pretty much the same if dissolve is used ***without*** the 'slow' checkbox enabled. Looking at your previous screen capture again, I'm thinking this might be the difference between Cycles viewport playback using an RX480 as opposed a GTX 1070ti (with a second GTX1070- I'd guess Blender only uses the primary card for GUI/playback, but don't know for sure) I had a quick google, and it looks like the 1070ti vs the RX480 is a bit like a 2008 VW Golf R32 vs a 2008 Golf 1.4: not quite twice as fast 0-60 (MPH), but almost. https://gpu.userbenchmark.com/Compare/Nvidia-GTX-1070-Ti-vs-AMD-RX-480/3943vs3634 It could be the cache disk as well: I'm using 3 striped 1TB SSDs, and get about 1.4Gb/s read & write using Blackmagic Disk Speed test, could be a factor for viewport playback as well, assuming Blender doesn't cache the whole sim to memory (don't know I must admit). Safest just to bake both domains in the scene, and look at a static frame after about frame 50, to see the issue (with 'slow' checked in 'dissolve'- as I now know)

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Just a heads-up from my side: @marks-4 thanks for describing the issue so thoroughly! I will look into this again as soon as possible!

Just a heads-up from my side: @marks-4 thanks for describing the issue so thoroughly! I will look into this again as soon as possible!
Author

@sebbas Thanks! I shall be going dark until I install 2.82 release by the way (can't be arsed to download any more betas!)

@sebbas Thanks! I shall be going dark until I install 2.82 release by the way (can't be arsed to download any more betas!)
Author

Hello, this still happens in the 2.82 release build-
AdaptiveDissolve_2.82-Release.JPG

@sebbas here's a question: I'm assuming the 2.82 release build is effectively static, if this is the case- is there any way of knowing when the 2.83 alpha/beta build has been changed WRT Mantaflow?
Purely to know when it's worth downloading and trying for Mantaflow bugs, and not just randomly downloading the next newer build... (I am in Sydney and the internet out here is relatively bronze-age compared to most of the planet!)
(And I am English, so I'm supposed to moan about stuff in Aus as well)

Hello, this still happens in the 2.82 release build- ![AdaptiveDissolve_2.82-Release.JPG](https://archive.blender.org/developer/F8342499/AdaptiveDissolve_2.82-Release.JPG) @sebbas here's a question: I'm assuming the 2.82 release build is effectively static, if this is the case- is there any way of knowing when the 2.83 alpha/beta build has been changed WRT Mantaflow? Purely to know when it's worth downloading and trying for Mantaflow bugs, and not just randomly downloading the next newer build... (I am in Sydney and the internet out here is relatively bronze-age compared to most of the planet!) (And I am English, so I'm supposed to moan about stuff in Aus as well)
Mark Spink changed title from Mantaflow: Adaptive Domain breaks Dissolve to Mantaflow: Adaptive Domain breaks Dissolve if 'slow' is checked 2020-02-16 01:03:34 +01:00
Author

Hello, still happens in the 18th Feb build of 2.83alpha-
AdaptiveDisolve_18FebBuild.JPG

Hello, still happens in the 18th Feb build of 2.83alpha- ![AdaptiveDisolve_18FebBuild.JPG](https://archive.blender.org/developer/F8349884/AdaptiveDisolve_18FebBuild.JPG)
Author

Hello, this still happens in the Feb21 build-
AdaptiveDisolve_21FebBuild.JPG

I also get a lot (most times I try in fact) of crash-on-load crashes in this build, trying to load previous build Mantaflow scenes. I had to append all the objects into a new scene to actually load the scene in #74062, I could not load the scene without an instant crash. It loaded fine into the previous build.

Hello, this still happens in the Feb21 build- ![AdaptiveDisolve_21FebBuild.JPG](https://archive.blender.org/developer/F8363613/AdaptiveDisolve_21FebBuild.JPG) I also get a lot (most times I try in fact) of crash-on-load crashes in this build, trying to load previous build Mantaflow scenes. I had to append all the objects into a new scene to actually load the scene in #74062, I could not load the scene without an instant crash. It loaded fine into the previous build.
Author

Hello, it looks like this might be fixed in the March 2nd build, but with a load of 'new' issues...

2020-03-03 11-37-03.mp4

This scene crashed blender 2 or 3 times before I could successfully re-bake both domains & playback. First crash was during playback after re-baking both, got about 2/3 down the timeline after hitting 'space' and blender completely disappeared. Second crash when I hit 'free data' on the adaptive domain: blender completely disappeared. The other crash was on playback again.

Also notice the big holes in the smoke both in perspective and camera views on several frames, and the fact that the smoke seems to be shifted up in Z from the actual emitters in both domains. Neither of these issues happened in previous builds that I noticed.

Hello, it looks like this might be fixed in the March 2nd build, but with a load of 'new' issues... [2020-03-03 11-37-03.mp4](https://archive.blender.org/developer/F8384321/2020-03-03_11-37-03.mp4) This scene crashed blender 2 or 3 times before I could successfully re-bake both domains & playback. First crash was during playback after re-baking both, got about 2/3 down the timeline after hitting 'space' and blender completely disappeared. Second crash when I hit 'free data' on the adaptive domain: blender completely disappeared. The other crash was on playback again. Also notice the big holes in the smoke both in perspective and camera views on several frames, and the fact that the smoke seems to be shifted up in Z from the actual emitters in both domains. Neither of these issues happened in previous builds that I noticed.

Mantaflow (fluid simulator) has no active developer at the moment. Moving those bugs as known issues so at least other users can find their issues already reported.

Mantaflow (fluid simulator) has no active developer at the moment. Moving those bugs as known issues so at least other users can find their issues already reported.
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:47:07 +01:00
Sign in to join this conversation.
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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#73232
No description provided.