arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.22131cs.CE
收藏

PyTOPress:用于处理设计相关压力载荷的拓扑优化 Python 代码

PyTOPress: Python code for topology optimization with design-dependent pressure loads

Shivajay Saxena, Swagatam Islam Sarkar, Prabhat Kumar

AI总结:

本文提出用于结构拓扑优化的教学型 Python 代码 PyTOPress,基于 Darcy 定律建模设计相关流体压力载荷,利用伴随变量法高效计算载荷灵敏度,并通过移动渐近线法在体积约束下最小化柔顺度求解优化问题。

摘要:

Python 是 MATLAB 编程语言的低成本开源替代品。本文提出了“PyTOPress”,这是一个面向教学目的的紧凑型 Python 代码,用于处理承受设计相关流体压力载荷的结构拓扑优化。PyTOPress 基于“TOPress” MATLAB 代码构建,使用 NumPy 和 SciPy 库开发。施加的压力载荷使用 Darcy 定律并结合概念化的排水项进行建模。从获得的压力场中,可以求得恒定的节点载荷。所采用的方法使得利用伴随变量法以低成本计算载荷灵敏度变得更加容易。本文通过在材料体积约束下最小化结构的柔顺度来求解拓扑优化问题。采用移动渐近线法更新设计变量。通过优化几个设计相关承压问题,展示了 PyTOPress 代码的有效性和成功。该代码可在 https://github.com/PrabhatIn/PyTOPress 免费获取。

英文摘要:

Python is a low-cost and open-source substitute for the MATLAB programming language. This paper presents ``\texttt{PyTOPress}", a compact Python code meant for pedagogical purposes for topology optimization for structures subjected to design-dependent fluidic pressure loads. \texttt{PyTOPress}, based on the ``\texttt{TOPress}" MATLAB code \cite{kumar2023topress}, is built using the \texttt{NumPy} and \texttt{SciPy} libraries. The applied pressure load is modeled using the Darcy law with the conceptualized drainage term. From the obtained pressure field, the constant nodal loads are found. The employed method makes it easier to compute the load sensitivity using the adjoint-variable method at a low cost. The topology optimization problems are solved herein by minimizing the compliance of the structure with a constraint on material volume. The method of moving asymptotes is employed to update the design variables. The effectiveness and success of \texttt{PyTOPress} code are demonstrated by optimizing a few design-dependent pressure loadbearing problems. The code is freely available at https://github.com/PrabhatIn/PyTOPress.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