How to output solids stress in TFM

Hi friends,

How can we output solids stress in TFM? I know we should output using “reactionrates”. However, I am not clear which udf should we start from? Thank you very much.