Simply fix one end with all degrees of freedom. However, his question
is tricky if you are using solid elements. Due to the poison ratio you
may get a singularity right by the contraints. Therefore, stresses are
not good at the end where the contraints are apply but any stress away
from this location should be fairly good. Displacements, should be good
everywhere along the length. If you are using shell or beam
elements this problem goes away.
Luis