This paper presents an efficient and compact MATLAB code for three-dimensional stress-based sensitivity analysis. The 146 lines code includes the finite element analysis and p-norm stress sensitivity analysis based on the adjoint method. The 3D sensitivity analysis for p-norm global stress measure is derived and explained in detail accompanied by corresponding MATLAB code. The correctness of the analytical sensitivity is verified by comparison with finite difference approximation. The nonlinear optimization solver is chosen as the Method of moving asymptotes (MMA). Three typical volume-constrained stress minimization problems are presented to verify the effectiveness of sensitivity analysis code. The MATLAB code presented in this paper can be extended to resolve different stress related 3D topology optimization problems. The complete program for sensitivity analysis is given in the Appendix and is intended for educational purposes only.
翻译:本文件为三维压力敏感度分析提供了一个高效和紧凑的 MATLAB 代码。146行代码包括基于联合方法的有限元素分析和p-centrum应激反应敏感度分析。P-centrum全球应激措施的3D敏感度分析是用相应的 MATLAB 代码来得出和详细解释的。分析灵敏度的正确性通过与有限差异近似值的比较加以核实。非线性优化求解器被选为移动无反应物的方法(MMA)。提出了三个典型的量限制压力最小化问题,以核实敏感度分析代码的有效性。本文件提出的MATLAB 代码可以扩展,以解决与3D表层优化有关的不同压力问题。完整的敏感度分析方案在附录中列出,仅用于教育目的。