espresso icon indicating copy to clipboard operation
espresso copied to clipboard

Replace Stokes sphere test

Open RudolfWeeber opened this issue 5 years ago • 5 comments

The force on the sphere should be determined by a surface integral involving the surface normal and the stress around the sphere. The consistency of that would be sufficient to show the correctnes of the boundary force

RudolfWeeber avatar Apr 09 '19 12:04 RudolfWeeber

to me it's not clear how to do this. the stress is not known at the "surface" of the sphere, since this surface is not located at a LB node in general. Therefore we would have to extrapolate the stress which is not implemented. Am I missing something here? maybe @mkuron knows?

KaiSzuttor avatar Jul 24 '19 08:07 KaiSzuttor

I think you should be able to calculate fluid stress times normal on all surfaces between fluid and boundary cells, sum that up, and divide by 1.5 to account for the different surface areas of spheres in the L2 and L1 metric. That will give you a slightly larger effective sphere though because you can't interpolate stress between fluid and boundary cells.

mkuron avatar Jul 24 '19 09:07 mkuron

I think you should be able to calculate fluid stress times normal on all surfaces between fluid and boundary cells

How exactly can I calculate this fluid stress? I only know it on the nodes that are closest to the boundary node.

divide by 1.5 to account for the different surface areas of spheres in the L2 and L1 metric

What do you mean by that?

That will give you a slightly larger effective sphere though because you can't interpolate stress between fluid and boundary cells

Is it possible to estimate the error we would have with this calculation? If not, we can't use it for a test.

KaiSzuttor avatar Jul 24 '19 09:07 KaiSzuttor

I only know it on the nodes that are closest to the boundary node.

That will have to suffice.

Is it possible to estimate the error we would have with this calculation?

It's probably a factor of (R+0.5)/R as Stokes friction is linear in R.

What do you mean by that?

An infinitely large discrete sphere has 1.5 times the surface area of an actual sphere. That may need to be accounted for when you perform the surface integral for the discrete sphere.

mkuron avatar Jul 24 '19 10:07 mkuron

i once looked in to that and it did not work out

KaiSzuttor avatar Aug 03 '20 08:08 KaiSzuttor