Fluid: Outflow geometry is not working #75758
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#75758
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: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2080 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.66
Blender Version
Broken: version: 2.83 (sub 13), branch: master, commit date: 2020-04-13 17:13, hash:
ad317a5ffd
Worked: 2.82
Short description of error
The outflow geometry does not seem to be working.
I quickly debug the code (commit
2ec6eca518
).Then, I have found, if I comment out the following two lines in fluid.c, it seems to work.
line 2748
line 2944
Exact steps for others to reproduce the error
Open the attached file and bake fluid. You will see that the outflow geometry is ignored.
outflow_test2.blend
I hope this helps. Please let me know anytime if you have questions.
Thank you!
Yusuke
Added subscriber: @yiusay
Maybe the problem is phiout_in is initialized to PHI_MAX every frame (line 2879) while the value is set only in the first frame when the outflow object is static and does not have velocity.
Added subscriber: @ankitm
Changed status from 'Needs Triage' to: 'Confirmed'
You may please ready a patch & submit it at https://developer.blender.org/differential/diff/create/
Added subscribers: @sebbas, @lichtwerk
CC @sebbas
Dare setting this to High...
Submitted a quick fix here.
https://developer.blender.org/D7451
Although I am new to blender development, I believe this fix should not be a fundamental solution for this problem since accelerating fluid baking by taking advantage of the static objects seems to be one of the features in 2.83 release. But I am happy if this helps in some way.
Added subscriber: @jesterking
@sebbas is this not something that could have been fixed for 2.83 too?
@jesterking Yes you're right, that's a fix for 2.83 too. When I committed this yesterday I noticed that the fluid commits from last Wednesday weren't in the release branch and so I just quickly committed to master.
WIll cherry-pick them later, there shouldn't be any problems with tags, right?
@sebbas should be fine. Just remember to merge back into master and handle the conflict. I will retag the issues for you.
Changed status from 'Confirmed' to: 'Resolved'
This should be fixed starting
cdc399a055
. So closing this report.Also, since the obstacle in the example file is not a closed mesh, I recommend enabling the "Is Planar" option.
@Sebastián Barschkis (sebbas)
It is working now. Thank you!
That's good to know, thanks for reporting!