SPlisHSPlasH icon indicating copy to clipboard operation
SPlisHSPlasH copied to clipboard

using boundary handling method

Open hosseinrezaa opened this issue 4 years ago • 10 comments

Hi I am using Bender et al boundary handling method. There are some fluid particles (blue particles) that are crossing between ice floes. I input ice floes with object files. But it seems that fluid particles cannot see the ice floes properly and pass through the ice floes. But this problem will not happen when I use Acinci et al 2012.

What is the problem?

Regards

image

hosseinrezaa avatar Oct 12 '21 16:10 hosseinrezaa

Are the meshes of the ice floes volumetric meshes and are they closed? Do you have one OBJ per ice floe? Did you use an adequate resolution?

janbender avatar Oct 13 '21 08:10 janbender

The object file is one file that has information of the ice floes. We give them the information of the vertices and normal vectors t each surface.

hosseinrezaa avatar Oct 13 '21 08:10 hosseinrezaa

I attached my obj fil IceField (1).zip e

hosseinrezaa avatar Oct 13 '21 09:10 hosseinrezaa

Hm, typically we have one mesh per OBJ file since this is seen as single object. Does the simulator complain about a mesh which is not closed? Even if this is not the case, the problem could be that you need a quite high resolution of the volume grid to capture all these quite thin objects correctly. I would recommend to test it with a mesh for a single ice floe.

janbender avatar Oct 13 '21 14:10 janbender

There is no complaint about the closing of the mesh. Is there any example about mesh files? I can see the OBJ files but I cannot see anything about the mesh in samples included with splishsplash.

hosseinrezaa avatar Oct 15 '21 09:10 hosseinrezaa

Yes, e.g. DamBreakModelDragons.json.

janbender avatar Oct 15 '21 10:10 janbender

When I increase the resolution, it is going to be better and particles recognize the solid body better but there is a warning that says that 'mesh not closed'

hosseinrezaa avatar Oct 15 '21 12:10 hosseinrezaa

Yes, because the volume map computation expects one closed mesh per object but you have multiple meshes in one file,

janbender avatar Oct 19 '21 06:10 janbender

There is a problem when I am trying to run the program. It seems that there is an obstacle in front of fluid particles and eventually some fluid particles are going to be collapsed. I sent the video to your email because it was not possible to send it here.

hosseinrezaa avatar Oct 28 '21 10:10 hosseinrezaa

Maybe try to delete the cache and run it again.

janbender avatar Oct 28 '21 10:10 janbender