I have a tube with a square female hole. A male square block fits into this female. The male spins about its center axis and thus produces a torque on the female and spins the tube. The tube is not fixed at any end and rotates. I want to know how to use simulation to simulate this problem? Thank you all for the help.