Skip to content

Reply To: 3d droplet impact

Due to recent bot attacks we have chanced the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

Forums on OpenLB General Topics 3d droplet impact Reply To: 3d droplet impact

#6672
Adrian
Keymaster

For the cylinder2d example the most relevant line is 91:


  superGeometry.rename( 1,5, circle );

This changes the fluid cells overlapped by the given circle indicator to 5. In prepareLattice cells of material 5 are then handled by either plain or interpolated bounce back. If you want to exchange the circle with another obstacle geometry, you only need to change the circle indicator to some other indicator class (e.g. IndicatorCuboid2D for a rectangular shape).