Shape optimization is of great significance in structural engineering, as an efficient geometry leads to better performance of structures. However, the application of gradient-based shape optimization for structural and architectural design is limited, which is partly due to the difficulty and the complexity in gradient evaluation. In this work, an efficient framework based on automatic differentiation (AD), the adjoint method and accelerated linear algebra (XLA) is proposed to promote the implementation of gradient-based shape optimization. The framework is realized by the implementation of the high-performance computing (HPC) library JAX. We leverage AD for gradient evaluation in the sensitivity analysis stage. Compared to numerical differentiation, AD is more accurate; compared to analytical and symbolic differentiation, AD is more efficient and easier to apply. In addition, the adjoint method is used to reduce the complexity of computation of the sensitivity. The XLA feature is exploited by an efficient programming architecture that we proposed, which can boost gradient evaluation. The proposed framework also supports hardware acceleration such as GPUs. The framework is applied to the form finding of arches and different free-form gridshells: gridshell inspired by Mannheim Multihalle, four-point supported gridshell, and canopy-like structures. Two geometric descriptive methods are used: non-parametric and parametric description via B\'ezier surface. Non-constrained and constrained shape optimization problems are considered, where the former is solved by gradient descent and the latter is solved by sequential quadratic programming (SQP). Through these examples, the proposed framework is shown to be able to provide structural engineers with a more efficient tool for shape optimization, enabling better design for the built environment.
翻译:形状优化在结构工程中具有重大意义,因为高效的几何测量导致结构的更好性能。然而,在结构和建筑设计中,基于梯度的形状优化应用有限,其部分原因是梯度评估的困难和复杂性。在这项工作中,提议了一个基于自动差异化(AD)、联合方法和加速线性代数(XLA)的有效框架,以促进实施基于梯度的形状优化。通过实施高性能计算(HPC)图书馆的直径计算(JAX)实现该框架。我们在敏感度分析阶段利用AD进行梯度评估。与数字差异相比,AD更准确;与分析和象征差异相比,AD更有效和更便于应用。此外,还利用了基于自动差异化(ADAD)、联合方法和加速法(ADA)、联合方法和加速法(XLA)的快速化(XLA)框架还支持像GPUS这样的硬件加速度。这个框架用于在感敏度分析阶段中查找精度和不同的自由成型电表:由Manshel平面多度、多面结构显示的梯度的梯度结构,这些结构显示为平面结构的电压结构,这些结构是用来解决的平面结构的。这些结构的基质平面结构,这些结构是用来解决的。这些结构的平面结构的。这些结构,这些结构是前平面结构的平面结构,这些结构的平面结构,这些结构,这些结构,这些结构的平面的平面结构的平面结构,这些结构的平面结构是用来用来用来去的。