Strain

Dear all
How to apply a strain to a structure and calclute the stress?