Skip to content

Reply To: BounceBackVelocity

Due to recent bot attacks we have changed 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 OpenLB General Topics BounceBackVelocity Reply To: BounceBackVelocity

#6072
Adrian
Keymaster

I am not sure what you want to accomplish.

Is it simply using the existing Bounce Back Velocity boundary in a simulation?
If so you do not need to implement a getBounceBackVelocity function (?) by yourself, instead call e.g.:


setBounceBackVelocityBoundary(superGeometry, 3, omega, sLattice);
sLattice.defineU(superGeometry, 3, uTop);

in your boundary setup (replace 3 by the material number of your desired bounce back velocity boundary).