arXiv:2504.05604cs.GRcs.CV2025-04被引 2

开源3D拓扑优化框架,让Python用户轻松实现工程设计优化

PyTopo3D: A Python Framework for 3D SIMP-based Topology Optimization

  • 基于SIMP方法与OC更新策略,适配Python环境
  • 支持STL导入导出、3D可视化与并行加速计算
  • 适合工程设计、教学科研中需快速迭代的3D优化场景

三维拓扑优化(TO)是工程设计中的强大工具,但现有在主流Python科学计算环境中易用的开源实现仍有限。本文提出PyTopo3D,一个面向3D TO的软件框架,集成成熟的固相各向同性材料惩罚(SIMP)方法与最优性准则(OC)更新方案,源自刘和托瓦尔(2014)的高效MATLAB代码,并在Python中进行了显著扩展。该框架利用稀疏矩阵运算、可选并行求解器及加速的KD-Tree敏感性滤波以提升性能。关键功能包括:通过STL文件直接导入复杂设计域与非设计障碍物;集成3D可视化实时观察优化过程;直接导出优化后的几何体为STL格式以用于制造或后续分析。PyTopo3D旨在作为一款易用、高性能且可引用的工具,助力工程师、学生与研究人员在现有Python工作流中更便捷地应用3D TO。

原文摘要 · Abstract (English)

Three-dimensional topology optimization (TO) is a powerful technique in engineering design, but readily usable, open-source implementations remain limited within the popular Python scientific environment. This paper introduces PyTopo3D, a software framework developed to address this gap. PyTopo3D provides a feature-rich tool for 3D TO by implementing the well-established Solid Isotropic Material with Penalization (SIMP) method and an Optimality Criteria (OC) update scheme, adapted and significantly enhanced from the efficient MATLAB code by Liu and Tovar (2014). While building on proven methodology, PyTopo3D's primary contribution is its integration and extension within Python, leveraging sparse matrix operations, optional parallel solvers, and accelerated KD-Tree sensitivity filtering for performance. Crucially, it incorporates functionalities vital for practical engineering workflows, including the direct import of complex design domains and non-design obstacles via STL files, integrated 3D visualization of the optimization process, and direct STL export of optimized geometries for manufacturing or further analysis. PyTopo3D is presented as an accessible, performance-aware tool and citable reference designed to empower engineers, students, and researchers to more easily utilize 3D TO within their existing Python-based workflows.

拓扑优化Python框架3D设计工程计算

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。