Reply To: Using addWallFunctionBoundary
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Using addWallFunctionBoundary › Reply To: Using addWallFunctionBoundary
October 30, 2020 at 12:39 pm
#5258
Marc
Participant
Hey Vinh,
please look carefully at the error message again:
You get the error for the following code line:
fneq_bc[normalInwardsIndices[fIndex]] = fneq_bc[util::opposite(normalInwardsIndices[fIndex])];
I told you to replace it by
fneq_bc[normalInwardsIndices[fIndex]] = fneq_bc[util::opposite<DESCRIPTOR>(normalInwardsIndices[fIndex])];
Could it be that you leave the template argument <DESCRIPTOR>, which causes the error? In some weeks we will have a new release with a working example of the turbulent channel flow.
Best Marc