Reply To: 3d droplet impact
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › 3d droplet impact › Reply To: 3d droplet impact
June 22, 2022 at 3:41 pm
#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).