There is a general method, that allows to constrain a solid body to prevent unlimited movement, but also without limiting it's deformation/expansion.
Take 3 nodes/points in one plane on the body. Make sure you have a coordinate system that is aligned with that plane.
Use the first node to remove all 3 translations with a BC. All movement will now happen around this point. Only the 3 rotations around that node are still unlimited.
Take the second node and constrain two translations and the third node with one translations. It's hard to explain what translations you have to fix, but I think you can see were this is going and what you need to do.
Edit: Ok, the link above explains it.