Skip to content

Reply To: IndicatorLayer2D usage

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum please send a message via our contact form.

Forums OpenLB General Topics IndicatorLayer2D usage Reply To: IndicatorLayer2D usage

#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