How to confine a mesh within a bigger mesh?

I want create a boundary condition for a small mesh that will stay confined within a bigger mesh when moved. The bigger mesh will be hidden but I want to use it as a boundary for the smaller mesh.
Any idea??

Welcome aboard!

I think enabling collisions would work for you:

1 Like