Question about shifting correction and density diffusion

Hello!

I was going through the source code and there is a part that I am not quite clear on. Please correct me if I am wrong.

When calculating interaction between fluid/float-bound, density diffusion and shifting correction is applied on all particles, so the neighbor boundary or floating particle information would enter into calculation as "p2" neighbor elements.

Whereas when calculating interaction of boundaries with fluid particles (InteractionForcesBound), neither shifting nor density diffusion is applied.

So then basically, these two terms act only on fluid particles since the relative distance between solid particles do not change during the simulation. Is this correct or am I missing something?


Regards.

Sign In or Register to comment.