CN109960841A - A kind of emulation mode of surface tension of liquid, terminal device and storage medium - Google Patents
A kind of emulation mode of surface tension of liquid, terminal device and storage medium Download PDFInfo
- Publication number
- CN109960841A CN109960841A CN201711434247.4A CN201711434247A CN109960841A CN 109960841 A CN109960841 A CN 109960841A CN 201711434247 A CN201711434247 A CN 201711434247A CN 109960841 A CN109960841 A CN 109960841A
- Authority
- CN
- China
- Prior art keywords
- particle
- flow surface
- indicate
- surface tension
- fluid
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T13/00—Animation
- G06T13/20—3D [Three Dimensional] animation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application is suitable for technical field of image processing, provide a kind of emulation mode of surface tension of liquid, terminal device and storage medium, it include: that fluid is divided into discrete particle, and the dynamic parameter of particle is calculated based on smooth kernel, particle in the fluid is moved according to the dynamic parameter of calculating, detect the particle of the flow surface, particle based on the flow surface detected, obtain the surface tension between the particle of the flow surface, the accuracy that surface tension emulates in fluid emulation can be improved by the application, so that the emulation of fluid is truer.
Description
Technical field
The application belongs to technical field of image processing more particularly to a kind of emulation mode of surface tension of liquid, terminal are set
Standby and storage medium.
Background technique
Fluid emulation is one of research hotspot of computer graphics, is had in fields such as animation, game and film special efficacys
Important application.Fluid emulation is there are many method at present, wherein smoothed particle method (Smoothed Particle
Hydrodynamics, SPH) method is the most commonly used one of method.
Currently based in the fluid emulation of smoothed particle method, surface tension calculates imitative to fluid true to nature is realized
Really it is of great significance.However, there is distortion in the fluid emulation that the emulation of current surface tension of liquid is realized.
Summary of the invention
In view of this, the embodiment of the present application provides emulation mode, terminal device and the storage of a kind of surface tension of liquid
Medium, to solve the problems, such as that the fluid emulation that the emulation of current surface tension of liquid is realized has distortion.
The first aspect of the embodiment of the present application provides a kind of emulation mode of surface tension of liquid, comprising:
Fluid is divided into discrete particle, and calculates the dynamic parameter of particle based on smooth kernel, the grain in the fluid
Son is moved according to the dynamic parameter of calculating;
Detect the particle of the flow surface;
Based on the particle of the flow surface detected, the surface tension between the particle of the flow surface is obtained.
The second aspect of the embodiment of the present application provides a kind of terminal device, comprising:
Fluid constructs module, joins for fluid to be divided into discrete particle, and based on the dynamic that smooth kernel calculates particle
It counts, the particle in the fluid is moved according to the dynamic parameter of calculating;
Detection module, for detecting the particle of the flow surface;
Emulation module, for the particle based on the flow surface detected, between the particle for obtaining the flow surface
Surface tension.
The third aspect of the embodiment of the present application provides a kind of terminal device, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
The step of realizing the method that the embodiment of the present application first aspect provides.
The fourth aspect of the embodiment of the present application provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the computer program realizes the embodiment of the present application when being executed by one or more processors
On the one hand the step of the method provided.
5th aspect of the embodiment of the present application provides a kind of computer program product, and the computer program product includes
Computer program, the computer program realize that the embodiment of the present application first aspect provides when being executed by one or more processors
The method the step of.
Fluid is divided into discrete particle by the embodiment of the present application, and the dynamic parameter of particle, institute are calculated based on smooth kernel
The particle stated in fluid is moved according to the dynamic parameter of calculating, the particle of the flow surface is detected, based on what is detected
The particle of flow surface obtains the surface tension between the particle of the flow surface, due to multiple by the way that fluid to be divided into
The particle of discrete particle, the flow surface detected is also independent from each other discrete particle, based on the particle of flow surface
The surface tension between the particle on surface is calculated, the accuracy of the surface tension of flow surface particle can be improved, so that stream
Body emulation obtains more life-like effect.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation process schematic diagram of the emulation mode for surface tension of liquid that one embodiment of the application provides;
Fig. 2 is a kind of implementation process signal of the emulation mode for surface tension of liquid that the another embodiment of the application provides
Figure;
Fig. 3 is the schematic block diagram for the terminal device that one embodiment of the application provides;
Fig. 4 is the schematic block diagram for the terminal device that the another embodiment of the application provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific
The application also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " instruction is described special
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step,
Operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment
And be not intended to limit the application.As present specification and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solution described herein, the following is a description of specific embodiments.
Fig. 1 is the implementation process schematic diagram of the emulation mode for the surface tension of liquid that one embodiment of the application provides, and is such as schemed
Shown this method may comprise steps of:
Fluid is divided into discrete particle by step S101, and the dynamic parameter of particle, the stream are calculated based on smooth kernel
Particle in body is moved according to the dynamic parameter of calculating.
In the embodiment of the present application, fluid is divided into the particle of series of discrete first, is equivalent to continuous fluid
It is indicated with the independent particle of interaction, each particle carries respective dynamic parameter, such as quality, speed, position etc..
By calculating the dynamic parameter of each particle, then each particle is obtained in such a way that the dynamic parameter of calculating moves
Obtain the various actions emulation of entire fluid.The particle of division is finer, and the fluid simulated naturally is truer, also more being capable of essence
The true various actions for simulating entire fluid.
Step S102 detects the particle of the flow surface.
In the embodiment of the present application, gauging surface tension is actually mainly related to the particle of flow surface, so needing
Detect the particle of flow surface.
Step S103 obtains the surface between the particle of the flow surface based on the particle of the flow surface detected
Tension.
It in the embodiment of the present application, can be by deriving Current surface particle in other particles in each particle neighborhood
Surface tension.
For example, can be according to formulaObtain the interparticle surface tension of flow surface.
Wherein, F indicates surface tension, miIndicate the quality of particle i, FiIndicate other particles in the default neighborhood of particle i
Between interact resultant force,FijIndicate the interaction force between other particle j in particle i and default neighborhood.
In the embodiment of the present application, what neighborhood indicated is a special section, i.e., puts any open centered on some point a
Section is known as the neighborhood of point a, it is assumed that presets a value b, the b neighborhood of point a is exactly open interval (a-b, a+b), and point a is exactly neighborhood
Center, b be neighborhood radius.Certainly in practice, heart b neighborhood, i.e. deduction central point can be removed with set-point a.Default neighbour
Domain representation pre-sets the neighborhood of b.
In the embodiment of the present application, the interaction force F between other particle j in the particle i and default neighborhoodijIt is logical
Cross following formula acquisition:
Wherein, sij=cijmimj, cijFor customized parameter, mi、mjRespectively indicate the quality of particle i and particle j, h table
Show smooth nuclear radius, riIndicate the position of particle i, rjIndicate the position of particle j.
The embodiment of the present application is due to by being divided into multiple discrete particles, the particle of the flow surface detected for fluid
Also it is independent from each other discrete particle, the surface tension between the particle of the particle gauging surface based on flow surface, Ke Yiti
The accuracy of the surface tension of high flow surface particle, so that fluid emulation obtains more life-like effect.
Fig. 2 is the flow diagram of the emulation mode for the surface tension of liquid that the another embodiment of the application provides, shown in Fig. 2
Embodiment be the process being modified to the density of the particle of the flow surface detected on the basis of embodiment shown in Fig. 1,
This method as shown in the figure may comprise steps of:
Step S201 constructs level set grid.
In the embodiment of the present application, level set grid is constructed by level-set function, level set is a kind of for interface
The numerical technique of tracking and shape modeling.The advantages of Level Set Method is can be on cartesian grid (Cartesian grid)
Carrying out numerical value calculating to the curve and surface in evolution, (this is so-called Euler method without parameterizing to curve and surface
(Eulerian approach)).Another advantage of Level Set Method is that the topological structure for the tracking object that can be convenient changes
Become.Such as when the shape of object is divided into two, generation is empty, or these opposite operations.It is all these so that level set side
Method becomes the air bag in the powerful of the object modeling changed over time, such as expansion, falls to the oil droplet in water.Pass through water
The grid of flat set method building can more embody the characteristic of fluid.The grid of building can carry out position to the particle of flow surface
Index.That is, the position of particle uses the index value (for example, coordinate as index value) of grid corresponding to the particle to carry out in fluid
Mark.
Step S202 is modified the density of flow surface particle by the level set grid of building, after being corrected
Flow surface particle position.
In the embodiment of the present application, the incomplete nuclear radius of fluid emulation, liquid surface particle will lead to fluid density
Erroneous calculations, this be also at Free Surface numerical value it is unstable with particle the reason of non-physical clustering phenomena.And at Free Surface
The non-physical aggregation of particle has large effect to the calculating of near surface interparticle force.Near surface interparticle force model is only
Preferable simulated effect could be obtained in the more uniform naturally situation of particle distribution by having.So it is based on level set grid, it can
To pass through the volume accounting coefficients R of each particle in fluidi, density revision is carried out to surface particle.
As the another embodiment of the application, according to formulaTo flow surface particle
Density is modified;
Wherein, RiThe volume accounting coefficient for indicating particle i, for δ (φj), work as φjWhen > 0, δ (φj)=1, otherwise δ
(φj)=0, φjIndicate level set function, VjIndicate the volume of particle j, W (ri-rj, h) and indicate smoothing kernel function, riIndicate grain
The position of sub- i, rjIndicate the position of particle j, h indicates smooth nuclear radius.
Step S203, based on the position of revised flow surface particle, between the particle for obtaining the flow surface
Surface tension.
In the embodiment of the present application, the fluid can be obtained by the position based on revised flow surface particle
Surface tension between the particle on surface.
The mode of calculating can be by way of embodiment illustrated in fig. 1, but the position of flow surface particle involved in formula
The parameter for setting relationship needs to use the location parameter of revised flow surface particle.
It, can be according to the surface tension of calculating and other stress pair after the surface tension for obtaining flow surface particle
Fluid is emulated.
In the embodiment of the present application, between the particle by the work-force model calculating flow surface between improved surface particle
Surface tension, more accurately fluid can be emulated;In addition, passing through the volume accounting coefficient of level set grid and particle
Formula further accurately calculates the surface tension of flow surface particle, to obtain effect stream true to nature in fluid emulation
Body.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present application constitutes any limit
It is fixed.
Fig. 3 is that the schematic block diagram for the terminal device that one embodiment of the application provides only is shown and this Shen for ease of description
It please the relevant part of embodiment.
The terminal device 3 can be the software unit being built in the terminal devices such as mobile phone, notebook etc. be existing, hardware
Unit or the unit of soft or hard combination, can also be used as independent pendant and are integrated into the terminals such as mobile phone, notebook etc. be existing and set
In standby, it is also used as independent terminal device and exists.
The terminal device 3 includes:
Fluid constructs module 31, for fluid to be divided into discrete particle, and the dynamic based on smooth kernel calculating particle
Parameter, the particle in the fluid are moved according to the dynamic parameter of calculating;
Detection module 32, for detecting the particle of the flow surface;
Emulation module 33, for the particle based on the flow surface detected, between the particle for obtaining the flow surface
Surface tension.
Optionally, the emulation module 33 is also used to:
According to formulaObtain the interparticle surface tension of flow surface;
Wherein, F indicates surface tension, miIndicate the quality of particle i, FiIndicate other particles in the default neighborhood of particle i
Between interact resultant force,FijIndicate the interaction force between other particle j in particle i and default neighborhood.
Optionally, the emulation module 33 is also used to:
Pass through formulaWhen | ri-rjWhen |≤3h, particle i and default neighbour are obtained
The interaction force between other particle j in domain;
Wherein, sij=cijmimj, cijFor customized parameter, mi、mjRespectively indicate the quality of particle i and particle j, h table
Show smooth nuclear radius, riIndicate the position of particle i, rjIndicate the position of particle j.
Optionally, the terminal device 3 further include:
Grid constructs module 34, for constructing level set grid;
Correction module 35 is modified the density of flow surface particle for the level set grid by constructing, and obtains
The position of revised flow surface particle;
The emulation module 33 is also used to obtain the flow surface based on the position of revised flow surface particle
Particle between surface tension.
Optionally, the correction module 35 is also used to:
According to formulaThe density of flow surface particle is modified;
Wherein, RiThe volume accounting coefficient for indicating particle i, for δ (φj), work as φjWhen > 0, δ (φj)=1, otherwise δ
(φj)=0, φjIndicate level set function, VjIndicate the volume of particle j, W (ri-rj, h) and indicate smoothing kernel function, riIndicate grain
The position of sub- i, rjIndicate the position of particle j, h indicates smooth nuclear radius.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of the terminal device is divided into different functional unit or module, to complete
All or part of function described above.Each functional unit in embodiment, module can integrate in one processing unit,
It is also possible to each unit to physically exist alone, can also be integrated in one unit with two or more units, above-mentioned collection
At unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function
Unit, module specific name be also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above-mentioned dress
The specific work process for setting middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Fig. 4 is the schematic block diagram for the terminal device that the another embodiment of the application provides.As shown in figure 4, the end of the embodiment
End equipment 4 includes: one or more processors 40, memory 41 and is stored in the memory 41 and can be in the processing
The computer program 42 run on device 40.The processor 40 realizes above-mentioned each fluid meter when executing the computer program 42
Step in the emulation mode embodiment of face tension, such as step S101 to S103 shown in FIG. 1.Alternatively, the processor 40
The function of each module/unit in above-mentioned terminal device embodiment, such as mould shown in Fig. 3 are realized when executing the computer program 42
The function of block 31 to 33.
Illustratively, the computer program 42 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 41, and are executed by the processor 40, to complete the application.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 42 in the terminal device 4 is described.For example, the computer program 42 can be divided
It is cut into fluid building module, detection module, emulation module.
The fluid constructs module, calculates the dynamic of particle for fluid to be divided into discrete particle, and based on smooth kernel
State parameter, the particle in the fluid are moved according to the dynamic parameter of calculating;
The detection module, for detecting the particle of the flow surface;
The emulation module, for the particle based on the flow surface detected, obtain the flow surface particle it
Between surface tension.
Other modules or unit can refer to the description in embodiment shown in Fig. 3, and details are not described herein.
The terminal device includes but are not limited to processor 40, memory 41.It will be understood by those skilled in the art that figure
4 be only an example of terminal device 4, does not constitute the restriction to terminal device 4, may include more more or less than illustrating
Component, perhaps combine certain components or different components, for example, the terminal device can also include input equipment, it is defeated
Equipment, network access equipment, bus etc. out.
The processor 40 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 41 can be the internal storage unit of the terminal device 4, such as the hard disk or interior of terminal device 4
It deposits.The memory 41 is also possible to the External memory equipment of the terminal device 4, such as be equipped on the terminal device 4
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory 41 can also both include the storage inside list of the terminal device 4
Member also includes External memory equipment.The memory 41 is for storing needed for the computer program and the terminal device
Other programs and data.The memory 41 can be also used for temporarily storing the data that has exported or will export.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
Scope of the present application.
In embodiment provided herein, it should be understood that disclosed terminal device and method can pass through it
Its mode is realized.For example, terminal device embodiment described above is only schematical, for example, the module or list
Member division, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or
Component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point is shown
The mutual coupling or direct-coupling or communication connection shown or discussed can be through some interfaces, between device or unit
Coupling or communication connection are connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the application realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and
Telecommunication signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned reality
Example is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all
Comprising within the scope of protection of this application.
Claims (10)
1. a kind of emulation mode of surface tension of liquid characterized by comprising
Fluid is divided into discrete particle, and calculates the dynamic parameter of particle based on smooth kernel, the particle in the fluid is pressed
It is moved according to the dynamic parameter of calculating;
Detect the particle of the flow surface;
Based on the particle of the flow surface detected, the surface tension between the particle of the flow surface is obtained.
2. the emulation mode of surface tension of liquid as described in claim 1, which is characterized in that described based on the fluid detected
The particle on surface, the surface tension obtained between the particle of the flow surface include:
According to formulaObtain the interparticle surface tension of flow surface;
Wherein, F indicates surface tension, miIndicate the quality of particle i, FiPhase between other particles in the default neighborhood of expression particle i
Interaction resultant force,FijIndicate the interaction force between other particle j in particle i and default neighborhood.
3. the emulation mode of surface tension of liquid as claimed in claim 2, which is characterized in that the particle i and default neighborhood
Interaction force between interior other particle j is obtained by following formula:
Wherein, sij=cijmimj, cijFor customized parameter, mi、mjThe quality of particle i and particle j are respectively indicated, h indicates smooth
Nuclear radius, riIndicate the position of particle i, rjIndicate the position of particle j.
4. the emulation mode of surface tension of liquid as described in claim 1, which is characterized in that detecting the flow surface
After particle, further includes:
Construct level set grid;
The density of flow surface particle is modified by the level set grid of building, obtains revised flow surface particle
Position;
The particle based on the flow surface detected, the surface tension obtained between the particle of the flow surface include:
Based on the position of revised flow surface particle, the surface tension between the particle of the flow surface is obtained.
5. the emulation mode of surface tension of liquid as claimed in claim 4, which is characterized in that the level set by building
Grid is modified the density of flow surface particle
According to formulaThe density of flow surface particle is modified;
Wherein, RiThe volume accounting coefficient for indicating particle i, for δ (φj), work as φjWhen > 0, δ (φj)=1, otherwise δ (φj)=
0, φjIndicate level set function, VjIndicate the volume of particle j, W (ri-rj, h) and indicate smoothing kernel function, riIndicate the position of particle i
It sets, rjIndicate the position of particle j, h indicates smooth nuclear radius.
6. a kind of terminal device characterized by comprising
Fluid constructs module, for fluid to be divided into discrete particle, and the dynamic parameter based on smooth kernel calculating particle, institute
The particle stated in fluid is moved according to the dynamic parameter of calculating;
Detection module, for detecting the particle of the flow surface;
Emulation module obtains the surface between the particle of the flow surface for the particle based on the flow surface detected
Tension.
7. terminal device as claimed in claim 6, which is characterized in that the emulation module is also used to:
According to formulaObtain the interparticle surface tension of flow surface;
Wherein, F indicates surface tension, miIndicate the quality of particle i, FiPhase between other particles in the default neighborhood of expression particle i
Interaction resultant force,FijIndicate the interaction force between other particle j in particle i and default neighborhood.
8. terminal device as claimed in claim 7, which is characterized in that the emulation module is also used to:
Pass through formulaIt obtains in particle i and default neighborhood
Interaction force between other particle j;
Wherein, sij=cijmimj, cijFor customized parameter, mi、mjThe quality of particle i and particle j are respectively indicated, h indicates smooth
Nuclear radius, riIndicate the position of particle i, rjIndicate the position of particle j.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor
The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 5 when executing the computer program
The step of any one the method.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey
Sequence realizes the step such as any one of claim 1 to 5 the method when the computer program is executed by one or more processors
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711434247.4A CN109960841B (en) | 2017-12-26 | 2017-12-26 | Fluid surface tension simulation method, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711434247.4A CN109960841B (en) | 2017-12-26 | 2017-12-26 | Fluid surface tension simulation method, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109960841A true CN109960841A (en) | 2019-07-02 |
CN109960841B CN109960841B (en) | 2022-11-01 |
Family
ID=67022249
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711434247.4A Active CN109960841B (en) | 2017-12-26 | 2017-12-26 | Fluid surface tension simulation method, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109960841B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111476898A (en) * | 2020-03-09 | 2020-07-31 | 深圳市瑞立视多媒体科技有限公司 | Fluid display method and device, computer readable storage medium and terminal equipment |
CN112784471A (en) * | 2021-01-26 | 2021-05-11 | 郑州轻工业大学 | Water environment visual simulation method, terminal equipment and computer readable storage medium |
CN113792496A (en) * | 2021-08-20 | 2021-12-14 | 华南理工大学 | Free surface tension modeling method based on combination of particles and grids |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100057408A1 (en) * | 2008-08-27 | 2010-03-04 | University Of Washington | Fast multiphysics design and simulation tool for multitechnology systems |
US7996195B1 (en) * | 2008-09-24 | 2011-08-09 | The United States Of America As Represented By The Secretary Of The Navy | Computation of particle energy from ablation |
US20130144577A1 (en) * | 2011-12-06 | 2013-06-06 | Fujitsu Limited | Medium recording simulation program, simulation method and simulation apparatus |
WO2013132597A1 (en) * | 2012-03-06 | 2013-09-12 | 富士通株式会社 | Simulation program, simulation method, and simulation device |
WO2014045416A1 (en) * | 2012-09-21 | 2014-03-27 | 富士通株式会社 | Simulation program, simulation method, and simulation device |
US20150161810A1 (en) * | 2013-12-10 | 2015-06-11 | Nvidia Corporation | Position based fluid dynamics simulation |
CN106650064A (en) * | 2016-12-09 | 2017-05-10 | 华东师范大学 | Coagulation phenomenon simulation method based on particle model |
-
2017
- 2017-12-26 CN CN201711434247.4A patent/CN109960841B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100057408A1 (en) * | 2008-08-27 | 2010-03-04 | University Of Washington | Fast multiphysics design and simulation tool for multitechnology systems |
US7996195B1 (en) * | 2008-09-24 | 2011-08-09 | The United States Of America As Represented By The Secretary Of The Navy | Computation of particle energy from ablation |
US20130144577A1 (en) * | 2011-12-06 | 2013-06-06 | Fujitsu Limited | Medium recording simulation program, simulation method and simulation apparatus |
WO2013132597A1 (en) * | 2012-03-06 | 2013-09-12 | 富士通株式会社 | Simulation program, simulation method, and simulation device |
WO2014045416A1 (en) * | 2012-09-21 | 2014-03-27 | 富士通株式会社 | Simulation program, simulation method, and simulation device |
US20150161810A1 (en) * | 2013-12-10 | 2015-06-11 | Nvidia Corporation | Position based fluid dynamics simulation |
CN106650064A (en) * | 2016-12-09 | 2017-05-10 | 华东师范大学 | Coagulation phenomenon simulation method based on particle model |
Non-Patent Citations (1)
Title |
---|
HOLMES D W.ET.AL: "《Smooth particle hydrodynamics for grain scale multi-phase fluid simulations》", 《INTERNATIONAL CENTER FOR NUMERICAL METHOD IN ENGINEERING》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111476898A (en) * | 2020-03-09 | 2020-07-31 | 深圳市瑞立视多媒体科技有限公司 | Fluid display method and device, computer readable storage medium and terminal equipment |
CN111476898B (en) * | 2020-03-09 | 2023-11-28 | 深圳市瑞立视多媒体科技有限公司 | Fluid display method, device, computer readable storage medium and terminal equipment |
CN112784471A (en) * | 2021-01-26 | 2021-05-11 | 郑州轻工业大学 | Water environment visual simulation method, terminal equipment and computer readable storage medium |
CN113792496A (en) * | 2021-08-20 | 2021-12-14 | 华南理工大学 | Free surface tension modeling method based on combination of particles and grids |
Also Published As
Publication number | Publication date |
---|---|
CN109960841B (en) | 2022-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109960841A (en) | A kind of emulation mode of surface tension of liquid, terminal device and storage medium | |
CN109739223A (en) | Robot obstacle-avoiding control method, device and terminal device | |
CN107274472A (en) | A kind of method and apparatus of raising VR play frame rate | |
CN107688824A (en) | Picture match method and terminal device | |
CN108280455A (en) | Human body critical point detection method and apparatus, electronic equipment, program and medium | |
CN108805859A (en) | A kind of image detecting method, image detection device and terminal device | |
CN111695596A (en) | Neural network for image processing and related equipment | |
CN107256707A (en) | A kind of audio recognition method, system and terminal device | |
CN109740630A (en) | Method for processing abnormal data and device | |
CN105210115A (en) | Performing hand gesture recognition using 2D image data | |
CN113722966B (en) | Integrated circuit board simulation multistage distributed parallel computing method | |
CN109509257A (en) | Indoor floor rank components pattern forming method, terminal and storage medium | |
CN107368820A (en) | One kind becomes more meticulous gesture identification method, device and equipment | |
CN109587324A (en) | A kind of method and device being adapted to mobile terminal topic according to mobile terminal case | |
CN109492590A (en) | A kind of distance detection method, distance detection device and terminal device | |
CN110445558A (en) | Performance test methods, device and terminal device | |
CN110110001A (en) | Service performance data processing method, device, storage medium and system | |
CN107506494A (en) | Document handling method, mobile terminal and computer-readable recording medium | |
CN109298809A (en) | A kind of touch action recognition methods, device and terminal device | |
CN107783932A (en) | Information processing method, mobile terminal and the computer-readable recording medium of calculator | |
CN104850820A (en) | Face identification method and device | |
CN107967341A (en) | A kind of image display method, terminal device and storage medium | |
CN108388886A (en) | Method, apparatus, terminal and the computer readable storage medium of image scene identification | |
CN204968124U (en) | Campus card system based on zigBee uses | |
CN109960840A (en) | A kind of emulation mode, terminal device and the storage medium of interface bubble |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |