Reply To: IndicatorLayer2D usage
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › IndicatorLayer2D usage › Reply To: IndicatorLayer2D usage
October 30, 2020 at 8:12 pm
#5260
mathias
Keymaster
Dear Julius,
the idea with the ramp may work. You may implement a set function to change the density at a bounce back node. I would go for that idea. The other one you can use the rename functions from superGeometry to introduce a layer with a new material, lets say 43:
– rename(1,42,1,1,1) renames the inner 1 to 42
– rename(1,43) renaes the remainding layer with material 1 to 43
– rename(42,1) renames the inner 42 back to 1
Best
Mathias