PROGRAM, INFORMATION PROCESSING APPARATUS, AND SIMULATION METHOD

The information processing device simulates changing fluid characteristics by varying particle densities and using speed functions to generate realistic fluid simulations, addressing the limitations of conventional methods and enhancing image generation capabilities.

JP7623160B2Active Publication Date: 2025-01-28KOEI TECMO GAMES CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2021027196
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-02-24
Publication Date
2025-01-28
Estimated Expiration
2041-02-24

AI Technical Summary

Technical Problem

Conventional fluid simulation methods fail to simulate the process of changing characteristics of mixed fluids effectively.

Method used

An information processing device that simulates the process of changing characteristics of mixed fluids on a particle base by varying the density of fluid particles, using a speed function to calculate and generate characteristic changes, and updating particle properties accordingly.

Benefits of technology

Enables the simulation of changing characteristics of mixed fluids, allowing for the generation of realistic images such as water splashes and foaming phenomena in three-dimensional computer graphics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007623160000001
    Figure 0007623160000001
  • Figure 0007623160000002
    Figure 0007623160000002
  • Figure 0007623160000003
    Figure 0007623160000003
Patent Text Reader

Abstract

To simulate a process of a characteristic change of a fluid mixture on a particle basis.SOLUTION: A program is provided in which an information processing apparatus that simulates a process of a characteristic change of a fluid mixture on a particle basis is caused to function as a feature change speed calculation unit that calculates a speed of the feature change of the fluid mixture based on a speed function of the feature change of the fluid mixture using a density of particles of a plurality types of fluids included in the fluid mixture as a variable, and a characteristic change processing unit that updates particles included in the fluid mixture such that the feature change of the fluid mixture is generated based on the calculated speed of the feature change of the fluid mixture.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a program, an information processing device, and a simulation method. [Background technology]

