Reply To: BounceBack boundary
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › BounceBack boundary › Reply To: BounceBack boundary
August 23, 2023 at 2:57 am
#7704
Mike
Participant
Sorry, I answered too fast and has used up my modified limit…
your idea seems different from what I thought before, yours in code is:
cell.neighbor(descriptors::c<DESCRIPTOR>(unknownIndexes[i]))[util::opposite<DESCRIPTOR>(unknownIndexes[i])] = cell[unknownIndexes[i]];
am I right?
I will change code and see if the result is fine. Thank you and sorry to bother again…