Neurally Integrated Finite Elements for Differentiable Elasticity on Evolving Domains
간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (3) 자동차 인테리어 소재(4) 카시트 모듈
기본 정보
- 저자
- DOI
- 10.1145/3727874
- 저널
- ACM Transactions on Graphics
- 발행년도
- 2025
- 발행기관
- Association for Computing Machinery
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1145/3727874
- 토픽
- Composite Structure Analysis and Optimization
- OpenAlex ID
- W4409087605
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 엔지니어링 플라스틱 · (23) 컴파운드
- 부 분야
- (3) 자동차 인테리어 소재, (4) 카시트 모듈
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- differentiable elasticity simulator, topology optimization, material properties optimization, Mixed Finite Element method, physical simulation
- 판단 근거
- 본 논문은 형상, 위상 및 재료 물성을 동시에 최적화할 수 있는 미분 가능한 탄성 시뮬레이션 기술을 다룹니다. 이는 코오롱인더스트리의 엔지니어링 플라스틱 컴파운드 설계나 자동차 부품(카시트, 인테리어)의 구조적 최적화 및 물성 예측 모델링에 응용될 수 있는 수치 해석 방법론입니다.
- R&D 활용 포인트
- 컴파운드 소재의 배합 비율에 따른 기계적 물성 변화를 예측하거나, 자동차 내장재 및 모듈 설계 시 경량화와 강성을 동시에 만족하는 최적의 위상(Topology)을 설계하는 시뮬레이션 도구로 활용 가능합니다.
- 평가 입력
- 본문 108,824자 중 30,032자 발췌
초록
본문 108,824자
본문 펼치기
섹션 본문 124문단 · 66,652자
(제목 없음)
1Embedded FEM Image-Guided Topology Optimization Material Optimization via Differentiable RenderingFig.1.Our neurally integrated, high-order mixed finite element solver (left) can accurately simulate evolving implicit geometry (including sub-grid features).It is end-to-end differentiable and can be easily combined with other differentiable tools to enable new applications such as image-guided material, shape and topology optimization (top, bottom).We present an elastic simulator for domains defined as evolving implicit functions, which is efficient, robust, and differentiable with respect to both shape and material.This simulator is motivated by applications in 3D reconstruction: it is increasingly effective to recover geometry from observed images as implicit functions, but physical applications require accurately simulating and optimizing-for the behavior of such shapes under deformation, which has remained challenging.Our key technical innovation is to train a small neural network to fit quadrature points for robust numerical integration on implicit grid cells.When coupled with a Mixed Finite Element formulation, this yields a smooth, fully differentiable simulation model connecting the evolution of the underlying implicit surface to its elastic response.We demonstrate the efficacy of our approach on forward simulation of implicits, direct simulation of 3D shapes during editing, and novel physics-based shape and topology optimizations in conjunction with differentiable rendering.
INTRODUCTION
2For more than a decade, computer vision has been making strides in improving the output fidelity of reconstruction algorithms.With the advent of differential rendering, it is now possible to create highly complex, three-dimensional geometry from two-dimensional images.The robustness and ease-of-use of these modern methods means that almost any complex real world shape can now be cast as a convincing geometric digital twin.
3Increasingly, there is a demand to use this geometry in application spaces where beyond its shape, its physical responses and robustness are critically important.For instance, engineers may wish to ensure that a captured 3D bracket can support a certain load if fabricated, and roboticists want to ensure that a captured chair won't collapse under the weight of their robot in a simulated training environment.
4To meet such physical constraints requires not just a geometric reconstruction solution, but one that is physically-aware.While shape optimization and system identification methods have been explored in the past, systems that can optimize over geometry, topology and material properties simultaneously are relatively unexplored.In engineering, most shape optimization methods are strongly modeldriven often requiring an initial parametric shape model (something that existing reconstruction methods do not produce) while system identification approaches assume the input geometry is fixed and optimize only for physical parameters.There is a great need for algorithms that can optimize shape, topology, and material properties holistically, to maximize physical performance or improve response to physical inputs such as forces.
5One approach to this problem is to use a differentiable elasticity simulator as a physical prior in conjunction with a more standard geometry reconstruction method.But state-of-the-art reconstruction approaches generate geometry that is rapidly evolving and can degenerate during the reconstruction process.This, combined with material stiffness parameters that can vary by up-to-four orders of magnitude (at times during optimization) across the object means that robust, in-the-loop simulation for reconstruction is a non-trivial task.
6We propose an algorithm that directly attacks these difficulties for elastically deformable objects.Our simulator is built around a regular grid discretization and represents geometry as an implicit function on that same grid.We perform dynamic and quasi-static simulation using a mixed finite-element method (FEM) which supports high-order basis functions if necessary, and prevents performance degradation even when material properties are wildly varying.Crucially, we introduce a neural-network approach to perelement quadrature which allows for smooth, differentiable integration of field quantities across the implicitly-defined domain -even as it evolves during the reconstruction procedure.
7We combine our novel simulator with the FlexiCubes [Shen et al. 2023] reconstruction algorithm and demonstrate its ability to directly produce geometry that is physically reinforced as to avoid excessive deformation under load.We show that the method requires no strong shape prior, divines the geometry and topology of the output as part of the reconstruction process, and can simulate the effect of thin, sub-grid features.Finally, we show how each part of our method (mixed FEM, neural quadrature) is required to achieve stable and robust results.
RELATED WORK
8Geometry reconstruction algorithms focus on producing a consistent 3D representation of a shape from a variety of scanned or synthetic inputs.These inputs include but are not limited to photographs, rendered images, or scan data [Choy et al. 2016].These include algorithms for producing triangle meshes [Gkioxari et al. 2019;Liu et al. 2018bLiu et al. , 2024]], implicit surfaces [Mittal et al. 2022;Park et al. 2019], point clouds [Fan et al. 2017;Wu et al. 2020], Gaussian splats [Charatan et al. 2024;Zhang et al. 2024] and NeRFs [Hong et al. 2023;Mildenhall et al. 2020;Yu et al. 2021].Our work focuses on providing a compatible, elastodynamics simulator that seamlessly augments geometric reconstruction algorithms to enable the production of physically-sound reconstructed geometry.
9Shape and Topology Optimization [Allaire et al. 2004;Bendsøe and Sigmund 2009;Zehnder et al. 2021] are related problems from the engineering literature.While they still optimize for output geometry, they seek to optimize the shape (resp.topology) of an object with respect to some physical properties (e.g, compliance) [Wang et al. 2003] rather than purely seeking geometric or visual agreement with input.The boundary between these methods is somewhat indistinct since most topology optimization schemes can alter shape, via adding or removing material, hence shape optimization more often relies on a parameterized shape template to constrain results to a design space (e.g, Panetta et al. [2017]).
10Finally, systems identification problems endeavour to identify material parameters that match observed motion and/or deformation.Typically an existing, parameterized material model is assumed and differentiable simulation is used to ascertain the parameters that harmonize simulated and observed object behavior [Huang et al. 2024;Li et al. 2023b].Other methods avoid differentiable simulation via techniques such as modal analysis [Chen et al. 2017] but in all cases the geometry is known prior to the physics parameter optimization.For instance methods such as PAC-NeRF [Li et al. 2023b] first estimate geometry from images then perform system identification on that fixed geometry.Practically this means that changing geometry cannot be used to optimize physical behavior by construction.In contrast, our novel, neurally-integrated, differentiable elasticity solver is fully differentiable with respect to geometry and material parameters enabling both image-driven and mechanically optimized reconstruction seamlessly and simultaneously.
11Differentiable simulations are well-studied and exist for optimizing the trajectory of rigid objects [Popović et al. 2000], fluids [Mc-Namara et al. 2004], coupled rigid and fluid motion [Li et al. 2023c] and deformable objects [Du et al. 2021;Geilinger et al. 2020;Hu et al. 2020;Jatavallabhula et al. 2021], but less frequently support shape derivatives.Topology optimization schemes rely on meshless methods [Li et al. 2020] or finite elements [Gain et al. 2015;Schumacher et al. 2015] to compute necessary physical responses.Crucially, these previous approaches all suffer from one or more issues that make them less than ideal for general geometric optimization tasks.Standard, conforming mesh FEM (typically applied on tetrahedral or hexahedral elements) requires high mesh resolutions [Liu et al. 2018a] to capture the correct behavior of the complex geometries generated by the optimization process.Simulation methods which rely on evolving meshes can require difficult and time-consuming remeshing operations [Huang et al. 2024;Misztal and Baerentzen 2012;Wicke et al. 2010] to keep elements well-conditioned, while density-based meshless methods yield a fuzzy interface [Li et al. 2020].
12Implicit functions and their neural counterparts have become the de facto geometry representation for shape optimization due to their ability to compactly represent complex evolving geometries [Gao et al. 2020;Shen et al. 2023].We observe that trying to directly and exactly represent these functions using an evolving, high-resolution mesh is the main source of algorithmic complexity as well as memory and computational pressure.Rather, we are influenced by the success of high-order embedded methods in predicting complex deformations of intricate shapes using simple regular grids [Longva et al. 2020].When coupled with appropriately accurate quadrature schemes [Kim and Pollard 2011;Patterson et al. 2012], excellent accuracy can be obtained.However, these methods need the underlying simulated geometry a priori, meaning it is not obvious how to apply them to applications where the geometry may evolve.
13Fixed quadrature points and weights introduce non-smoothness and ill-conditioning [Van Dijk et al. 2013] as the surface evolves past them.Inspired by recent applications of machine-learning techniques in other areas of simulation [Li et al. 2023a;Tymms et al. 2020;Wang et al. 2022;Zesch et al. 2023], our solution is to build a novel finite element method around a neural integration scheme, which uses a small, per-element neural network to learn the quadrature point locations and weights as a function of the underlying implicit shape.This allows points and weights to evolve smoothly, along with the shape itself, yielding higher quality results.Learning functions within grid cells is oft-used in geometry processing (e.g, for mesh extraction [Chen et al. 2022]) however we believe this is the first time it has been applied to this particular problem.
14Our differentiable simulator is built around a mixed-variational approach to elasticity [Reissner 1985;Simo and Rifai 1990].In particular we modify the rotation-aware extension proposed by [Trusty et al. 2022] which allows for simulation performance independent of material stiffness -an important property for system identification where material parameters can range over several ordersof-magnitude.We use a novel, performant variant of the scheme that avoids a per-element singular-value-decomposition at each simulation sub-step and supports high-order elements.
15Our major contribution is a differentiable simulator that enables simultaneous optimization of object shape, topology and material properties via drop-in combination with existing geometry reconstruction algorithms.In service of this we develop a novel neural quadrature scheme suitable for finite element algorithms on evolving surfaces, a fast mixed finite-element method to enable robust simulation across wide ranges of material parameters and a gradient preconditioner to improve convergence.
NEURALLY INTEGRATED FEM
16We first recall a few preliminaries about FEM and numerical integration.We consider a material domain Ω ⊂ R 3 equipped with a displacement field u defined over a space 1 Ω , and write (u) := I 3 +∇u the deformation gradient.
Weak-form elasticity
17The kinetic and potential energies of the system are defined as
18with Ψ : R 3×3 → R the local elasticity potential, and g an external force density.Using an implicit Euler integrator with timestep Δ (possibly infinite in the quasistatic limit), such that u ∼ u−u Δ , with u the begin-of-step velocity, the conservation of momentum over the timestep can be expressed as the minimization of the incremental 1 typically a subspace of the Sobolev space 1 (Ω) 3 potential [Kane et al. 2000]
19(1)
20Writing the optimality condition u = 0 as directional (Gâteaux) derivatives over all of Ω yields the weak-form FEM formulation,
21We can then choose a finite subspace for Ω , typically polynomials defined over the elements of a mesh M, and write Equation (2) for each function v of our discrete basis.This yields as many nonlinear scalar equations, that can be solved for instance using a quasi-Newton method [e.g, Smith et al. 2018].Doing so assumes being able to evaluate integrals over Ω, or in practice over any element of the mesh M. As analytical expressions may not be available, we resort to approximate quadrature rules, that is, sets of points and weights ( ), (y ) such that for any polynomial of degree less than or equal to , ∫ = (y ).The integer is called the order of the formula.Quadrature rules have been derived and tabulated for common elements (such as tetrahedra and hexahedra) at all practical polynomial orders [Cools 2003].However, standard quadrature rules are only applicable when the mesh M coincides with the material domain Ω, and generating good-quality conforming volumetric meshes from a surface is both expensive and not easily differentiable.In the next paragraphs we show how we can avoid building such a mesh altogether and cheaply generate good non-conforming quadrature formulas for surfaces that are implicitly defined by a signed-distance function (SDF) discretized over a hexahedral mesh -such as in marching cubes [Lorensen and Cline 1998], OpenVDB [Museth et al. 2013], or FlexiCubes [Shen et al. 2023] grids.
Optimized Quadrature Rules
22A first observation is that for the weak-form FEM described in Equation (2), we do not need the exact domain geometry; we only need the capacity to numerically integrate functions over elements with good accuracy.Let us consider a mesh element and a domain Ω such that ⊈ Ω; we want to compute integrals over the part of where there is material, i.e. ∩Ω.One first possibility, which we will refer to as the Clip quadrature -see Figure 2, would be to multiply the integrand, or equivalently the quadrature point weights, with However, the indicator function Ω is highly nonlinear and the quadrature quality will quickly degrade, leading to unstable simulations.Moreover, Ω is non-differentiable with zero gradient almost everywhere, hindering the computation of meaningful derivatives of the integration result with respect to the domain.Instead, following Patterson et al. [e.g, 2012], we opt to derive new quadrature points and weights that can accurately integrate polynomials at a chosen order on the actual material domain.Using an optimization point of view, we express this quest as min
23with B a basis for polynomials of degree .Monomials may be used to define B , in which case minimization (3) is known as moment fitting [Bremer et al. 2010].For symmetry reasons, we prefer to use Lagrange polynomials defined on the Lobatto-Gauss-Legendre nodes as our basis.
Neural Quadrature Rule Prediction
24In our settings of interest, the material domain Ω ∩ is implicitly defined as the region of where the SDF is negative.Moreover, the function is itself discretized as a finite set of nodal values ( ), (x) = (x), with the shape functions ( ) assumed identical for all nodes -trilinear in our case2 .Our problem thus reduces to finding, from a set of input SDF values ( ), quadrature points (y ) and weights ( ) that are an approximate solution to the minimization problem (3).
25In principle, one could use direct numerical optimization techniques.However, we want the following desirable properties for our quadrature rule generation scheme:
26(a) it should be extremely cheap, as it will need to be performed for every partially filled element of the mesh, each time the boundary is evolved within a shape optimization loop;
27(b) the resulting (y , ) should be continuous with respect to , with easily-accessible and well-behaved gradients; (c) the number of quadrature points should be fixed, both for controlling the cost of the simulation and, in Mixed FEM settings, for satisfying an element-compatibility condition; (d) for numerical conditioning the ratio of weights between the different quadrature points should be limited.
28On the other hand, our applications do not require (e) the quadrature rule to be extremely accurate, as our object reconstruction objective implies uncertainty about the exact location of the domain boundary anyway.
29Most moment-fitting approaches [Bremer et al. 2010;Longva et al. 2020;Patterson et al. 2012] aim to minimize the nonlinear problem (3) to high accuracy, i.e, achieve (e) at the detriment of (a) and often (c).Moreover (b) is usually out of reach for non-convex optimization problems with local minima.Müller et al. [2013] keep the number and position of the quadrature points fixed and optimize for the weights only, yielding a linear problem that achieves both (b) and (c).However, the resulting weights may be null or negative, contradicting (d), and this restricted optimization space limits accuracy for a given number of quadrature points -see also Appendix A.
30Instead, we propose to train a small neural network to learn the mapping ( ) ↦ → (y , ).Precisely, we fit a network which takes as input a stacked vector of implicit SDF values at a single cell's corners, and outputs the quadrature point locations and weights within the cell.At simulation time we simply need to run inference for all current voxels, stacked as a single tensor; this is extremely cheap, achieving (a).Criteria (b) and (c) are satisfied by construction, and conditioning (d) can be controlled as an additional training loss term.We train this network once for integration order 2 and 4, and use it for all experiments.
31Architecture, Losses, and Training.We choose the network architecture to be a simple multilayer perceptron with = 5 fullyconnected layers of size = 64 for order 2 and = 128 for order 4, and ReLU activations on hidden layers.Network inputs are normalized such that the gradient of is unit at the cell center, and network outputs are parameterized as offsets from and multipliers for the usual Gauss-Legendre points and weights.We define the loss function as the sum
32where Q is from Equation (3), with target integrals ∫ Ω∩ B computed using brute force uniform integration at high resolution, Q □ is quadratic barrier enforcing quadrature coordinates to stay in [0, 1] 3 , and Q ★ is a conditioning term penalizing the log ratio of the maximum to minimum quadrature weight.We generate a training set of 2 24 voxels, each consisting of 8 random corner SDF values, and train for 64k iterations with the AdamW optimizer with batch size 2 18 chosen as to fit our specific GPU memory.Training the order-2 network takes about 1.5 hours on a NVIDIA GeForce RTX 3080Ti GPU -which was also used to generate all of the examples in the remainder of this article -while training the order-4 network takes about 30 hours on a NVIDIA A40 GPU. Figure 3 shows the inferred quadrature points for selected voxel configurations, and Appendix A provides more evaluations and training details.
NEURALLY INTEGRATED MIXED FEM
33Mixed FEM consists in discretizing the elasticity equations over multiple fields, rather than just the displacement u, which can significantly improve numerical convergence properties [Brezzi and Fortin 1991;Frâncu et al. 2021;Ko et al. 2017;Simo and Rifai 1990].This is of particular interest to us as we want to embed our solver in a shape reconstruction loop, and as such, desire to obtain a good approximation of the final result even when truncating the solve to a few Newton iterations and regardless of the material stiffness.
34The rotation-aware Mixed FEM formulation described by Trusty et al. [2022] boasts this property, however as presented is limited to linear displacements and piecewise-constant strains and stresses.Below we propose a four-field extension of this mixed formulation to arbitrary finite elements, and show how it can be used in conjunction with our Neural Quadrature integration strategy.Unless otherwise mentioned, this formulation will serve as the basis for our differentiable elasticity simulations.
Generalized four-field Mixed FEM
35We denote by Ω the space of square-integrable 3 × 3 tensor fields, and define SO Ω , Sym Ω and Skew Ω , the subspaces of Ω whose values are rotations, symmetric tensors, and skew-symmetric tensors, respectively.We introduce two additional primal fields, the symmetric strain ∈ Sym Ω and rotation ∈ SO Ω , related to the deformation gradient through the constraint (u, , ) := (u) − = 0. Being rotation-independent, the local elastic potential Ψ can now be measured directly on rather than .Minimization of the incremental potential (1) can be expressed as the constrained optimization
36or equivalently as a saddle point of the associated Lagrangian,
37Solutions of problem (1) must thus satisfy L = 0, that is,
38where the forms , and , are directional derivatives, i.e,Note that at equilibrium the Lagrange multiplier coincides with the first Piolat-Kirchhoff stress tensor, Ψ [Bonet and Wood 2008].Unfortunately, directly applying Newton iterations to Equations (5-8) would lead to numerical difficulties.Indeed, the elasticity Hessian may be indefinite, and there is no coercive potential for the rotation variable; see Appendix B for details.To remedy to this problem, we re-inject the constraint into Equations (6-7) using an Augmented-Lagrangian-like penalization term ,
39The penalization parameter has the dimension of an elastic modulus, and in practice we set it equal to the typical stress σ := ĝ L, with L and ĝ typical length and acceleration, respectively.We proceed to solve system (9-12) using projected Newton iterations; we describe how to do so efficiently in Appendix B. Differences with the original approach from Trusty et al. [2022] are outlined in section B.4.
Combination with Neural Quadrature
40Our Mixed FEM solver does not overly restrict the choice of quadrature formulas, as long as they are of sufficient accuracy.As outlined in Appendix B.2, it mandates for efficiency that the quadrature points used to integrate Equations (10-12) coincide with the degrees of freedom of the strain spaces; but we can freely pick the location of those Lagrange polynomial nodes.We can thus combine the Mixed FEM formulation with our Neural Quadrature from Section 3.3.For hexahedral elements we use polynomials of similar degree for the displacement and tensor spaces, meaning that we can use the same formula of order = 2 for all of our integrals.While the displacement space Ω is continuous with nodes positioned according to the mesh, the strain, rotation and stress spaces use a discontinuous Lagrange polynomial basis with nodes collocated to the quadrature points (y ) inferred in each element.Note that in practice the tensor fields will only be evaluated at said nodes, so we do not need to consider general interpolation.
FORWARD SIMULATION RESULTS
41We have implemented our FEM and Mixed FEM solvers using the warp.femmodule from the NVIDIA Warp [Macklin 2022] library, which allows us to conveniently express the linear and bilinear forms described in sections 3.1 and B.1 and provides auto-differentiated numerical integration code with respect to all of the domain and material parameters.Below we assess the efficiency of neural quadrature and Mixed FEM solver, first on a simple dumbbell geometry then on more complex topologies.
Dumbbell
42We define a continuous dumbbell SDF as the union of three analytical cylinders, the middle one being of smaller radius than the other two.We then discretize this SDF on regular grids at resolutions varying from 8 3 to 64 3 .We generate quadrature formulas of order 2 (8 points) and 4 (27 points) from this discrete SDF using the Full (regular Gauss-Legendre points and weights), Clip (filtering-out points in the SDF exterior), and our Neural approaches to perform both displacement-only and Mixed FEM simulations.The deformation is visualized by embedding the isosurface extracted using dual marching-cubes at 64 3 resolution within the simulation grid, as illustrated in Figure 4. We use the Stable Neo-Hookean elastic model from Smith et al. [2018] with Poisson ratio = 0.4.
43Cantilever.The first experiment consists in clamping one end and letting the (soft) dumbbell sag under gravity, studying the impact of the grid resolution on the achieved equilibrium shape for different quadrature formulae.We also compare our non-conforming approach with the simulation of a tetrahedral mesh generated from the discrete grid using the algorithm from Shen et al. [2023].Figure 5 shows the equilibrium shapes obtained using our Mixed FEM formulation -we also performed this experiment with displacement-only FEM and obtained visually identical results.At the fine 64 3 resolution, all experiments converge to the same shape.At coarse resolutions however, the Full quadrature and the linear tetrahedral mesh underestimate the deformation the most, while the Clip quadrature suffers from instabilities.The quadratic tetrahedral mesh and the tri-quadratic embedded simulation (using order-4 neural quadrature) perform best, followed by the order-2 neural quadrature with trilinear displacements.
44Large stiffness ratios.We now increase the elastic modulus of the middle region of the dumbbell (Figure 6) with stiffness ratios up to 10 9 ×.At lower ratios, displacement-only and Mixed FEM perform identically, but for the higher ratios classic FEM suffers from high damping of the rotational mode in the stiff regions, and remains far from the converged shape even after a 250 Newton iterations.This is consistent with the results from Trusty et al. [2022].
45Buckling.Finally, Figure 7 looks at the impact of changing the polynomial degree of the displacement field for the Full and Neural quadrature formulae, at 8 3 and 64 3 resolution.We observe little impact for the coarse Full and fine Neural buckling simulations; the former fails to take into account the thinner part for both degrees, with the latter results in identical converged shapes.The tri-quadratric displacement is most interesting for the coarse Neural simulation, with an equilibrium shape much closer to the highresolution solution than with tri-linear displacements.
Complex geometries
46Heterogeneous material.We simulate a slab of material with heterogeneities roughly the size of one voxel, so that the embedding grid is effectively dense (top left).As shown in Figure 8, using the regular Full quadrature, the material behaves as if it was homogeneous, with globally uniform strain.The Clip quadrature also yields incorrect behavior, as the strain is no longer transmitted away from the dense clamped regions.Our neural quadrature successfully captures the intricacies of the material at no additional cost.Interactive editing.As our framework allows simulation of arbitrarily complex and evolving material topology without the need for expensive remeshing, a natural application is a physics-ready virtual playground where the user may interactively add or subtract material and immediately see how it responds to applied forces (Figure 9 and video).
PHYSICS-AWARE RECONSTRUCTION
47Not only can our neural quadrature handle evolving material domains, it does so in a differentiable way.We exploit this ability to demonstrate physics-aware mesh reconstruction from multiple views.But first we describe how we can efficiently compute the adjoint of our simulations.
Simulation Adjoint
48We consider a loss function L (p, q) to be minimized, with p the vector of material and/or shape parameters that we want to optimize, and with q the simulation state; q := u for displacement-only FEM, and q := (u, , , ) for our Mixed FEM formulation from Section 4. As q is the result of a forward simulation, it depends in turn on One may choose to use full auto-differentiation of the simulator code for all of the above terms.However, evaluating q p requires backtracking through the whole simulation loop -potentially comprising many solver iterations -which is costly both in wall time and memory usage.We avoid this overhead by combining auto-differentiated and analytical adjoint computations: by definition, q must satisfy an equilibrium condition, either Equation ( 2) for displacement-only FEM or Equations (9-12) for Mixed FEM.For brevity of notation, let us write this equilibrium condition as f (p, q) = 0; the implicit function theorem allows us to express the loss gradient as
49As f q can be recognized as the Hessian of the incremental energy potential, computing L f amounts to solving one linear system similar similar to one Newton iteration from the forward pass3 .The right-multiplication of L f by f p is then achieved through autodifferentiation of the linear form assembly code, which is directly provided by the warp.femlibrary [Macklin 2022] with which our solver is implemented.
50Note that in our framework, we do not have to give special treatment to shape derivatives versus material parameter derivatives.The simulator is aware of the material domain through quadrature points and weights, for which the adjoint computation does not require particular considerations.We can then get the derivatives with respect to the implicit surface by backpropagating through the MLP network from Section 3.3.
Physics-aware reconstruction framework
51We leverage the FlexiCubes [Shen et al. 2023] discrete implicit surface representation, which consists of SDF values and displacements at nodes of a regular grid, plus per-cell parameters adjusting the isosurface -effectively, per-cell, per-vertex SDF values with variable vertex positions.This representation has been shown to perform well in conjunction with differentiable rasterization [Laine et al. 2020], with stronger ability at capturing sharp features than tetbased alternatives [Shen et al. 2021].
52Previously Shen et al. [2023] showed decoupled shape and material optimization, first recovering geometry via FlexiCubes and next optimizing for material properties using a differentiable simulator.In stark contrast we now describe a fully-coupled single stage pipeline wherein gradients from our simulator directly effect reconstructed geometry.We adjust the physical behavior of the reconstructed object by varying not only material parameters, but also its rest shape; all the while ensuring that renderings of said rest shape remain close to the target.
53Loss functions and preconditioning.On top of the geometric and rendering-based reconstruction losses described by [Shen et al. 2023 We emphasize that the L FC and L phys losses both affect the shape of the reconstructed model and will oppose each other; tuning the ℓ u and ℓ coefficient allow biasing the result towards better reconstruction fidelity or physical performance.Moreover, activating L phys right from the beginning of the optimization is not productive; the initial guess of the FlexiCubes reconstruction consists in random SDF values, leading to many disconnected material pieces, so that running the physical simulation at an such early stage is not meaningful.Instead, we run the first 30% of the optimizer iterations with L FC only, then add L phys .To ensure a smooth transition, we also increase the simulation timestep Δ progressively.
54In practice, performing gradient descent on L phys tends to produces bumpy or fractured surfaces that, while yielding low values of the physics loss, are not visually pleasing.We overcome this issue by preconditioning the grid parameters that are being optimized for (vertex displacement and SDF value) with a smoothing function.
55To this effect, we apply a convolution with a Gaussian blur kernel before passing those parameters to the FlexiCubes reconstruction and Mixed FEM simulation.In a similar fashion, we can optionally enforce symmetry of the optimized shape by applying a symmetric preconditioner to the raw grid parameters.
56Finally, adding a loss term L | | penalizing the total sum of edge lengths of the extracted triangular mesh is helpful for reducing the appearance of unwanted geometry like floaters or protruding details -under the condition that this term remains small compared to the reconstruction and physics losses.
Physics-aware reconstruction results
57For the following examples, we render synthetic views of a target mesh and use the physics-aware reconstruction framework described above to reconstruct an implicit surface with desirable physical characteristics.We emphasize that during this process, the optimizer has no knowledge of the target mesh topology or 3d positions, i.e, has no strong prior.
58Stress minimization.We first apply our method to optimize the shape of an aluminum hook so that stress under some predefined load is minimized (i.e., we use L phys with ℓ u = 0 and ℓ = 1).We use the Stable Neo-Hookean material from [Smith et al. 2018] with Young Modulus = 10GPa, Poisson ratio = 0.33, and volumetric mass = 2700kg.m−3 , and a FlexiCubes grid with resolution 64.
59A force of 6kN is applied to the curved portion of the hook while clamping the top of the slit; see Figure 10.Over the course of the optimization the physics loss L phys is reduced by more than an order of magnitude, with the maximum stress on the surface being similarly reduced.
60Soft chairs.To evaluate our method on more challenging material topology and nonlinear effects, we select 18 representative chair models from the Pix3D dataset [Sun et al. 2018] and equip them with a rubber-like material, with volumetric mass = 1000kg.m−3 , Young modulus = 10 and Poisson ratio = 0.47.Emulating the effect of one person sitting on the chair, we apply a downward force of 2.5kN on the seat and a backward force of 0.5kN on the backrest, with a random perturbation of 10% of the force direction and point of application at each iteration.Since we do not know in advance where the 3d location of those features, we define our forces in a volumetric fashion over a predefined region of the reconstruction bounding box and scale them according to the actual amount of material in the region.The bottom 5% of each object is kept fixed.We use a timestep Δ = 3s, loss scaling parameters ℓ u = 1 and ℓ = 0.25, and a FlexiCubes resolution of 64.We run the optimization for 1000 gradient descent iterations, and for each of those run 5 Newton steps of Mixed FEM simulation, which in total takes about 15 to 25 minutes per model (depending on the number of active voxels) on a pair of NVIDIA GeForce RTX 3080Ti GPUs.
61The results are depicted in Figure 11.While applying the forces to the chairs reconstructed without the physics-aware loss usually leads to a complete collapse, the chairs reconstructed with L phys demonstrate much stronger resistance and are easily able to recover their original shape once the perturbations cease being applied.The optimization generally reinforces the chair legs and the seat-backrest junction, but with variations depending on the actual topology, such as the presence (or not) of armrests.Since we perform reconstruction from images without any strong shape prior -starting from random SDF values, topological changes are mandatory in the first stages of the optimization.Even once the reconstructed geometry has started to resemble the target, we keep observing emerging topological changes compared to the mesh used as source; some of which are highlighted in Figure 12.We emphasize that even in the rare cases where the genus is not modified by the physics loss, the changes to the surface are drastic enough that shape-differentiable simulators working on conforming meshes would require frequent volumetric remeshing [Huang et al. 2024;Tozoni et al. 2021], which our implicit approach avoids entirely.
62Stability.Previously we kept the bottom of the chairs fixed, which is justified given the strong downward applied force.Here, inspired by similar experiments in [Guo et al. 2024;Ni et al. 2024], we show that our technique can also be leveraged to increase the stability envelope of the reconstructed models.We replace the bilateral clamping with an unilateral constraint modeling the ground-chair contact, and update our Newton loop with an active-set formulation.We use a much stiffer material so that the chair behaves rigidly ( = 100GPa), apply a downward-and-backward-pointing force on the backrest, and pick a model that looks propitious to toppling.Figure 13 shows that the physics-aware loss will add material to the front of the chair such that the center of mass moves forward and resists the applied push.
Material optimization.
63Up until now we only allowed the optimizer to modify the shape of the model, keeping the material homogeneous; here we also allow modification of the Young Modulus.This makes the problem somewhat easier, as now the physics loss and reconstruction loss can act on orthogonal parameters.In our framework, we can just set ℓ u and ℓ to small values so that the optimizer will favor L FC over L phys for the shape parameters.Figure 14 shows the result of this process under the constraint that the Young modulus should not be increased more than 10 4 × and with additional 1 regularization of the stiffening parameter.Unsurprisingly, the legs of the chair and the junction between legs and seat are the regions that the optimizer prioritize for stiffening.Ablation studies.Having demonstrated the physics-aware reconstruction capabilities of our framework, we proceed to study the importance of its individual components, and show results in Figure 17.First, replacing the neural quadrature with Full or Clip quadrature formulas hinder convergence entirely.Indeed, the gradient of L phys with respect to the vertex SDF values becomes zero, so that the optimizer will only move the vertex positions, whose motion is constrained by the FlexiCubes parameterization to stay under one voxel-size.Next, when removing the smoothing preconditioner, the optimizer does manage to reduce the physics loss, but the reconstructed surface is hardly usable.Removing the edge length loss L | | makes the reconstructed surfaces bumpier, and tend to produce floaters.Finally, sharp features are no longer well captured when limiting the optimized parameters to the vertex SDF values, i.e, falling back to a standard dual marching-cube.
64We also show in Figure 15 that our method keeps working when using displacement-only FEM rather than Mixed FEM, and thus, should be compatible with other differentiable simulators that support hexahedral elements [e.g, Huang et al. 2024]; but with degraded robustness.For our initial soft chair optimization problem, classic FEM yields a reconstruction similar to the Mixed FEM case from Figure 11.For the material optimization experiment the results are still reasonable, but, due to the slower convergence of displacement-only target simulated shape naive ours Fig. 18.From left to right: target shape and simulation of the shapes reconstructed without (naive) and with (ours) physics-aware loss.Top: using with tri-quadratic elements and the order-4 "neural" quadrature; bottom: using trilinear elements and the order-2 "neural" quadrature.
65FEM with high stiffness ratios, the physics loss is underestimated and the reconstructed model is subject to more sagging than in the Mixed FEM version from Figure 14; see also Figure 16 for a simpler variant of this experiment.Results are worst for the stability optimization example; here, we need to reduce the stiffness by two orders of magnitude to obtain a stable reconstruction.
66Quadratic elements.We verify that our method also works with higher-order elements.Figure 18 demonstrates optimization of an elastic bridge model under prescribed load on a 48 3 grid, using tri-quadratic displacements and the order-4 27-points learned quadrature.As the resolution of the FlexiCubes grid is already high enough to resolve thin features of the target shape, the higher-order result remains qualitatively similar to the trilinear version.
67Physics-aware photogrammetry.Our physics-aware shape reconstruction formulation may also be integrated into more complex photogrammetry pipelines to allow for the joint optimization of shape, lighting, and both physical and rendering materials.We leverage nvdiffrec from Munkberg et al. [2022], which supports Flexi-Cubes as its geometry representation.For this example we use again the setup described in Section 6.2; this time, instead of defining our rendering target as random synthetic views of a known mesh, we use a fixed list of 100 images and corresponding camera transforms from the NeRF dataset [Mildenhall et al. 2020].We first optimize the rendering loss render from the nvdiffrec pipeline without modification.After the shape starts converging, we begin blending in the physics loss function phys .We can again optimize both the shape and material parameters of our reconstructed object to minimize sagging under a prescribed force (Figure 19).
LIMITATIONS AND FUTURE WORK
68While our neural quadrature rule can compute integrals over the possibly complex material domain induced by the SDF, the displacement degrees of freedom are still those of the underlying continuous shape functions.As such, even if the SDF defines two disconnected material regions within a given voxel, the simulation won't allow them to separate arbitrarily.This is detrimental for our application as this means that small disconnected pieces of material ("floaters") adjacent to the bulk of the object will tend to stick to the surface instead of falling down -meaning that they will have a low displacement loss and the optimizer won't be eager to prune them.While our edge-length loss helps reduce this phenomenon, other formulations such as the perimeter regularizer from Maestre et al.
69[2023] would be worth investigating.A possibly more satisfying solution that we intend to explore in future work is the of addition of new degrees of freedom to the disconnected voxel configurations, in the vein of XFEM [Koschier et al. 2017;Moës et al. 1999] or CPIC [Hu et al. 2018].Additionally, we do not consider evaluation of integrals over the boundary of the domain, as these are not needed for the presented tasks.If desired, isosurface meshes can easily be extracted and embedded for integration.
70Another limitation of our physics-aware reconstruction algorithm is the lack of global convergence, meaning that differences in the initial random SDF values lead to variations in the final optimized shape.The end result is also very sensitive to the choice of loss function; exploring the definition of more perceptual losses would be an interesting area of research.Our current reconstruction speed is also not yet suitable for interactive applications; we would like to bridge this gap in the future.
71In future work, we also want to explore whether other architectures could improve the accuracy and efficiency of our technique.While we have focused on solid elasticity in this work, we also want to take advantage of the analogy between quadrature points and Particle-in-Cell integration to investigate differentiable initialization of MPM simulations from implicit surfaces.Combined with particlebased techniques like PAC-NeRF [Li et al. 2023b], this would allow computing derivatives of the simulation end-state with respect to the material occupancy function, with applications to single-pass reconstruction, identification and shape optimization of plastic materials.
CONCLUSION
72We have presented a neural integration technique that improves the quality of voxel-based implicit volume simulations at negligible additional runtime cost, and shown how to combine it with a Mixed FEM solver to efficiently perform elasticity simulation on continuously evolving domains.Our technique allows straightforward differentiation of the simulation results with respect to the implicit volume parameters, making itself particularly suitable for topology optimization tasks, and providing a first foray into physics-enabled shape reconstruction.
A NEURAL QUADRATURE TRAINING AND EVALUATION
73For a quadrature of target order , we use := (/2 + 1) 3 quadrature points per voxel and a test polynomial basis B of cardinality := ( + 1) 3 , chosen as the 3D tensor product of 1D Lagrange polynomials with Lobatto-Gauss-Legendre nodes ( LGL ),
74We note := 2 3 the number of input SDF values per voxel, and ( ) the corresponding trilinear interpolation functions.Finally, we denote by the batch size, i.e, the number of voxels being simultaneously evaluated.
75We reiterate that as our network works independently for each voxel, we do not need to construct a dataset containing macroscopic shapes: for our training data, we simply generate a set of 2 24 × 8 random values sampled from a normal distribution.
76For each voxel, the = 8 corner values do not need to represent a proper SDF satisfying the eikonal equation; we actually want the network to be robust to improper SDFs, and the first Normalization layer of our network (Algorithm 2) will remap the input such that the gradient at the voxel center is unitary.This Normalization layer is followed by a standard 5-layers-deep MLP with ReLu activations, then a final Remapping layer (Algorithm 3) yielding the final quadrature points and weights for each voxel.
77For each randomly generated voxel, we generate the ground truth data through brute-force integration at resolution 32 3 of all Lagrange polynomials of our chosen basis B multiplied by the indicator function of the SDF interior < 0 (Algorithm 1).This ground truth is compared to the integrals computed using the inferred quadrature points (Algorithm 4) as part of our overall training loss (Algorithm 5), which also incorporates penalties for points drifting outside the voxel and large weight ratios.
78We additionally generate at test set of 2 10 distinct random voxels and associated ground truth integral values, and periodically evaluate the loss function and those as the network is training; resulting curves are shown in Figure 20.
79We choose the training batch size for the AdamW optimizer as the highest that can fit in our GPU memory; in our case, = 2 18 .Once training is finished, we evaluate the quality of our network using yet another validation set of random voxels and ground truth integrals pair -this time, with random values sampled according to a uniform distribution.We visualize separately the integration error and conditioning loss for different order and values of the conditioning penalty coefficient ★ in Figure 21.Generally, we want to pick ★ such that it yields a reasonable conditioning but not at the detriment of integration accuracy; in our examples, we use networks trained with ★ = 10 −5 for order-2 and ★ = 10 −6 for order-4 network.
80An advantage of our neural quadrature scheme is that it produces, by construction, smooth, differentiable output.Sparse subset selection methods via linear programming [Longva et al. 2020] produce accurate, efficient quadrature schemes but the under constrained nature of the subset selection problem, and the lack of additional regularizers, lead to large jumps in quadrature point location as a function of isosurface value (Figure 22), making them unsuitable for gradient-based optimization.
81Figure 23 shows that our neural integration rule is also significantly more accurate than the Clip quadrature of the same degree, and more accurate than the weight-only moment-fitting approach Müller et al. [2013] when using the same number of quadrature points, though the gap reduces with integration order.Note that the ★ : scalar factor for the conditioning loss Υ := EvalQuadrature(y, w) ; // Algorithm 4 Q := ∥Υ − Υ GT ∥ 2 2 ; Q □ := ∥y − clamp(y, = 0, = 1) ∥ 2 ; conditioning number of the Clip a quadrature will be infinite for any partially filled voxel, and that the method from Müller et al. [2013] may produce null or negative weights, while our neural approach ensures positivity and reasonable weight ratios.On a NVIDIA GeForce RTX 3080Ti GPU, computing the order-4 quadrature points for 2 1 8 voxels takes 6ms for the Clip quadrature; 16ms for our neural quadrature; and more than 1s for the technique from [Müller et al. 2013], which requires evaluating the target moments using high-resolution integration, here with 2 1 2 samples per voxel.
B FOUR-FIELD MIXED FEM IMPLEMENTATION B.1 Newton optimizer
82We proceed to solve system (9-12) using projected Newton iterations to compute the step direction (u, , , ), with ∈ Skew Ω such that +1 = + .Linearizing the residual around the current iterate (u , , , ) yields the linear forms where the Π operator removes negative eigenvalues from the Hessian of Ψ.At each Newton iteration, we thus solve
83) with the current constraint residual, := (u , , ).
84We equip our Newton loop with a backtracking line-search; however, as we are optimizing under equality constraints, iterates will not remain perfectly feasible and thus we can't directly use the incremental potential (1) as our objective function.Instead we adopt the merit function
85combined with Armijo's acceptance rule [Nocedal and Wright 2006].
86Rotation regularization.In practice, we find that the robustness of convergence can be increased by augmenting the penalization term in the bilinear form with an additional rotation regularization coefficient > 0. Indeed, we want the skew-symmetric update to remain small enough that it still represents a valid rotation increment.In our examples we choose equal to the residual rotational stress norm, = ∥ − ∥.Note that this additional regularization term does not change the problem solution.We do not add the regularization term when assembling the linear system corresponding to the backward step in the simulation adjoint computation.
B.2 Discrete Mixed Elements
87After choosing discrete basis for our element spaces and performing numerical integration for all the terms of Equation ( 13), computing the Newton step direction amounts to solving the linear system
88(14) While the linear system will always have this general shape whatever our choice of discrete spaces, the latter will impact the sparsity pattern of the matrices and our options for solving it.As is standard in finite-element elasticity, we assume that our basis functions ( ) over each mesh element are Lagrange polynomials defined over a set of nodes (x ) , meaning that (x ) = .Due to different continuity requirements, we use distinct basis functions and nodes for the displacement space Ω and the tensor spaces Ω , SO Ω , Sym Ω and Skew Ω , as explained below.
89For the displacement space Ω we need 1 -compatible elements, i.e, continuity of the basis functions across neighboring elements.We restrict our choice to usual Lagrange elements or so-called "serendipity" elements that do not contain interior nodes.For 1 and 1 this means usual trilinear shape functions with one node at each grid vertex; for 2 , one node at each vertex and one node at the middle of each edge; etc.
90For the Ω , SO Ω , Sym Ω and Skew Ω spaces however, we only need to discretize 2 Ω (our mixed formulation does not require evaluating the derivatives of the stress or strain fields).Continuity across elements is not required and we get the liberty to locate the tensor field nodes (x ) anywhere within .To get an insight about how to pick their positions, we look once again at numerical integration.To integrate a function on element we resort to a discrete quadrature formula with weights ( ) and evaluation points (y ) , that is,
91As discussed in Section 3.2, the weights and points are typically picked such that the formula is exact for polynomials up to a given order.Now when evaluating the matrix for a bilinear form defined from two sets of basis functions ( ) and ( ) , we get
92meaning that if we pick our nodes and quadrature points such that (x ) = (x ) = (y ), then , = (y ), i.e, the matrix becomes block diagonal.For a discontinuous Lagrange polynomial basis of chosen degree , we thus pick the nodes (x ) to correspond to the points of a quadrature formula that maximizes the order of accuracy for this number of points.In particular for quadrilateral or hexahedral elements, this is the usual Gauss-Legendre points, which yield a quadrature formula that is exact for polynomials up to order 2.For triangle and tetrahedral elements, we get quadrature formulas of order 2 for ≤ 1, while for for higher degree polynomials we rely on numerical optimization.
93By using this choice of quadrature points to define the Lagrange nodes for the discrete subspaces Ω , SO Ω , Sym Ω and Skew Ω , we thus render the matrices , , , and , block-diagonal, while keeping a good order of accuracy for the numerical integration.
94To finalize the Mixed FEM discretization, it remains to relate the displacement and tensor spaces.For hexahedral elements, we use serendipity elements of degree for the displacement and tensor products of element-wise discontinuous Lagrange polynomials (with Gauss-Legendre nodes) of the same degree for tensors.For tetrahedral elements, we use continuous Lagrange polynomials of degree for the displacements and discontinuous Lagrange polynomials of degree − 1 for the tensor spaces.This means that for hexahedral elements, the quadrature formula defined by the tensor nodes will be enough to integrate accurately all bilinear forms, while for tetrahedral elements we will need to use a distinct, higher-order quadrature formula for the displacement forms.
B.3 Solving the linear system
95While it is possible to directly solve Equation 14 using a saddle-point solver, in practice we find it more efficient to follow Trusty et al. [2022] and perform double condensation.Here for the sake of clarity we focus on the current Newton iteration and drop the index for matrices and vectors.
96First, thanks to the non-zero Augmented-Lagrangian penalization coefficient and the semi-definite projection of the elasticity Hessian, and are positive definite (as long as in non-singular).As they are also block-diagonal, they are easily invertible, and we can eliminate the and unknowns to obtain Finally, Λ is also block diagonal and positive definite; it can thus also be efficiently inverted, allowing to eliminate and assemble the Schur complement system
97We proceed to solve the symmetric positive semi-definite system (15) using a Jacobi-preconditioned Conjugate Gradient solver.
B.4 Performance considerations
98Overall, we find the per-iteration cost of displacement-only and Mixed FEM to be roughly similar.For most of our examples, the cost is dominated by the linear system solve, where both methods share similar unknowns (the per-node displacements) and sparsity stencil after the double condensation step.The assembly of the linear system of Mixed FEM requires multiple sparse matrixmatrix products, but most of those are block-diagonal and cheap to assemble: thanks to our choice of quadrature formula the tensor shape functions are only evaluated at their nodes, where they are Kronecker-delta valued.Conversely, integrating the elasticity Hessian bilinear form for classic FEM requires general interpolation and couples all displacement nodes over a 2 3 voxels stencil.
99One particularity of our method, in contrast to the Mixed FEM technique from Trusty et al. [2022], is that we explicitly track the rotation in a separate field.As such we do not need to perform a polar decomposition to extract the symmetric part of the deformation gradient when evaluating the constraint residual.While as noted by Smith et al. [2018], this decomposition also gives access to the principal strain basis, which is required to perform the analytical positive semi-definite projection of the elasticity Hessian, in our case the symmetric strain tensor is already known, so a 3 × 3 symmetric eigen-decomposition is sufficient -and only needs to be done once per Newton iteration rather that for each tentative state in the linesearch as in the approach of Trusty et al. [2022].Moreover, we observe in practice that the convergence of our Mixed FEM solver is not significantly affected by more conservative semidefinite approximations; the eigenvalues are going to be shifted by the constraint penalization term anyway.In particular, we find that simply ensuring positivity by scaling the volume Hessian term from Neo-Hookean elasticity models according to its minimum eigenvalue, estimated without building the strain basis as per [Smith et al. 2018, equation (30)], works well.
100Another difference is that Trusty et al. [2022] express the constraint by placing the nonlinearity on the other side, i.e, as = rather than = .This leads to the derivative form ,u being dependent on and thus ,u needing to be re-assembled at each iteration, which can be costly for high-order polynomials; we only need to do this assembly once in our approach.Conversely, we need to reassemble and at each iteration, but those, being block-diagonal, are much cheaper to compute.
101While the technique described by Trusty et al. [2022] is limited to linear stresses with piecewise-constant rotations and strains, for comparison purposes we have implemented a direct generalization of their method to hexahedral elements using the same choice of basis functions described in Appendix B.2, and report results in Figure 24.For the high-resolution homogeneous dumbbell example, we see that classic FEM is slightly faster than our Mixed FEM, both in terms of iteration count and wall time.In turn, on this example our Mixed FEM is slighly faster than our adaption of the variant from Trusty et al. [2022].Note we have implemented the three variants in our GPU-based framework, without specific optimizations; results are close enough that different orderings could be observed with other implementations.For the dumbbell with highly stiff center however, we clearly see the displacement-only FEM lagging behind the mixed techniques.
102Finally, in contrast with displacement-only and the technique from Trusty et al. [2022], our approach is not fully parameter-free; we need at least the penalization parameter to construct the reduced linear system (15).Indeed, developing a penalization-free double-condensation step for our approach is hindered by the fact that for a non-isotropic strain , the matrices , and , are not orthogonal, so that Λ −1 cannot be easily constructed from their pseudo-inverses.A potential solution would be to derive an analytical eigensystem for Λ, but we reserve this investigation for future work.While a too strong regularization would slow down convergence, we did not observe this behavior when using our suggested heuristic and setting equal to the typical stress; we see in Figure 24 that the convergence curves for our Mixed FEM approach match the non-penalized techniques.Empirically we also obverse that the additional regularization terms help stabilize simulations when the Newton loop is aggressively truncated, as for the interactive clay example depicted in Figure 9.
Fig. 2 .
103Fig. 2. Illustration in 2D of order-2 quadrature points for a boundary voxel for, from left to right, Full, Clip and Neural quadrature formulae.The neural quadrature points and weights are updated smoothly when the boundary moves, while other formulas experience jumps.
Fig. 3 .
104Fig. 3. Learned quadrature points (yellow) for integrating over the part of the unit voxel defined by trilinear interpolation of the corner SDF values (visualized by the green isosurface).Left and middle depict 8-point order-2 quadrature, right is 27 point order-4.Size is proportional to the quadrature point weight.
105, (; , ) := ∫ Ω : , , (; , ) := ∫ Ω : .
Fig. 4 .Fig. 5 .
106Fig. 4. Visualization of quadrature points generated for a SDF discretized on a grid at resolution 16 3 , using order-2 Full (top left) and Clip (bottom left) quadratures, and our Neural quadrature at order 2 (top right) and 4 (bottom right).The non-empty voxels are shown in blue, and the SDF iso-surface (extracted at resolution 64 3 ) is shown in purple.For clarity, only one octant is shown.
Fig. 6 .
107Fig.6.At high stiffness ratio, displacement-only FEM suffers from slow convergence, while Mixed FEM does not.Here, the center region of the dumbbell is stiffened by an increasing factor, and in each case the Newton loop is truncated after 250 iterations.
Fig
108Fig. 8.A slab with sub voxel-sized features simulated with Full, Clip and Neural quadrature formulas.Shading denotes the norm of the strain tensor relative to the current configuration.
Fig. 9 .
109Fig. 9. Interactive sculpting and simulation of physics-enabled clay
110], which we regroup concisely as L FC , we add a new physics loss function L phys based on the displacement u and stress fields resulting from the simulation over a timestep Δ , L phys (Δ , ℓ u , ℓ ) := √︄ ∫ Ω 1 |det dΩ| ℓ u ∥u∥ + ℓ ∥ ∥ , where ℓ u and ℓ are constant scaling factors for the displacement and stress terms, and the loss power allows us to skew the global loss towards either the average or the maximum local loss (in practice we always use = 8).The 1 |det dΩ| term scales the local loss inversely to the infinitesimal domain measure to prevent the empty domain from being a trivial optimum.
Fig. 10 .
111Fig. 10.Bracket topology optimized to minimize stress given a predefined load.Top: target model (leftmost), then timeline of combined shape reconstruction and stress minimization.The physics-aware loss and prescribed force get activated on the fourth image from the left; shading indicates surface stress intensity.Bottom: evolution of the physics and total losses over iterations.
112Fig.11.Physics-aware image-based reconstruction of chair models from the Pix3d dataset such that they can sustain prescribed forces despite being made of a very soft material.For each model, from left to right, target shape, reconstructed shape without (naive) then with (ours) physics-aware loss, simulation of the reconstructed shape without (naive) then with (ours) physics-aware loss.We assume a homogeneous material with density = 1000.−3 , Young modulus = 10MPa and Poisson ratio = 0.47, and apply a downward force of 2.5kN on the seat and a backward force of 0.5kN on the backrest.On simulation pictures, hue indicates relative stress intensity.
Fig. 12 .Fig. 13 .
113Fig. 12.Details of some topology changes in our soft chairs example.Top: Additional backrest support being grown then carved out.Bottom, left: Additional feet being grown for support on an office chair.Right: Repairing of a damaged target shape.
Fig. 14 .Fig. 15 .
114Fig. 14.Concurrent optimization of the shape and Young modulus of the chair.From left to right, target shape, simulated reconstructions without (naive) and with (ours) physics-aware loss.Shading indicates regions that are made stiffer.
Fig. 16 .Fig. 17 .
115Fig. 16.Simulation of the reconstructed elastic dumbbell from Section 5.1 without material optimization (left), with material optimization and displacement-only FEM (middle), with material optimization and our mixed FEM (right).Hue shows material stiffness scaling, from 1× (purple) to 250× (yellow).Slower convergence of displacement-only FEM with high stiffness ratios causes the optimizer to underestimate the physics loss L phys , leading to insufficient stiffening and more sagging when re-simulating the reconstructed object.no neural quadrature no smoothing
116Fig. 19.Physics-aware multiview reconstruction of the Bulldozer scene from NeRF synthetic dataset.Simulation results from left to right: initial shape before phys is applied, optimizing geometry, optimizing material parameters.Shading indicates regions that are made stiffer.
117Fig.21.Statistics of integration error and conditioning max /min over 1000 random voxels for networks trained with order and conditioning loss scaling factor ★ .
ALGORITHM 1 :
118Ground truth integrals generation Input: : Tensor of voxel corner SDF values, size × ; Output: Υ GT : ground-truth integral values, size × .Parameters: GT : resolution of brute-force integration Υ GT = 0; ℎ := 1/ GT ; foreach voxel in batch do for 0 ≤ , , < GT do // Interpolate at uniformly sampled locations , , := ( + 0.5)ℎ, ( + 0.5)ℎ, ( + 0.5)ℎ ; := < (, , ) ; if < 0.0 then // In SDF interior foreach polynomial in B do Υ GT , = Υ GT , + (, , )ℎ 3 end end end end ALGORITHM 2: MLP input normalization layer Input: : Tensor of voxel corner SDF values, size × ; Output: : MLP output tensor, size × .foreach voxel in batch do // Normalize SDF gradient at voxel center g := < , ∇ (0.5, 0.5, 0.5) ; = / ∥g ∥ + 10 −8 // Shift full and empty voxels closer to origin if min , > 1 then = − min , + 1; if max , < −1 then = − max , − 1; end ALGORITHM 3: MLP output remapping layer Input: x: MLP output tensor, size × × 4; Output: y, w: tensors of quadrature point coordinates and weights, size × × 3 and × .Data: y GL , GL : 3D Tensor product of 1D Gauss-Legendre points and weights of order , size × 3, y • = y GL + tanh x •,•,0...2 ; • = GL exp x •,•,3 ; ALGORITHM 4: Quadrature evaluation layer Input: y: tensor of quadrature point coordinates, size × × 3; : tensor of quadrature point weights, size × .Output: Tensor Υ of integral values for all Lagrange polynomials in the test basis B , size × .foreach polynomial in B do Υ •, = < •, (y •, ) end from
ALGORITHM 5 :
119Loss layerInput: y: tensor of quadrature point coordinates, size × × 3; : tensor of quadrature point weights, size × ; Υ GT : ground-truth integral values, size × .Output: L QuadNet : scalar loss.Parameters: □ : scaling factor for quadrature point interior loss;
Fig. 22 .Fig. 23 .
120Fig. 22.Using a linear program to select a sparse subset of quadrature points can lead to large jumps in quadrature point position for small changes in isovalues.
121, := , ( ; •), := (u , , , •),and the bilinear forms , := , ( ; •, •), , ( , ) := ∫ Ω : , ℎ (, ) := ∫ Ω : Π 2 Ψ 2 : + ∫ Ω : , and ( , ) := ∫ Ω ( ) : ( ),
Fig. 24 .
122Fig. 24.Mean displacement of the dumbbell from Figure6as a function of the Newton iteration number (left) and wall time (right) for three FEM variants, using an homogeneous material (black) or with a 10 6 stiffer center region (red).
123, −1 , + , −1 , , := −c + , −1 + , + , −1 , .
124Fig. 20.Convergence of MLP training over iterationsY.Dauphin, P.S. Liang, and J. Wortman Vaughan (Eds.),Vol.34.Curran Associates, Inc., 10368-10381.https://proceedings.neurips.cc/paper_files/paper/2021/file/55d99a37b2e1badba7c8df4ccd506a88-Paper.pdfRyan S. Zesch, Vismay Modi, Shinjiro Sueda, and David I.W. Levin.2023.Neural Collision Fields for Triangle Primitives.In SIGGRAPH Asia 2023 Conference Papers (Sydney, NSW, Australia) (SA '23).Association for Computing Machinery, New York, NY, USA, Article 76, 10 pages.https://doi.org/10.1145/3610548.3618225Kai Zhang, Sai Bi, Hao Tan, Yuanbo Xiangli, Nanxuan Zhao, Kalyan Sunkavalli, and Zexiang Xu. 2024.GS-LRM: Large Reconstruction Model for 3D Gaussian Splatting.arXiv preprint arXiv:2404.19702(2024).
참고문헌 53건
- Topology optimization using polytopes Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2015 10.1016/j.cma.2015.05.007
- On mixed variational formulations in finite elasticity Acta Mechanica · Springer Science+Business Media · 1985 10.1007/bf01177113
- Structural optimization using sensitivity analysis and a level-set method Journal of Computational Physics · Elsevier BV · 2003 10.1016/j.jcp.2003.09.032
- Level-set methods for structural topology optimization: a review Structural and Multidisciplinary Optimization · Springer Science+Business Media · 2013 10.1007/s00158-013-0912-y
- Fluid control using the adjoint method ACM Transactions on Graphics · Association for Computing Machinery · 2004 10.1145/1015706.1015744
- Fast simulation of skeleton-driven deformable body characters ACM Transactions on Graphics · Association for Computing Machinery · 2011 10.1145/2019627.2019640
- A Nonlinear Optimization Procedure for Generalized Gaussian Quadratures SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 2010 10.1137/080737046
- A class of mixed assumed strain methods and the method of incompatible modes International Journal for Numerical Methods in Engineering · Wiley · 1990 10.1002/nme.1620290802
- Topology-adaptive interface tracking using the deformable simplicial complex ACM Transactions on Graphics · Association for Computing Machinery · 2012 10.1145/2167076.2167082
- Microstructures to control elasticity in 3D printing ACM Transactions on Graphics · Association for Computing Machinery · 2015 10.1145/2766926
- OpenVDB 2013 10.1145/2504435.2504454
- Simulation of complex nonlinear elastic bodies using lattice deformers ACM Transactions on Graphics · Association for Computing Machinery · 2012 10.1145/2366145.2366216
- Highly accurate surface and volume integration on implicit domains by means of moment‐fitting International Journal for Numerical Methods in Engineering · Wiley · 2013 10.1002/nme.4569
- An encyclopaedia of cubature formulas Journal of Complexity · Elsevier BV · 2003 10.1016/s0885-064x(03)00011-6
- Variational integrators and the Newmark algorithm for conservative and dissipative mechanical systems International Journal for Numerical Methods in Engineering · Wiley · 2000 10.1002/1097-0207(20001210)49:10<1295::aid-nme993>3.0.co;2-w
- A level set method for structural topology optimization Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2002 10.1016/s0045-7825(02)00559-5
- A finite element method for crack growth without remeshing International Journal for Numerical Methods in Engineering · Wiley · 1999 10.1002/(sici)1097-0207(19990910)46:1<131::aid-nme726>3.0.co;2-j
- Interactive manipulation of rigid body simulations 2000 10.1145/344779.344880
- Marching cubes ACM eBooks · Association for Computing Machinery · 1998 10.1145/280811.281026
- A Point Set Generation Network for 3D Object Reconstruction from a Single Image 2017 10.1109/cvpr.2017.264
- Dynamics-aware numerical coarsening for fabrication design ACM Transactions on Graphics · Association for Computing Machinery · 2017 10.1145/3072959.3073669
- Robust eXtended finite elements for complex cutting of deformables ACM Transactions on Graphics · Association for Computing Machinery · 2017 10.1145/3072959.3073666
- A new 4-node MITC element for analysis of two-dimensional solids and its formulation in a shell element Computers & Structures · Elsevier BV · 2017 10.1016/j.compstruc.2017.07.003
- Worst-case stress relief for microstructures ACM Transactions on Graphics · Association for Computing Machinery · 2017 10.1145/3072959.3073649
- Stable Neo-Hookean Flesh Simulation ACM Transactions on Graphics · Association for Computing Machinery · 2018 10.1145/3180491
- A moving least squares material point method with displacement discontinuity and two-way rigid body coupling ACM Transactions on Graphics · Association for Computing Machinery · 2018 10.1145/3197517.3201293
- Narrow-band topology optimization on a sparsely populated grid ACM Transactions on Graphics · Association for Computing Machinery · 2018 10.1145/3272127.3275012
- Pix3D: Dataset and Methods for Single-Image 3D Shape Modeling 2018 10.1109/cvpr.2018.00314
- DeepSDF: Learning Continuous Signed Distance Functions for Shape Representation 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2019 10.1109/cvpr.2019.00025
- PQ-NET: A Generative Part Seq2Seq Network for 3D Shapes 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2020 10.1109/cvpr42600.2020.00091
- Modular primitives for high-performance differentiable rendering ACM Transactions on Graphics · Association for Computing Machinery · 2020 10.1145/3414685.3417861
- NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis Lecture notes in computer science · Springer Science+Business Media · 2020 10.1007/978-3-030-58452-8_24
- ADD ACM Transactions on Graphics · Association for Computing Machinery · 2020 10.1145/3414685.3417766
- Appearance-preserving tactile optimization ACM Transactions on Graphics · Association for Computing Machinery · 2020 10.1145/3414685.3417857
- Higher-order finite elements for embedded simulation ACM Transactions on Graphics · Association for Computing Machinery · 2020 10.1145/3414685.3417853
- Mixed and Hybrid Finite Element Methods Springer series in computational mathematics · Springer Nature · 1991 10.1007/978-1-4612-3172-1
- Locking-Proof Tetrahedra ACM Transactions on Graphics · Association for Computing Machinery · 2021 10.1145/3444949
- DiffPD: Differentiable Projective Dynamics ACM Transactions on Graphics · Association for Computing Machinery · 2021 10.1145/3490168
- Extracting Triangular 3D Models, Materials, and Lighting From Images 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2022 10.1109/cvpr52688.2022.00810
- Optimizing contact-based assemblies ACM Transactions on Graphics · Association for Computing Machinery · 2021 10.1145/3478513.3480552
- Neural dual contouring ACM Transactions on Graphics · Association for Computing Machinery · 2022 10.1145/3528223.3530108
- Topology Optimization Encyclopedia of Optimization · 2008 10.1007/978-0-387-74759-0_685
- Differentiable Simulation of Inertial Musculotendons ACM Transactions on Graphics · Association for Computing Machinery · 2022 10.1145/3550454.3555490
- Mixed Variational Finite Elements for Implicit Simulation of Deformables 2022 10.1145/3550469.3555418
- AutoSDF: Shape Priors for 3D Completion, Reconstruction and Generation 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · 2022 10.1109/cvpr52688.2022.00040
- Flexible Isosurface Extraction for Gradient-Based Mesh Optimization ACM Transactions on Graphics · Association for Computing Machinery · 2023 10.1145/3592430
- DiffFR: Differentiable SPH-Based Fluid-Rigid Coupling for Rigid Body Control ACM Transactions on Graphics · Association for Computing Machinery · 2023 10.1145/3618318
- ToRoS: A Topology Optimization Approach for Designing Robotic Skins ACM Transactions on Graphics · Association for Computing Machinery · 2023 10.1145/3618382
- Neural Metamaterial Networks for Nonlinear Material Design ACM Transactions on Graphics · Association for Computing Machinery · 2023 10.1145/3618325
- Neural Collision Fields for Triangle Primitives 2023 10.1145/3610548.3618225
- Differentiable solver for time-dependent deformation problems with contact ACM Transactions on Graphics · Association for Computing Machinery · 2024 10.1145/3657648
- GS-LRM: Large Reconstruction Model for 3D Gaussian Splatting Lecture notes in computer science · Springer Science+Business Media · 2024 10.1007/978-3-031-72670-5_1
- International Conference on Learning Representations (ICLR 2013) 人工知能学会誌 = Journal of Japanese Society for Artificial Intelligence · 2013