[0002] A particle system is known as an example of a technique for expressing fluids such as liquids and gases. In a particle system, the movement of a fluid is expressed as the movement of a large number of particles, which are called particles. Particles have characteristics such as color and life span, and are generated, moved, or disappeared according to given rules or acting forces. Conventionally, a technique is known for generating realistic images of splashes of water by expressing splashes of water using particles (see, for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2002-216153 A Summary of the Invention [Problem to be solved by the invention]

[0004] It is possible to simulate simple mixing of fluids by treating multiple types of fluids on a particle basis. However, conventional simulations do not handle the process of property changes of mixed fluids.

[0005] The objective of the present disclosure is to simulate the process of property changes in a mixed fluid on a particle basis. [Means for solving the problem]

[0006] According to the present disclosure, there is provided a program for causing an information processing device that simulates the process of property change of a mixed fluid on a particle basis to function as a property change rate calculation unit that calculates the rate of property change of the mixed fluid based on a rate function of property change of the mixed fluid using the particle densities of multiple types of fluids contained in the mixed fluid as variables, and a property change processing unit that updates the particles contained in the mixed fluid so as to cause a property change of the mixed fluid based on the calculated rate of property change of the mixed fluid. Effect of the Invention

[0007] According to the present disclosure, it is possible to simulate the process of property changes in a mixed fluid on a particle basis. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a diagram illustrating an example of a configuration of a drawing system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram illustrating an example of a hardware configuration of an information processing device according to the present embodiment. [Diagram 3] FIG. 2 is a diagram illustrating an example of a functional configuration of an information processing device according to the present embodiment. [Figure 4] 10 is a flowchart illustrating an example of processing of the information processing device according to the embodiment. [Diagram 5] FIG. 2 is an image diagram of an example of processing performed by the information processing device according to the embodiment; [Figure 6] FIG. 2 is an image diagram of an example of processing performed by the information processing device according to the embodiment; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. The particle-based method for simulating the process of property changes in a mixed fluid described below can be implemented in, for example, a three-dimensional computer graphics (CG) drawing system and used to generate various images such as game images.

[0010] [System Configuration] First, a drawing system according to an embodiment will be described with reference to Fig. 1. The drawing system according to an embodiment is configured with an information processing device 10 shown in Fig. 1(A) or an information processing system shown in Fig. 1(B). The information processing device 10 in Fig. 1(A) is an electronic device operated by a user, and is a personal computer, a mobile phone such as a smartphone, a portable game machine, a tablet terminal, a home game device, an arcade game device, or the like. The information processing device 10 in Fig. 1(A) accepts operations from a user via a touch panel, a controller, a mouse, a keyboard, or the like, and displays an image according to the operation.

[0011] 1(B) is configured such that an information processing device 10 and a server device 14 are communicably connected via a network 18. The information processing device 10 in FIG. 1(B) is an electronic device similar to that in FIG. 1(A).

[0012] The server device 14 transmits and receives data to and from the information processing device 10, thereby providing the information processing device 10 with functions required for displaying on the information processing device 10 an image corresponding to a user operation accepted by the information processing device 10. The server device 14 may be realized by a cloud computer. The number of server devices 14 shown in FIG. 1(B) is not limited to one, and two or more server devices may be used for distributed processing. For example, the server device 14 may be used for downloading programs (applications) to the information processing device 10, user login processing, management of various tables, and the like. The system configuration in FIG. 1 is an example.

[0013] In the drawing system according to this embodiment, as described below, the information processing device 10 or the server device 14 simulates the process of change in the properties of a mixed fluid on a particle basis, and uses the results of the simulation, for example, to generate an image to be displayed by the information processing device 10.

[0014] [Hardware configuration] The information processing device 10 according to this embodiment is configured, for example, as shown in Fig. 2. The configuration of the server device 14 is similar to that of the information processing device 10, and therefore a description thereof will be omitted. Fig. 2 is a diagram showing an example of the hardware configuration of the information processing device according to this embodiment.

[0015] 2 includes, for example, a CPU (Central Processing Unit) 100, a storage device 102, a communication device 104, an input device 106, and an output device 108. The CPU 100 controls the information processing device 10 in accordance with a program. The storage device 102 is, for example, a memory such as a ROM (Read Only Memory) or a RAM (Random Access Memory), or a storage such as a HDD (Hard Disk Drive) or an SSD (Solid State Drive). The storage device 102 stores programs and data executed by the CPU 100.

[0016] The communication device 104 is a communication device such as a network circuit that controls communication. The input device 106 is an input device such as a touchpad, a controller, a mouse, a keyboard, a camera, a microphone, etc. The output device 108 is an output device such as a display, a speaker, etc. A touch panel is realized by combining a touchpad, which is an example of the input device 106, with a display, which is an example of the output device 108. The hardware configuration in FIG. 2 is an example.

[0017] [Function block] An example of a functional configuration in which the information processing device 10 simulates the process of property changes in a mixed fluid on a particle basis and displays the results of the simulation will be described below with reference to FIG. 3. However, at least a part of the functional configuration in FIG. 3 may be provided in the server device 14, and the information processing device 10 and the server device 14 may work together to perform processing.

[0018] 3 is a diagram showing an example of the functional configuration of the information processing device according to this embodiment. The information processing device 10 in FIG.

[0019] The storage unit 210 stores a program 212, fluid data 214, and velocity function data 216. The storage unit 210 may be realized by the storage device 102, or may be realized by a storage device connected via the network 18 or the like. The program 212 is a program executed by the CPU 100.

[0020] The fluid data 214 includes various data necessary for handling multiple types of fluids on a particle basis. The fluids are, for example, gases and liquids. A mixed fluid is a fluid in which multiple types of fluids are mixed. A mixed fluid may be a mixture of different liquids, a liquid mixed with gas, or a liquid mixed with gas.

[0021] One example of a method for expressing such fluids is the particle system. A particle system can express a fluid that is composed of moving particles. Examples of fluids that can be expressed using a particle system include water, steam, and fog. The characteristics of a fluid can be expressed by, for example, volume, viscosity, color, and so on.

[0022] In addition, the characteristics of a mixed fluid can be expressed by the characteristics of the multiple types of fluids contained in the mixed fluid, the ratio (density) of fluid particles contained in a specific volume of the mixed fluid, etc. In the following explanation, the density of fluid particles contained in the mixed fluid may be referred to as the fluid density.

[0023] The rate function data 216 includes a rate function for calculating the rate of change in the properties of the mixed fluid, using the density of the fluids contained in the mixed fluid as a variable. A rate function is prepared for each reaction that changes the properties of the mixed fluid, such as mixing of fluids or chemical changes. Reactions that change the properties of the mixed fluid may be grouped and a rate function may be prepared for each group. A rate function may also be prepared for each requirement other than the reaction that changes the properties of the mixed fluid. One rate function may be prepared and shared.

[0024] The control unit 200 performs overall control of the information processing device 10. The overall control of the information processing device 10 includes control for simulating the process of property changes of a mixed fluid on a particle basis.

[0025] The control unit 200 is realized by the CPU 100 executing the processes described in the program 212. The control unit 200 has a configuration including a drawing control unit 220. The drawing control unit 220 has a configuration including a setting information receiving unit 222, a characteristic change speed calculation unit 224, a characteristic change processing unit 226, and an image generation unit 228.

[0026] The setting information receiving unit 222 receives setting information of a mixed fluid whose process of property change is simulated on a particle basis. The setting information is set, for example, by a user who operates the information processing device 10. The setting information of a mixed fluid whose process of property change is simulated on a particle basis includes data representing the properties of multiple types of fluids contained in the mixed fluid, and data representing reactions such as chemical changes that change the properties of the mixed fluid. The data representing reactions such as chemical changes that change the properties of the mixed fluid may be automatically set based on the multiple types of fluids contained in the mixed fluid.

[0027] Based on a reaction that changes the properties of the mixed fluid set in the setting information, the property change rate calculation unit 224 reads a rate function corresponding to the reaction from the rate function data 216. Based on the rate function read from the rate function data 216, the property change rate calculation unit 224 calculates the rate of property change of the mixed fluid.

[0028] The rate function for a reaction is a function that uses the density of the fluid that causes the reaction as a variable and calculates the rate at which the properties of the mixed fluid change from the rate at which the reaction occurs. A fluid with a high density contains a large number of particles in a specific volume, and there are more opportunities for multiple particles to react with each other to generate particles with new properties, which increases the reaction rate.

[0029] In addition, a fluid with a low density contains fewer particles in a specific volume, and so there is less opportunity for multiple particles to react to produce a particle with new properties, resulting in a slower reaction rate. By using the density of the fluid causing the reaction as a variable, the rate function can calculate the rate at which the reaction occurs as the rate at which the properties of the mixed fluid change.

[0030] Based on the calculated rate of change in the properties of the mixed fluid, the property change processing unit 226 updates the property change in the mixed fluid by a process of eliminating particles contained in the mixed fluid, a process of generating particles with new properties, etc., so that the property change in the mixed fluid occurs at that rate. The density of the fluid contained in the mixed fluid changes as a result of the processing by the property change processing unit 226.

[0031] The characteristic change processing unit 226 determines the characteristics of the mixed fluid from the characteristics of each fluid based on the density of the fluids contained in the mixed fluid. For example, the characteristic change processing unit 226 determines the characteristics of the mixed fluid from the characteristics of each fluid so that the influence of the fluid with a high density is large and the influence of the fluid with a low density is small.

[0032] The image generator 228 generates an image of the change in the characteristics of the mixed fluid based on the determined characteristics of the mixed fluid. For example, the image generator 228 can generate an image of a complex mixed fluid, such as an image of changes in characteristics such as coloring and viscosity due to the mixing of liquids, or an image of the foaming phenomenon of a carbonated drink.

[0033] The operation reception unit 202 receives various operations by the user on the input device 106. The output control unit 204 displays various screens on the output device 108 under the control of the control unit 200. The operation reception unit 202 is realized by the CPU 100 controlling the input device 106 under the control of a program 212. The output control unit 204 is realized by the CPU 100 controlling the output device 108 under the control of the program 212. Various operations by the user on the input device 106 refer to operations in which the user operates the operation reception unit 202 to cause the CPU 100 to execute processing. The output control unit 204 displays various screens and outputs sounds under the control of the control unit 200.

[0034] The communication unit 206 communicates via the network 18 etc. The communication unit 206 is realized by the CPU 100 executing a program 212 and controlling the communication device 104 in accordance with the program 212.

[0035] [process] In the following, an example will be described in which a user sets configuration information for a mixed fluid whose property changes are to be simulated on a particle basis in the information processing device 10, and the information processing device 10 simulates the process of property changes in the mixed fluid on a particle basis and displays the results of the simulation.

[0036] 4 is a flowchart of an example of processing by the information processing device according to this embodiment. In step S10, the setting information receiving unit 222 of the information processing device 10 receives setting information of a mixed fluid for simulating a process of property change on a particle basis from a user.

[0037] In step S12, the property change rate calculation unit 224 reads out a reaction that changes the property of the mixed fluid set in the setting information (for example, particle A and particle B undergo a chemical reaction to become particle C). The property change rate calculation unit 224 reads out a rate function corresponding to the read out reaction from the rate function data 216. The rate function read out in step S12 is a function for calculating the rate of the reaction that changes the property of the mixed fluid set in the setting information. The property change rate calculation unit 224 calculates the rate of the reaction that changes the property of the mixed fluid set in the setting information based on the read out rate function.

[0038] The rate function read out in step S12 can be expressed by the following formula (1) or the like, for example, in the case of a reaction in which fluids A and B contained in a mixed fluid change to become fluid C. The rate function in the following formula (1) may use the densities of fluid A and fluid B raised to the nth power (n=2, 3, ...).

[0039] Velocity function = constant × density of fluid A × density of fluid B … (1) In step S14, the characteristic change processing unit 226 updates the mixed fluid by, for example, eliminating particles contained in the mixed fluid or generating particles with new characteristics, so that the mixed fluid characteristic changes at the calculated reaction rate that changes the mixed fluid characteristic. The density of each fluid contained in the mixed fluid changes as a result of the process of step S14. The change in density of each fluid contained in the mixed fluid changes the degree of influence of each fluid, resulting in a change in the mixed fluid characteristic.

[0040] In step S16, the image generating unit 228 generates an image of the mixed fluid whose characteristics such as color development and viscosity have been changed based on the characteristics of the mixed fluid changed by the process of step S14. In step S18, the output control unit 204 displays the image of the mixed fluid generated by the image generating unit 228 on the output device 108.

[0041] The processing of steps S12 to S20 is repeated until the simulation is completed. By repeating the processing of steps S12 to S20, the information processing device 10 can display an image of the mixed fluid whose characteristics change over time.

[0042] 4, for example, the density of each fluid contained in the mixed fluid changes in step S14, and therefore the speed of the property change of the mixed fluid changes due to the influence of the above formula (1) by repeating the processes of steps S12 to S20. Therefore, the information processing device 10 can display an image of a mixed fluid in which the speed of the property change changes over time.

[0043] When it is determined in step S20 that the simulation is to be ended, the information processing device 10 ends the processing of the flowchart in FIG.

[0044] Fig. 5 is an image diagram of an example of processing by the information processing device according to this embodiment. Fig. 5 shows an example of a reaction that changes the properties of a mixed fluid, in which particle A and particle B undergo a chemical change to become particle C. Fig. 5(a) shows an example of a reaction that changes the properties of a mixed fluid, which is set in the setting information.

[0045] Figure 5(b) shows the process of inputting the densities of particle A and particle B into the rate function of the reaction in which particle A and particle B undergo a chemical change to become particle C, and calculating the speed at which particle A and particle B disappear and particle C is generated from the rate function. The speed at which particle A and particle B disappear and particle C is generated is the speed at which the properties of the mixed fluid change.

[0046] FIG. 5(c) shows a process for causing a change in the characteristics of the mixed fluid by performing a process for eliminating particles A and B and a process for generating particle C at the speed calculated as in FIG. 5(b).

[0047] The image diagram in Fig. 5 is just an example, and may be, for example, as shown in Fig. 6. Fig. 6 is an image diagram of an example of processing of the information processing device according to this embodiment. Fig. 6 shows an example of a reaction in which particle D becomes particle E as an example of a reaction that changes the properties of the mixed fluid.

[0048] Fig. 5 shows an example in which there are two types of particles before the characteristic change and one type of particle after the characteristic change. Fig. 6 shows an example in which there is one type of particle before the characteristic change and one type of particle after the characteristic change. Note that the number of types of particles before the characteristic change and the number of types of particles after the characteristic change are not limited to the examples in Figs. 5 and 6.

[0049] Figure 6(a) shows the reaction in which particle D changes into particle E. Figure 6(b) shows the process of inputting the density of particle D into the rate function of the reaction in which particle D changes into particle E and calculating the speed at which particle D disappears and particle E is generated. The speed at which particle D disappears and particle E is generated is the rate at which the properties of the mixed fluid change.

[0050] FIG. 6(c) shows a process of causing a change in the characteristics of the mixed fluid by performing a process of annihilating particle E and a process of generating particle E at the speed calculated as in FIG. 6(b).

[0051] As described above, according to this embodiment, it is possible to simulate the process of change in the properties of a mixed fluid on a particle basis.

[0052] The information processing device of the disclosed embodiment should be considered as an example and not a limitation. The above embodiment can be modified and improved in various forms without departing from the scope and spirit of the appended claims. In addition, the matters described in the above-mentioned embodiments can be configured in other ways as long as they are not inconsistent, and can be combined as long as they are not inconsistent. [Explanation of symbols]

[0053] 10. Information processing device 14 Server equipment 18 Network 200 Control section 202 Operation reception section 204 Output control section 206 Communications Department 210 Storage section 212 Programs 214 Fluid Data 216 Speed ​​Function Data 220 Drawing control unit 222 Setting information reception section 224 Characteristic change rate calculation unit 226 Characteristics change processing section 228 Image Generation Unit

Claims

1. An information processing device that simulates the process of property changes of a mixed fluid on a particle basis, a characteristic change rate calculation unit that calculates a rate of characteristic change of the mixed fluid based on a rate function that represents a reaction rate at which particles contained in the mixed fluid change from particles before a characteristic change to particles after a characteristic change, the reaction rate being determined by using the densities of particles of a plurality of types of fluid contained in the mixed fluid as variables; a property change processing unit that updates particles contained in the mixed fluid so as to cause a property change of the mixed fluid based on the calculated speed of the property change of the mixed fluid; A program to function as a

2. An information processing device for simulating the process of property changes of a mixed fluid on a particle basis, a property change rate calculation unit that calculates a rate of property change of the mixed fluid based on a rate function of property change of the mixed fluid using densities of particles of multiple types of fluids contained in the mixed fluid as variables; a characteristic change processing unit that eliminates particles contained in the mixed fluid before the characteristic change and generates particles after the characteristic change based on the calculated speed of the characteristic change of the mixed fluid; A program to function as a

3. The characteristic change processing unit updates particles contained in the mixed fluid so as to express a color change of the mixed fluid due to mixing of a plurality of types of liquids contained in the mixed fluid, a viscosity change of the mixed fluid, or a bubbling phenomenon from the mixed fluid.

3. The program according to claim 1 or 2.

4. An information processing device for simulating a process of change in properties of a mixed fluid on a particle basis, comprising: a property change rate calculation unit that calculates a rate of property change of the mixed fluid based on a rate function that represents a reaction rate at which particles contained in the mixed fluid change from particles before a property change to particles after a property change, the reaction rate being determined by using the densities of particles of the multiple types of fluid contained in the mixed fluid as variables; a characteristic change processing unit that updates particles contained in the mixed fluid so as to cause a change in the characteristic of the mixed fluid based on the calculated speed of the change in the characteristic of the mixed fluid; An information processing device having the above configuration.

5. An information processing device for simulating a process of change in the properties of a mixed fluid on a particle basis, comprising: a property change rate calculation unit that calculates a rate of property change of the mixed fluid based on a rate function of property change of the mixed fluid, the rate function being determined by using densities of particles of a plurality of types of fluid contained in the mixed fluid as variables; a characteristic change processing unit that eliminates particles contained in the mixed fluid before the characteristic change and generates particles after the characteristic change based on the calculated speed of the characteristic change of the mixed fluid; An information processing device having the above configuration.

6. A simulation method executed by an information processing device for simulating a process of change in properties of a mixed fluid on a particle basis, comprising the steps of: a characteristic change rate calculation step of calculating a rate of characteristic change of the mixed fluid based on a rate function that represents a reaction rate at which particles contained in the mixed fluid change from particles before a characteristic change to particles after a characteristic change, the reaction rate being determined by using the densities of particles of the multiple types of fluid contained in the mixed fluid as variables; a property change processing step of updating particles contained in the mixed fluid so as to cause a property change of the mixed fluid based on the calculated speed of the property change of the mixed fluid; The simulation method includes:

7. A simulation method executed by an information processing device for simulating a process of property change of a mixed fluid on a particle basis, comprising: a characteristic change rate calculation step of calculating a rate of characteristic change of the mixed fluid based on a rate function of the characteristic change of the mixed fluid, the rate function being determined by using densities of particles of a plurality of types of fluid contained in the mixed fluid as variables; a characteristic change processing step of eliminating particles before the characteristic change contained in the mixed fluid and generating particles after the characteristic change based on the calculated speed of the characteristic change of the mixed fluid; The simulation method includes:

Citation Information

Patent Citations

  • Image generation system, program and information storage medium

    JP2002216153A

  • Particle behavior analyzer and program

    JP2009134504A

  • Particle behavior analyzing method, particle behavior analyzing device and analyzing program

    JP2011170832A

  • Information processing device, particle simulator system, and particle simulator method

    JP2020194285A