how to perform analysis on lap joint flange with stub end in ansy's?

what is the most common feature in ansy's which help in calculating residual stress?