Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Banding artifacts against gradual sloping obstacles #1

Open
rlguy opened this issue Jan 26, 2018 · 15 comments
Open

Banding artifacts against gradual sloping obstacles #1

rlguy opened this issue Jan 26, 2018 · 15 comments
Assignees
Labels

Comments

@rlguy
Copy link
Owner

rlguy commented Jan 26, 2018

  • CPU: Intel i7 7700
  • RAM: 32 GB
  • GPU: GTX 1070, 8 GB
  • OS: Windows 8.1
  • Blender Version: 2.79
  • Addon Version: 0.1.1

A banding effect can be seen in the fluid particles when a thin layer of fluid is sliding down a gradual sloping obstacle.

artifact_grouping

Example .blend file:
https://www.dropbox.com/s/a9om9oimpbiii0a/gradual_slope_banding_artifacts.blend?dl=0

Note: this issue is about simulation banding artifacts rather than mesh banding artifacts. Simulation banding artifacts cause particles to group and align to the grid. A fix for mesh banding artifacts can be found here: https://github.com/rlguy/Blender-FLIP-Fluids/wiki/Scene-Troubleshooting#mesh-banding-artifacts-against-curved-obstacles

@rlguy rlguy added the bug label Jan 26, 2018
@rlguy rlguy self-assigned this Jan 26, 2018
@EverSimo

This comment has been minimized.

@rlguy

This comment has been minimized.

@EverSimo

This comment has been minimized.

@niklassjogren

This comment has been minimized.

@rlguy

This comment has been minimized.

@grantwilk
Copy link

image
Seeing similar issues in my wave simulations. Hoping this issue hasn't been forgotten :)

@rlguy
Copy link
Owner Author

rlguy commented Apr 12, 2018

This issue haunts me and I can assure you it has not been forgotten! I spent a few hours earlier this week to try a few things, but did not find a solution. I've come to the conclusion that I should build some debugging tools to better visualise/understand what could be causing this issue whether it be a bug or flaw in the simulation method. I've actually planned to devote the entire week of April 23rd - 27th to work on this if needed!

@enzyme69

This comment has been minimized.

@rlguy

This comment has been minimized.

@PavelBlend

This comment has been minimized.

@rlguy

This comment has been minimized.

@zx-82
Copy link

zx-82 commented Oct 30, 2021

Any updates on this ?
I am developping my own fluid simulator and am confronted with the same issue. I suspect that it is related to the "small cell" problem (common to all cut cell based liquid solvers) because along a gradual slope there will be cells (fractions) that only contain an arbitrary tiny amount of fluid. In engineering CFD codes this problem is addressed by merging "tiny cells" with neighboring cells. While solvers used in computer graphics seem to rely on Bridson's simple "clamping trick". But this will also leave some residual "stair casing", I'm afraid.

@rlguy
Copy link
Owner Author

rlguy commented Nov 1, 2021

There is no update on this issue and it has been at least two years since I have had a chance to look further into the problem. The "small cell" problem sounds like a good lead for something to look into for this issue. Thank you for the tip, but I am sorry to say that I do not have any advice at the moment.

Good luck with your fluid simulator development!

@zx-82
Copy link

zx-82 commented Nov 2, 2021 via email

@PavelBlend
Copy link

@rlguy I turned on the enable obstacle debugging option and saw that the stripes are located near the small polygons:
0
1
2
3

This becomes even more noticeable if you create an obstacle with very small polygons.
222
3333

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants