SPH-based hyperelastic simulation method and apparatus, and computer program stored in computer readable recording medium for the method

The method optimizes SPH-based hyperelastic simulation by using an L-BFGS algorithm to stabilize simulations with higher elastic coefficients and larger time steps, enabling accurate simulation of deformable bodies with neo-Hookean and St. Venant-Kirchhoff models.

JP2024127734AActive Publication Date: 2024-09-20KOREA UNIV RES & BUSINESS FOUND
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023209270
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-07
Filing Date
2023-12-12
Publication Date
2024-09-20
Estimated Expiration
2043-12-12

AI Technical Summary

Technical Problem

Existing SPH-based deformable body simulation techniques are limited by their inability to accurately simulate hyperelastic models like neo-Hookean and St. Venant-Kirchhoff, and they become unstable with high elastic modulus or large time intervals.

Method used

A method and apparatus for SPH-based hyperelastic simulation using a processor and memory to optimize the objective function through an iterative L-BFGS algorithm, approximating the Hessian matrix, and defining the state of particles with a projection of the deformation gradient to stabilize simulations.

Benefits of technology

Enables stable simulation of deformable bodies using sophisticated hyperelastic models with higher elastic coefficients and larger time steps, improving accuracy and reducing complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024127734000001
    Figure 2024127734000001
Patent Text Reader

Abstract

To provide an SPH-based hyperelastic simulation method and apparatus.SOLUTION: An SPH-based hyperelastic simulation apparatus includes a processor, and a memory connected to the processor. The memory stores program instructions executed by the processor to define states of each of m particles in a discrete time as a set of positions and velocities, for an SPH-based deformable body composed of m particles, approximate hyperelastic energy of each of the m particles using a rest-pose volume, a material parameter, a vectorized deformation gradient, and a projection of the vectorized deformation gradient in order to optimize an objective function for solving new states of each of the m particles, search for an initial approximation of a Hessian matrix using the approximated hyperelastic energy, and simulate the SPH-based deformable body based on the searched initial approximation.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to physics-based animation techniques, and more particularly to a method and apparatus for simulating a hyperelastically deformable body based on SPH. [Background technology]

[0002] A representative conventional technology for SPH (Smoothed Particle Hydrodynamics)-based deformable body simulation is the technology described in the paper "Fast Corotated Elastic SPH Solids with Implicit Zero-Energy Mode Control" (hereinafter referred to as "existing technique") published in the international journal PACMCGIT (Proceedings of the ACM on Computer Graphics and Interactive Techniques).

[0003] The technique applies a backward Euler method to approximate the next position and velocity of a deformable body of particles, but does so by solving two linear systems in sequence.

[0004] Here, the solutions of the two linear systems are the Cholesky factorization and the preconditioned conjugate gradient, respectively.

[0005] Existing techniques are optimized to represent the simplest of the hyperelastic models, the corotated model, and therefore cannot simulate the movement of SPH-based deformable bodies using more sophisticated models such as the neo-Hookean or St. Venant-Kirchoff. In addition, if a high elastic modulus or a large time interval is used, the simulation results become unstable. [Prior art documents] [Patent documents]

[0006] [Non-Patent Document 1] Fast Corotated Elastic SPH Solids with Implicit Zero-Energy Mode Control Paper Summary of the Invention [Problem to be solved by the invention]

[0007] An object of the present invention is to provide a method and apparatus for SPH-based hyperelastic simulation that can reduce complexity and increase accuracy. [Means for solving the problem]

[0008] In order to solve the above-mentioned technical problems, according to one embodiment of the present invention, there is provided an SPH-based hyperelastic simulation device, comprising a processor and a memory connected to the processor, wherein the memory stores program instructions to be executed by the processor to: define a state of each of the m particles at a discrete time as a position and velocity set for an SPH-based deformable body composed of m particles; approximate a hyperelastic energy of each of the m particles using a rest-pose volume, material parameters, a vectorized deformation gradient, and a projection of the vectorized deformation gradient in order to optimize an objective function for solving a new state of each of the m particles; search for an initial approximation of a Hessian matrix using the approximated hyperelastic energy; and simulate the SPH-based deformable body based on the searched initial approximation.

[0009] The deformation gradient is defined by the following mathematical formula:

number

[0010] The superelastic energy is defined by the following formula:

number

[0011] The new state is expressed by the following equation:

number

[0012] The internal force is evaluated with a negative slope and the new state is expressed by the following equation:

number

[0013] The optimization problem for the objective function is reformulated as follows:

number

[0014] The program instructions may optimize the objective function through an iterative approach using a limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) algorithm.

[0015] According to another aspect of the present invention, there is provided a method for simulating SPH-based hyperelasticity in an apparatus having a processor and a memory, the method including: generating an SPH-based deformed body consisting of m particles; defining, for the SPH-based deformed body consisting of m particles, a state of each of the m particles at discrete time as a position and velocity set; approximating the hyperelastic energy of each of the m particles using a rest-pose volume, material parameters, a vectorized deformation gradient, and a projection of the vectorized deformation gradient to optimize an objective function for solving a new state of each of the m particles; searching for an initial approximation of a Hessian matrix using the approximated hyperelastic energy; and simulating the SPH-based deformed body based on the searched initial approximation.

[0016] According to yet another aspect of the present invention, there is provided a computer program stored on a computer readable recording medium for carrying out the method. Effect of the Invention

[0017] According to the present invention, it is possible to simulate the motion of deformable bodies on SPH foundations by applying more sophisticated models such as neo-Hookean and St. Venant-Kirchoff.

[0018] In addition, according to the present invention, the existing technique is extended to an optimization problem and solved by Limited-Memory BFGS (L-BFGS), which makes it possible to generate stable simulation results even when using a higher elastic modulus or a larger time step than the existing technique. [Brief description of the drawings]

[0019] [Figure 1] 1 is a diagram showing the configuration of an SPH-based hyperelasticity simulation apparatus according to an embodiment of the present invention. [Diagram 2] 1 is a diagram showing an L-BFGS algorithm based on A0 according to an embodiment of the present invention. [Diagram 3] 13 shows the results of a solver tested on various elastic models. [Figure 4] 1 is a diagram showing a simulation result according to the present embodiment and a simulation result according to an existing technique; [Diagram 5] 11 is a diagram showing a result of applying the L-BFGS algorithm according to the present embodiment and a simulation result of the existing Newton method. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0020] The present invention can be modified in various ways and can have various embodiments, and specific embodiments are illustrated in the drawings and described in detail in the detailed description. However, it is not intended to limit the present invention to the specific embodiments, and it should be understood that the present invention includes all modifications, equivalents, and alternatives within the spirit and technical scope of the present invention.

[0021] The terms used in this specification are merely used to describe certain embodiments and are not intended to limit the present invention. The singular term includes the plural term unless otherwise clearly indicated in the context. In this specification, the terms "include" or "have" are intended to specify the presence of features, numbers, steps, operations, components, parts, or combinations thereof described in the specification, and should be understood not to preclude the presence or addition of one or more other features, numbers, steps, operations, components, parts, or combinations thereof.

[0022] Furthermore, it goes without saying that the components of the embodiments described with reference to each drawing are not limited to the applicable embodiment only, but may be embodied to be included in other embodiments within the scope of the technical concept of the present invention, and even if separate description is omitted, multiple embodiments may be embodied again into one integrated embodiment.

[0023] In addition, when describing the present invention with reference to the accompanying drawings, the same or related reference numerals are used for the same components regardless of the reference numerals, and duplicated descriptions thereof will be omitted. In describing the present invention, if it is determined that a detailed description of the related known technology unnecessarily obscures the gist of the present invention, the detailed description thereof will be omitted.

[0024] FIG. 1 is a diagram showing the configuration of an SPH-based hyperelasticity simulation apparatus according to a preferred embodiment of the present invention. As shown in FIG. 1, the SPH-based hyperelastic simulation device includes a processor 100 and a memory 102.

[0025] The processor 100 includes a central processing unit (CPU) and a graphics processing unit (GPU) that execute computer programs, as well as a virtual machine and the like. Memory 102 includes volatile storage devices such as a fixed hard drive or removable storage devices, including CompactFlash units, USB memory sticks, etc. Memory 102 may also include volatile memory, such as various types of random access memory.

[0026] The memory 102 according to the present embodiment stores program commands for simulating an SPH-based deformable body composed of m particles. These program instructions are stored on a computer-readable recording medium.

[0027] The program command according to this embodiment defines the state of each of the m particles at a discrete time as a position and velocity set for an SPH-based deformable body composed of m particles, approximates the hyperelastic energy of each of the m particles using a rest-pose volume, material parameters, a vectorized deformation gradient, and a projection of the vectorized deformation gradient in order to optimize an objective function for solving a new state of each of the m particles, searches for an initial approximation of a Hessian matrix using the approximated hyperelastic energy, and simulates the SPH-based deformable body based on the searched initial approximation.

[0028] According to this embodiment, the objective function is optimized by an iterative approach using the limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) algorithm.

[0029] Hereinafter, the SPH-based hyperelastic simulation process according to the present embodiment will be described in detail. The SPH-based hyperelastic simulation according to this embodiment is based on deformation gradient and zero-energy mode suppression.

[0030] These will be explained in detail below. Elastic energy models (such as corotated, Neo-Hookean, and St. Venant-Kirchoff) are widely used for elastically deforming bodies.

[0031] JPEG2024127734000010.jpg14149

[0032] The deformation gradient for the existing SPH foundation deformation body is expressed as follows:

number

[0033]

number

number

number

[0034] Next we present the implicit penalty forces that suppress the zero energy modes previously proposed.

number

number

[0035] The optimization process is described in detail below. Given the state JPEG2024127734000020.jpg25140tn, the implicit Euler scheme is n+1 Approximate the next state of

number

number

[0036] To solve for the new state xn+1 in Equation 8, it is reformulated as an optimization problem to find xn+1 that minimizes the following objective function g(x):

number

number

[0037] Despite the fast convergence properties of Newton's method, the Hessian matrix per solver iteration This is less efficient because JPEG2024127734000027.jpg11128 must be calculated and factorized.

[0038] In this embodiment, the limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) algorithm is used. JPEG2024127734000028.jpg17143

[0039] In the following, we present an effective approximation of the matrix for this embodiment and demonstrate the efficiency of the optimization-based elastic SPH solid solver through experiments.

[0040] In the following, an initial approximation of the Hessian matrix is ​​given. The initial approximation of the Hessian, denoted by A0, has a significant effect on the convergence speed of L-BFGS. JPEG2024127734000029.jpg53143

number

[0041]

number

number

number

[0042] FIG. 2 is a diagram showing the L-BFGS algorithm based on A0 according to the present embodiment. FIG. 3 shows the results of the solver tested on various elastic models.

[0043] Referring to FIG. 3, it can be seen that the model according to the present embodiment better represents the torsion of the elastic beam than the corotated model on the left.

[0044] FIG. 4 is a diagram showing a simulation result according to the present embodiment and a simulation result according to the existing technique. As shown in Figure 4(a), when L-BFGS is performed once, the simulation is somewhat unstable. However, as shown in Figure 4(b), when the number of L-BFGS runs is increased to two, the simulation quickly stabilizes. As shown in FIG. 4(c), when a simulation is performed using the existing technique, it is unstable. In order to stabilize the simulation using the existing technique, as shown in FIG. 4(d), the size of h must be reduced, which causes a problem of increased complexity.

[0045] FIG. 5 shows the results of applying the L-BFGS algorithm according to this embodiment and the simulation results of the existing Newton method. From this, it can be seen that there is not much difference between the results of applying the L-BFGS algorithm according to this embodiment and the existing Newton method.

[0046] The above-described embodiments of the present invention have been disclosed for illustrative purposes, and those skilled in the art may make various modifications, changes, and additions within the spirit and scope of the present invention, and these modifications, changes, and additions should be considered to fall within the scope of the following claims. [Explanation of symbols]

[0047] 100 processors 102 Memory

Claims

1. A hyperelasticity simulation device based on SPH (Smoothed Particle Hydrodynamics), A processor; a memory coupled to the processor; The memory includes: For an SPH-based deformation body consisting of m particles, the states of each of the m particles at discrete times are defined as a position and velocity set; approximating a hyperelastic energy of each of the m particles using a rest-pose volume, material parameters, vectorized deformation gradients, and a projection of the vectorized deformation gradients to optimize an objective function for solving a new state of each of the m particles; Using the approximated hyperelastic energy, find an initial approximation of the Hessian matrix; simulating the SPH-based variant based on the searched initial approximation; The SPH-based hyperelastic simulation device further comprises program instructions stored therein, the program instructions being executed by the processor.

2. 2. The SPH-based hyperelastic simulation device of claim 1, wherein the deformation gradient is defined by the following mathematical formula: [0010] 【number】

3. 3. The SPH-based hyperelastic simulation device of claim 2, wherein the hyperelastic energy is defined by the following mathematical formula: [0045] Here, Ψ denotes an elastic energy density function, which varies depending on the type of elastic material of the deformable body.

4. The SPH-based hyperelastic simulation device of claim 3 , wherein the deformation gradient is approximated through a zero energy mode.

5. 5. The SPH-based hyperelastic simulation device of claim 4, wherein the new state is expressed by the following equation: [0070] 【number】

6. 6. The SPH-based hyperelastic simulation device of claim 5, wherein the internal force is evaluated with a negative gradient, and the new state is expressed by the following equation: [0080]

7. 7. The SPH-based hyperelastic simulation device of claim 6, wherein the optimization problem of the objective function is reformulated by the following equation: [0097]

8. The program command:

2. The SPH-based hyperelastic simulation device according to claim 1, wherein the objective function is optimized by an iterative approach using a limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) algorithm.

9. A method for simulating hyperelasticity based on SPH (Smoothed Particle Hydrodynamics) in an apparatus having a processor and a memory, comprising: generating a variant of the SPH base consisting of m particles; For a deformation of an SPH base composed of the m particles, a state of each of the m particles at a discrete time is defined as a position and velocity set; approximating a hyperelastic energy of each of the m particles using a rest-pose volume, material parameters, vectorized deformation gradients, and a projection of the vectorized deformation gradients to optimize an objective function for solving a new state of each of the m particles; using the approximated hyperelastic energy to find an initial approximation of the Hessian matrix; simulating a deformed body of the SPH-based material based on the searched initial approximation;

10. 10. A computer program stored on a computer readable recording medium for carrying out the method according to claim 9.

Citation Information

Patent Citations

  • Diffusion weighted image denoising algorithm, medium and device

    CN113837958A

  • Optimal calculation method for equivalent gas absorption coefficient in AMCKD mode

    CN114925507A

  • Information processing device, calculation method, program, and recording medium

    JP2012220819A