Simulation method, simulation device, and program
By representing an elastic object as a particle aggregate and applying FIRE to rigid body motion, the method achieves rapid convergence and reduces simulation time to equilibrium states.
Patent Information
- Application Number
- JP2021107625
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-06-29
- Publication Date
- 2024-09-09
- Estimated Expiration
- 2041-06-29
AI Technical Summary
FIRE method is ineffective for simulating the behavior of a collection of particles representing an elastic object, leading to slow convergence and calculation failures due to internal vibrations and difficulty in setting attenuation constants.
Represent the elastic object as a virtual aggregate of multiple particles, calculate forces acting on each particle, and apply FIRE to the motion of the object as a rigid body, distributing additional forces to each particle to solve the equation of motion.
Enables high-speed simulation of elastic object behavior by ensuring rapid convergence and reducing calculation time to equilibrium states.
Smart Images

Figure 0007547288000026 
Figure 0007547288000022 
Figure 0007547288000023
Abstract
Description
[Technical field]
[0001] The present invention relates to a simulation method, a simulation device, and a program. [Background technology]
[0002] Known methods for simulating the movement of multiple particles include the molecular dynamics method (MD method) and the renormalized group molecular dynamics method (RMD method) (Patent Document 1). In this specification, the molecular dynamics method and the renormalized group molecular dynamics method are simply referred to as the "molecular dynamics method." The behavior of the analysis object can be simulated by generating an analysis model in which an elastic analysis object is represented by multiple particles, defining the forces acting between the particles, and analyzing the movement of these particles using the molecular dynamics method.
[0003] When performing static analysis of a particle system using molecular dynamics, FIRE (Fast Inertial Relaxation Engine) is known as a method for quickly converging the vibration of a physical quantity to be determined and quickly obtaining a solution (Non-Patent Document 1). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2020-201828 A [Non-patent literature]
[0005] [Non-Patent Document 1] Erik Bitzek rt. al., "Structural Relaxation Made Simple", Physical Review Letters 97, 170201 (2006) Summary of the Invention [Problem to be solved by the invention]
[0006] FIRE is applicable to a single particle, and cannot be applied to an aggregate of particles representing an elastic analysis object. The object of the present invention is to provide a simulation method, a simulation device, and a program that can quickly obtain a solution when representing an elastic analysis object as an aggregate of multiple particles and simulating the behavior of the analysis object by solving the equation of motion for each particle. [Means for solving the problem]
[0007] According to one aspect of the present invention, An elastic analysis object is represented as an aggregate of multiple virtual particles, Calculate the force acting on each particle at each time step, A simulation method for updating a velocity and a position of each particle by solving an equation of motion for each particle based on a force acting on the particle, comprising the steps of: When solving the equation of motion for each particle, The object to be analyzed is regarded as a rigid body, and a force acting on the object to be analyzed and a velocity of the object to be analyzed are calculated based on the force acting on each particle, the velocity and the position of each particle, which are calculated for each time step; applying FIRE to the motion of the object to be analyzed to calculate a force to be applied to the object to be analyzed; determining a force to be additionally applied to each particle by distributing the force to be applied to the analysis object to a plurality of particles; A simulation method is provided in which the force acting on each particle is added with the additional force to solve the equation of motion.
[0008] According to another aspect of the invention, An apparatus for simulating the behavior of an elastic analysis object by using a molecular dynamics method, comprising: an input section for inputting simulation conditions; a processing unit that performs an analysis based on the simulation conditions inputted to the input unit; Equipped with The processing unit includes: The object to be analyzed is represented as a virtual aggregate of a plurality of particles; Calculate the force acting on each particle at each time step, solving an equation of motion for each particle based on the forces acting on each particle to update the velocity and position of each particle; When solving the equation of motion for each particle, The object to be analyzed is regarded as a rigid body, and a force acting on the object to be analyzed and a velocity of the object to be analyzed are calculated based on the force acting on each particle, the velocity and the position of each particle, which are calculated for each time step; applying FIRE to the motion of the object to be analyzed to calculate a force to be applied to the object to be analyzed; determining a force to be additionally applied to each particle by distributing the force to be applied to the analysis object to a plurality of particles; A simulation device is provided which adds the additional force to the force acting on each particle and solves the equation of motion.
[0009] According to yet another aspect of the present invention, A procedure for obtaining simulation conditions; A procedure for expressing an elastic analysis object as an aggregate of a plurality of virtual particles; A procedure for calculating the force acting on each particle at each time step, solving an equation of motion for each particle based on the forces acting on each particle to update the velocity and position of each particle; When solving the equation of motion for each particle, a step of regarding the object to be analyzed as a rigid body, and calculating a force acting on the object to be analyzed and a velocity of the object to be analyzed based on a force acting on each particle, and a velocity and a position of each particle, which are obtained for each time step; applying FIRE to the motion of the object to be analyzed to calculate a force to be applied to the object to be analyzed; A step of determining a force to be additionally applied to each particle by distributing the force to be applied to the analysis object to a plurality of particles; a step of adding the additional force to the force acting on each particle and solving the equation of motion; A program for causing a computer to execute the above is provided. Effect of the Invention
[0010] By representing an elastic object to be analyzed as an aggregate of multiple particles and solving the equation of motion for each particle to simulate the behavior of the object to be analyzed, a solution can be obtained quickly. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1A is a schematic diagram showing an analytical model in which an elastic object to be analyzed is represented as an aggregate of multiple particles, and FIG. 1B is a schematic diagram showing physical quantities defined for the object to be analyzed regarded as a rigid body. [Diagram 2] FIG. 2 is a block diagram of the simulation device according to this embodiment. [Diagram 3] FIG. 3 is a flowchart of the simulation method according to this embodiment. [Figure 4] FIG. 4 is a graph showing the change over time in torque applied to a fixed member that fixes a partial area of one end face of a rotor. [Diagram 5] FIG. 5 is a graph showing the change in angular velocity ω over time when the rotating body is regarded as a rigid body. [Figure 6] 6A and 6B are schematic diagrams of an analytical model for analysis by applying FIRE. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] [General FIRE] Before describing the embodiments, FIRE, which is a method for quickly obtaining a solution in a simulation using a molecular dynamics method, will be described with reference to FIG.
[0013] 6A and 6B are schematic diagrams of an analytical model to which FIRE is applied for analysis. A particle 20 is placed in an analytical space. The velocity of the particle 20 is denoted as v, and the force acting on the particle 20 is denoted as f. When FIRE is applied, the following judgment value P(t) is calculated for each time step.
number
[0014] When the judgment value P(t) is negative or zero, that is, when the angle between the velocity v and the force f is 90° or more as shown in FIG. 6A, the velocity v(t+Δt) of the particle 20 in the next state is determined as follows.
number
[0015] When the judgment value P(t) is positive, that is, when the angle between the velocity v and the force f is less than 90° as shown in FIG. 6B, the velocity v(t+Δt) of the next state is found by solving the following equation of motion for the particle 20.
number
[0016] [FIRE with reference examples] Next, a reference example of FIRE will be described, in which an elastic analysis object is applied to an analysis model represented by an aggregate of particles.
[0017] In the FIRE of the reference example, the judgment value P(t) is defined by the following formula.
number
[0018] When the judgment value P(t) is negative or zero, the velocity v of the i-th particle 20 in the next state i (t+Δt) is determined as follows:
number
[0019] When the judgment value P(t) is positive, the velocity v of the next state is calculated by solving the following equation of motion for the i-th particle 20. i Find (t+Δt).
number
[0020] The FIRE in the above-mentioned reference example has the following problems. In the FIRE of the reference example, as shown in formula (4), the sum of the dot products of the forces acting on each particle and the particle's velocity is used as the judgment value P(t). Therefore, even if the velocity of the center of gravity of the object to be analyzed is zero, the judgment value P(t) has a certain value rather than zero due to internal vibration. When the temperature of the object to be analyzed is high or the velocity of the object to be analyzed approaches convergence, the condition that the judgment value P(t) is negative is often met. When this condition is met, the velocity of each particle becomes zero, slowing down the convergence.
[0021] Furthermore, when the judgment value P(t) is positive, as shown in equation (6), an equation of motion is solved in which a force accelerating in the direction of the force is additionally applied to each particle. The damping constant γ(t) needs to be set for each particle 20. Since the masses and interactions with the surroundings differ between particles 20, it is difficult to set the damping constant γ, and the calculation may fail.
[0022] [Example] Next, a simulation method, a simulation device, and a program according to an embodiment will be described with reference to FIGS.
[0023] FIG. 1A is a schematic diagram showing an analytical model in which an elastic analysis object 10 is represented by an aggregate of a plurality of particles 11. Note that FIG. 1A shows only a portion of the particles 11 that constitute the analysis object 10. An xyz orthogonal coordinate system is defined in the analytical space, and the position vector of the i-th particle 11 is expressed as r i and the velocity of the i-th particle 11 is v i It is marked as such.
[0024] In the embodiment, the analysis object 10 having elasticity is assumed to be a rigid body, and physical quantities are defined for the analysis object 10 regarded as a rigid body.
[0025] FIG. 1B is a schematic diagram showing physical quantities defined for an analysis object 10 considered as a rigid body. The position vector of the center of gravity of the analysis object 10 is denoted as R. The translational force acting on the center of gravity of the analysis object 10 is denoted as F, and the torque when the center of gravity is the center of rotation is denoted as T. The translational velocity of the center of gravity of the analysis object 10 is denoted as V, and the angular velocity is denoted as ω. For example, when the analysis object is a metal member that undergoes only slight deformation, the analysis object can be considered as a rigid body and the translational force F, torque T, translational velocity V, and angular velocity ω acting on the analysis object can be defined.
[0026] 2 is a block diagram of the simulation device according to this embodiment. The simulation device according to this embodiment includes an input unit 40, a processing unit 41, an output unit 42, and a storage unit 43. Simulation conditions and the like are input from the input unit 40 to the processing unit 41. Furthermore, various instructions (commands) and the like are input from a user to the input unit 40. The input unit 40 is composed of, for example, a communication device, a removable media reader, a keyboard, a pointing device, and the like.
[0027] The processing unit 41 executes a simulation based on the molecular dynamics method based on the input simulation conditions and commands. Furthermore, it outputs the simulation results to the output unit 42. The simulation results include, for example, information representing the time change in the position of the particles 11 (FIG. 1A) constituting the simulation object. The processing unit 41 includes, for example, a central processing unit (CPU) of a computer. A program for causing the computer to execute the simulation based on the molecular dynamics method is stored in the storage unit 43. The output unit 42 includes a communication device, a removable media writing device, a display, etc.
[0028] 3 is a flowchart of the simulation method according to this embodiment. The processing unit 41 (FIG. 2) executes a program stored in the storage unit 43 (FIG. 2), thereby carrying out the processing of each step of the simulation method.
[0029] First, the processing unit 41 generates an analytical model that represents an elastic analysis object 10 (FIG. 1A) as an aggregate of a plurality of particles based on the simulation conditions input from the input unit 40 (step S1). The simulation conditions include the shape of the analysis object 10, information that depends on the physical property values of the analysis object 10, initial conditions and boundary conditions of the simulation, a time step size, an analysis end condition, etc. The information that depends on the physical property values of the analysis object 10 includes information that defines the inter-particle interaction potential in the analytical model.
[0030] Next, the equation of motion is solved for each particle 11 (FIG. 1A) to update the velocity and position of each particle 11 for one time step.
[0031] Next, regarding the object to be analyzed 10 (FIG. 1B) as a rigid body, the force acting on the object to be analyzed 10 and the velocity of the object to be analyzed 10 are calculated based on the positions and velocities of the particles 11 (step S3). The velocity of the object to be analyzed 10 includes the translational velocity of the center of gravity and the angular velocity about the center of gravity.
[0032] The translational force F acting on the analysis object 10 is calculated by the following formula.
number
[0033] The translational velocity V of the analysis object 10 is calculated by the following formula:
number
[0034] Torque T acting on the analysis object 10 = (T x ,T y ,T z ) is calculated using the following formula:
number
[0035] Angular velocity of the analysis object 10 ω = (ω x ,ω y ,ω z ) is calculated using the following formula:
number
[0036] I x , I y , I z are the moments of inertia about the x-axis, y-axis, and z-axis, respectively, and are defined by the following equations.
number
[0037] After step S3 (FIG. 3), the processing unit 41 (FIG. 2) applies FIRE to the motion of the analysis object 10 so as to reduce vibrations of physical quantities that define the motion of the analysis object 10 considered to be a rigid body. This calculates the force to be applied to the analysis object 10 considered to be a rigid body. More specifically, the translational force and torque to be applied to the analysis object 10 are calculated (step S4).
[0038] The process of step S4 will be described in detail below. The motion of the analysis object 10 is separated into translational motion and rotational motion, and FIRE is applied to each of them. First, FIRE applied to translational motion will be described.
[0039] FIRE threshold P for translational motion t (t) is defined as follows:
number
[0040] When FIRE is applied to the translational motion of the analysis object 10, the judgment value P t When (t) is zero or negative, the translational velocity V(t+Δt) of the object to be analyzed 10 in the next state may be determined as follows:
number
[0041] Judgment value P t When (t) is positive, the translational velocity V(t+Δt) of the next state may be found by solving the following equation of motion for the object to be analyzed 10:
number
[0042] FIRE threshold P for rotational motion r (t) is defined as follows:
number
[0043] When FIRE is applied to the rotational motion of the analysis object 10, the judgment value P r When (t) is zero or negative, the angular velocity ω(t+Δt) of the object to be analyzed 10 in the next state may be determined as follows:
number
[0044] Judgment value P rWhen (t) is positive, the angular velocity ω(t+Δt) of the next state may be found by solving the following equation of motion for the object to be analyzed 10:
number
[0045] From equation (14), the translational force F to be additionally applied to the analysis object 10 by FIRE is add is described by the following formula:
number
[0046] From equation (17), the torque T to be additionally applied to the analysis object 10 by FIRE is add The x-component of the torque T is expressed by the following equation: add The same is true for the y and z components.
number
[0047] After step S4, the processing unit 41 calculates a translational force F add and torque T add is distributed to each particle 11, and the force to be additionally applied to each particle 11 is calculated (step S5).
[0048] Additional translational force F add is distributed to each particle 11 based on the following formula:
number
[0049] Additional torque Tadd The x component t of the force to be applied to the i-th particle 11 when the force is distributed to each particle 11 is i,x , y component t i,y ,z component t i,z is described by the following formula:
[0050]
number
[0051] Judgment value P for the translational movement of the analysis object 10 t When (t) is zero or negative, the velocity v of each particle 11 i The translational velocity V of the analysis object 10 at the current time is subtracted from the translational velocity V, so that the translational velocity V defined by the formula (8) is set to zero. r When (t) is zero or negative, the velocity v of each particle 11 i From the above, the velocity r of each of the particles 11 corresponding to the rotational velocity of the object 10 to be analyzed is calculated. i By subtracting ω, ω in Eq. (10) x , ω y , and ω z to zero.
[0052] The procedure from step S2 to step S5 is repeated until the analysis end condition is satisfied (step S6). When solving the equation of motion in step S2, the additional force to be applied obtained in step S5 is added to each of the particles 11.
[0053] Next, the excellent effects of the above embodiment will be described. In the above embodiment, in step S4 (FIG. 3), FIRE is applied to the motion of the analysis object 10 regarded as a rigid body, so that the calculation time until the analysis object 10 as a whole reaches a balanced state can be shortened.
[0054] In order to confirm the excellent effect of the above embodiment, a static analysis of a cylindrical rotor was performed using the simulation method according to the above embodiment. Next, the simulation results will be described with reference to Figures 4 and 5. In the simulation, a partial area of one end face of the rotor was attached and fixed to a fixing member, and a constant torque was applied to the outer circumferential surface of the rotor.
[0055] FIG. 4 is a graph showing the change over time in torque applied to a fixed member that fixes a partial area of one end face of a rotor. The horizontal axis represents the elapsed time from a certain time after the start of the analysis, and the vertical axis represents the torque normalized by the applied torque. The thick solid line in FIG. 4 represents the torque obtained using the simulation method according to the above embodiment, the thin solid line represents the torque obtained using the simulation method according to the reference example using equations (4) to (6), and the dashed line represents the torque obtained by simulation without applying FIRE. In a balanced state, the torque applied to the fixed member is equal to the applied torque. In other words, the normalized torque is 1.
[0056] When FIRE is not applied, the calculated torque value oscillates around the balance value. The calculated torque value of the reference example overshoots and then gradually approaches the balance value. In contrast, the calculated torque value of the above embodiment is almost at the balance value, and the increase in the calculated torque value becomes gentle, reaching a state of almost balance in a short time.
[0057] Fig. 5 is a graph showing the change in angular velocity ω over time when the rotating body is considered to be a rigid body. The horizontal axis represents the elapsed time from a certain time after the start of the analysis, and the vertical axis represents the angular velocity normalized with the maximum value set to 1. The thick solid line in Fig. 4 represents the angular velocity obtained using the simulation method according to the above embodiment, the thin solid line represents the angular velocity obtained using the simulation method according to the reference example using equations (4) to (6), and the dashed line represents the angular velocity obtained by simulation without applying FIRE. In the balanced state, the angular velocity becomes zero.
[0058] When FIRE is not applied, the calculated value of the angular velocity oscillates around zero. The calculated value of the angular velocity in the reference example reaches a maximum, then drops, and becomes discontinuously zero just before the balanced state. The point at which the calculated value of the angular velocity becomes discontinuously zero indicates that the judgment value P(t) of equation (4) has become zero or negative. In contrast, the calculated value of the angular velocity in the above embodiment reaches discontinuously zero immediately after the calculated value of the angular velocity reaches almost a maximum value. The point at which the calculated value of the angular velocity becomes discontinuously zero indicates that the judgment value P(t) of equation (12) has become zero or negative. t (t) or the judgment value P of equation (15) r This shows that (t) becomes zero or negative. In this simulation, the judgment value P r (t) is zero or negative.
[0059] As shown in Figures 4 and 5, by using the simulation method according to the above embodiment, it can be seen that the time required to reach a balanced state is shortened compared to when FIRE is not applied and when the simulation method according to the reference example is used.
[0060] Next, a modification of the above embodiment will be described. In the above embodiment, in step S3 (FIG. 3), the translational velocity and angular velocity are obtained as the velocity of the analysis object 10 regarded as a rigid body. However, it is also possible to obtain only one of the translational velocity and angular velocity and apply FIRE to only one of the translational motion and rotational motion of the analysis object 10.
[0061] The above-mentioned embodiment is merely an example, and the present invention is not limited to the above-mentioned embodiment. For example, various modifications, improvements, combinations, etc. are possible, and it will be obvious to those skilled in the art. [Explanation of symbols]
[0062] 10 Analytical Objects 11, 20 particles 40 Input section 41 Processing section 42 Output section 43 Storage section
Claims
1. An elastic analysis object is represented as an aggregate of multiple virtual particles, Calculate the force acting on each particle at each time step, A simulation method for updating a velocity and a position of each particle by solving an equation of motion for each particle based on a force acting on the particle, comprising the steps of: When solving the equation of motion for each particle, The object to be analyzed is regarded as a rigid body, and a force acting on the object to be analyzed and a velocity of the object to be analyzed are calculated based on the force acting on each particle, the velocity and the position of each particle, which are calculated for each time step; applying FIRE to the motion of the object to be analyzed to calculate a force to be applied to the object to be analyzed; determining a force to be additionally applied to each particle by distributing the force to be applied to the analysis object to a plurality of particles; A simulation method in which the additional force acting on each particle is added to the force acting on each particle to solve the equation of motion.
2. A translational force and a torque are calculated as the force acting on the analysis object, and a translational velocity and an angular velocity are calculated as the velocity of the analysis object; When applying FIRE to the motion of the object to be analyzed, applying FIRE to each of the translational motion and the rotational motion of the object to be analyzed; The simulation method according to claim 1 , wherein a translational force and a torque are calculated as the force to be applied to the object to be analyzed.
3. An apparatus for simulating the behavior of an elastic analysis object by using a molecular dynamics method, comprising: an input section for inputting simulation conditions; a processing unit that performs an analysis based on the simulation conditions inputted into the input unit; Equipped with The processing unit includes: The object to be analyzed is represented as a virtual aggregate of a plurality of particles; Calculate the force acting on each particle at each time step, solving an equation of motion for each particle based on the forces acting on each particle to update the velocity and position of each particle; When solving the equation of motion for each particle, The object to be analyzed is regarded as a rigid body, and a force acting on the object to be analyzed and a velocity of the object to be analyzed are calculated based on the force acting on each particle, the velocity and the position of each particle, which are calculated for each time step; applying FIRE to the motion of the object to be analyzed to calculate a force to be applied to the object to be analyzed; determining a force to be additionally applied to each particle by distributing the force to be applied to the analysis object to a plurality of particles; A simulation device that adds the additional force to be applied to each particle and solves the equation of motion.
4. The processing unit includes: A translational force and a torque are calculated as the force acting on the analysis object, and a translational velocity and an angular velocity are calculated as the velocity of the analysis object; When applying FIRE to the motion of the object to be analyzed, applying FIRE to each of the translational motion and the rotational motion of the object to be analyzed; 4. The simulation device according to claim 3, wherein a translational force and a torque are calculated as the force to be applied to the object to be analyzed.
5. A procedure for obtaining simulation conditions; A procedure for expressing an elastic analysis object as an aggregate of a plurality of virtual particles; A procedure for calculating the force acting on each particle at each time step, solving an equation of motion for each particle based on the forces acting on each particle to update the velocity and position of each particle; When solving the equation of motion for each particle, a step of regarding the object to be analyzed as a rigid body, and calculating a force acting on the object to be analyzed and a velocity of the object to be analyzed based on the force acting on each particle, and the velocity and position of each particle, which are obtained for each time step; applying FIRE to the motion of the object to be analyzed to calculate a force to be applied to the object to be analyzed; A step of determining a force to be additionally applied to each particle by distributing the force to be applied to the analysis object to a plurality of particles; a step of adding the additional force to the force acting on each particle and solving the equation of motion; A program that causes a computer to execute the following.
Citation Information
Patent Citations
Simulation method, simulation device and simulation program
JP2017049971A
Polymer molecule model disposition method, simulation method, simulation apparatus, and program
JP2020201828A
