layout_constrained_stress3D function

constrained stress layout in 3D