sebbas / blender-mantaflow

Mantaflow integration in Blender
https://developer.blender.org/diffusion/B/browse/fluid-mantaflow/
Other
100 stars 12 forks source link

Viscosity crashes Blender #15

Open avmd45 opened 6 years ago

avmd45 commented 6 years ago

Hi.

I'd like to report an issue regarding the Viscosity Settings in BlenderMantaflow. For some reason every time I set the Base to 10,000 and the exponent to 0, Blender crashes. Geometry Fluid Objects also don't work for me. At first I thought it was because of my rather old Computer, but now I got a pretty good one (Ryzen 1700X and GTX 1060) and the problems still occur. It would be very nice, if those issues were fixed.

sebbas commented 6 years ago

Hi, thanks for submitting this issue!

1) Regarding the viscosity crash: Can you run Blender from the command line and post the crash log? Would be interesting to see where it crashes for you. I just made sure that there are no illegal multiplications / divisions when parsing the base and exponent but it looks fine.

I could imagine though that Blender crashes because of the value it self: 10,000*10^(-0) = 10,000. That is a very high value for the kinematic viscosity and might cause a crash (i.e. velocity grid explodes in pressure solve). In the future I will restrict such values through the UI, but that will be one of the last integration steps.

2) What exactly doesn't work with geometry fluid objects?