How would you do it in real life? Just replicate that in simulation.
A moment load on one end and fixed on the other is a good start.
Or model a beam perpendicular to the axis on one end and fix the other end. Add a force to your moment arm to do the analysis.
The other option is to use prescribed displacement to rotate the part and then find out how much force it took to rotate it.