DualSPHysics / DesignSPHysics

Module for FreeCAD intended to use with DualSPHysics fluid simulator.
Other
113 stars 40 forks source link

how to fix the error? #128

Closed gmcmtan closed 1 year ago

gmcmtan commented 1 year ago

error I follow the tutorial to simulate the floating sphere. If I set the density of sphere to be less than 1000 Kg/m3, say 950, I will receive the error shown in the photo. And if I set the density to be greater than 1000, the simulation can be finished properly.

imestevez commented 1 year ago

This happens because there are particles of the floating object that leave the domain due to their buoyancy when the density is less than 1000. You can define a larger domain in the +Z direction. In cases where the density of the object is greater than the fluid, the sphere is submerged and therefore, it does not leave the domain.