Reply To: Problems of Resolved Particles with Periodic Boundary
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 › Problems of Resolved Particles with Periodic Boundary › Reply To: Problems of Resolved Particles with Periodic Boundary
January 16, 2025 at 11:01 am
#9765
Christoph
Moderator
Hello Rookie,
You can put the top and bottom boundaries by defining an Indicator for each of them and then assigning the wall material number to them. For the bottom this could be implemented like this:
Vector<T,3> originBottom (0,0,0); //change if the origin is not the bottom point in your domain
Vector<T,3> extendBottom (lengthX, 1.5*converter.getPhysDeltaX, lengthZ);
IndicatorCuboid3D<T> bottomWall( extendBottom,originBottom );
superGeometry.rename( 0,2,bottomWall);
and similar for the top, only the origin has to be modified.
Best regards,
Christoph
