Skip to content

Reply To: Moving wall

#6050
Adrian
Keymaster

w.r.t. setBounceBackVelocityBoundary: You should not need to include any files beyond the olb(2,3).h(h) headers. I can’t tell you more without seeing the code.

w.r.t. Bouzidi: Exactly, try increasing or decreasing the resolution by single cells. If this doesn’t help we’ll have to look more closely at your indicator / geometry setup. As per your second comment this is a cuboid and explains the problem, especially if the cuboid boundaries align exactly with cell locations.

w.r.t. particles: You can check out e.g. the particles/dkt2d example. There circles are used but HLBM supports arbitrary shaped particles (and depending on what you want to model using a moving wall you could consider the moving wall as a particle).