Optimization time integrators have proven to be effective at solving complex multi-physics problems, such as deformation of solids with non-linear material models, contact with friction, strain limiting, etc. For challenging problems with high accuracy requirements, Newton-type optimizers are often used. This necessitates first- and second-order derivatives of the global non-linear objective function. Manually differentiating, implementing and optimizing the resulting code is extremely time-consuming, error-prone, and precludes quick changes to the model. We present SymX, a framework based on symbolic expressions that computes the first and second derivatives by symbolic differentiation, generates efficient vectorized source code, compiles it on-the-fly, and performs the global assembly of element contributions in parallel. The user only has to provide the symbolic expression of an energy function for a single element in the discretization and our system will determine the assembled derivatives for the whole model. SymX is designed to be an integral part of a simulation system and can easily be integrated into existing ones. We demonstrate the versatility of our framework in various complex simulations showing different non-linear materials, higher-order finite elements, rigid body systems, adaptive cloth, frictional contact, and coupling multiple interacting physical systems. Moreover, we compare our method with alternative approaches and show that SymX is significantly faster than a current state-or-the-art framework (up to two orders of magnitude for a higher-order FEM simulation).
翻译:优化时间整合器已证明能够有效地解决复杂的多级模拟问题,例如用非线性材料模型对固体进行变形、接触摩擦、限制压力等,使固体与非线性材料模型对固体进行变形、接触摩擦、限制压力等等。对于精度要求高的挑战性问题,经常使用牛顿型优化器。这就需要全球非线性目标功能的一等和二阶衍生物,这需要全球非线性目标功能的一等和二阶衍生物。手工区分、实施和优化所产生的代码非常耗时、容易出错,无法迅速改变模型。我们介绍SymX,这是一个基于象征性差异对第一和第二衍生物进行高一级和高一级衍生物进行合成的象征性表达的框架,生成高效的矢量源代码,在飞行时进行汇编,同时进行元素贡献的全球组合。用户只需为离散的单个元素提供能源功能的象征表示,而我们的系统将决定整个模型的组装衍生物。 SymX旨在成为模拟系统的一个不可分割的组成部分,并且容易与现有模型融合。我们展示了我们框架的替代性框架在各种复杂的模拟模拟模拟模拟而不是模拟中,并展示了各种僵化、升级的纤维化材料、升级的系统、升级的系统、我们之间的系统、我们对等式系统对等式的系统对等式、我们之间的系统对等式系统对等式、我们之间的系统对等式系统对等。</s>