Residual stress at castellated beams

Hello,

Is there any way to apply residual stress at castellated beams (initial internal stress in static equilibrium that cause no strain at the members) ?

Thank you in advance.

i guess you can reduce axial & flexural stiffenss to 80%