I’m interested in modifying the multiComponent2D example by adding a Poiseuille velocity/pressure profile as the inlet/outlet boundary condition on the upper layer. I’m new to LB and unfortunately C++ and the best way I saw to go about accomplishing this was to add D2Q9Descriptor to the existing rayleighTaylor.cpp code so I could have access to the addVelocity(Pressure)BoundaryXX(*) functions. I then made, as far as I can see, the necessary modifications to the iniGeometry() function and function calls. When I compile I get the following error:
olb::OnLatticeBoundaryCondition2D<T, olb::descriptors::ForcedShanChenD2Q9Descriptor>*' toolb::OnLatticeBoundaryCondition2D<T, olb::descriptors::D2Q9Descriptor>*’ in initialization
Does anyone have any insight as to what might be going on? Also, what needs to be converted?