Compute strain energy density u = σ²/(2E) from stress and elastic modulus for energy storage and fatigue analysis.
输入应力 σ 与弹性模量 E,求单位体积应变能。