CN106294955B - A kind of sense of reality fluid weight emulation mode of physical data driving - Google Patents
A kind of sense of reality fluid weight emulation mode of physical data driving Download PDFInfo
- Publication number
- CN106294955B CN106294955B CN201610624291.0A CN201610624291A CN106294955B CN 106294955 B CN106294955 B CN 106294955B CN 201610624291 A CN201610624291 A CN 201610624291A CN 106294955 B CN106294955 B CN 106294955B
- Authority
- CN
- China
- Prior art keywords
- particle
- block
- density
- fluid
- sense
- 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.)
- Expired - Fee Related
Links
- 239000012530 fluid Substances 0.000 title claims abstract description 63
- 239000002245 particle Substances 0.000 claims abstract description 95
- 230000002708 enhancing effect Effects 0.000 claims abstract description 8
- 238000012545 processing Methods 0.000 claims description 6
- 230000011218 segmentation Effects 0.000 claims description 6
- 238000012163 sequencing technique Methods 0.000 claims description 3
- 238000004088 simulation Methods 0.000 abstract description 15
- 238000000034 method Methods 0.000 abstract description 9
- 238000011160 research Methods 0.000 abstract description 4
- 239000000284 extract Substances 0.000 abstract description 3
- 238000000605 extraction Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000002474 experimental method Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 1
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
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a kind of sense of reality fluid weight emulation mode of physical data driving, this method is intended to the sample frame using video fluid, obtains the heavy simulation result of sense of reality details.This method is first using the physical drives data for calculating sample frame fluid, that is the density of fluid particles, extract the density details of sample frame particle, and in fluid emulates again, the density details enhancing of the particle of extraction is deduced in process density to LBM, and then obtains the heavy simulation result with abundant details.The present invention can be effectively applied in the research and application of the reverse engineering of fluid, and the details that can be realized the fluid scene sense of reality emulates again, overcome the problems, such as to lack details in the existing fluid sense of reality.
Description
Technical field
The present invention relates to the sense of reality technologies of video flowing weight emulation, go out from the sample frame physical drives data of video fluid
Hair extracts the density details of sample frame particle, and in fluid emulates again, by the density details enhancing of the particle of extraction to LBM
In deduction process density, and then obtain the heavy simulation result with abundant details.
Background technique
Sense of reality fluid emulates again has widely been applied to the fields such as Military Simulation in recent years at present, video fluid
The research of weight emulation technology is concerned, and the purpose is to make full use of the driving data in video fluid, obtains the reality of the sense of reality
When simulated effect extract these information due to containing detailed information abundant in video fluid, and they are enhanced to emulation
In the process, to obtain sense of reality details in weight simulation process, it can overcome what is emulated in lower dimensional space to lack really in this way
The problem of feeling details.Although the research of sense of reality emulation technology at present achieves some achievements, but how to utilize video fluid
The simulation result for obtaining the sense of reality is still critical issue urgently to be resolved in research.
Summary of the invention
It is a kind of based on the true of physical motion data-driven the purpose of the present invention is proposing in video fluid reverse engineering
Feel weight emulation mode.
The object of the present invention is achieved like this: a kind of sense of reality fluid weight emulation mode of physical data driving, special
Sign is, using two sample frame before video, is denoted as F1And F2, realize that sense of reality fluid is imitated again, utilize the sample of streaming video
The physical drives data of fluid motion are calculated in frame, realize that sense of reality fluid emulates again, specifically includes the following steps:
Step 1: pretreatment
Calculate F1The height H of middle fluid particlesi, further calculate F1In any one particle speed viAnd density piIts
Middle i is nonnegative integer, and 0≤i < N, N are the particle numbers of fluid scene;
(a) by fluid scene particle piecemeal, and particle set of blocks is constructed, specifically:
By F1In the processing of all particle piecemeals be determined as different classes of and according to the direction of motion of particle in every piece;First
The division for carrying out particle block, by F1In all particles according to specified size b × b be divided into square block, if image point
Resolution is X × Y, then, horizontal segmentation block numberVertical segmentation block number It indicates to be rounded downwards;
Assuming that B is any one piece in this WM particle block;The mean value of all particle 2D speed is in BAnd u and v areTwo
Component, then, the classification T of B is determined using (1) formula:
According to the classification of particle block, all particle blocks of fluid scene are divided into four particle assembly Sj(1≤j≤4), tool
Body: if the classification of particle block is j, which is placed in Sj(1≤j≤4);
(b) to the particle block sequencing inside each set, specifically:
For arbitrary particle collection Sj(1≤j≤4), according to all particle densities in every piece of inside and ρk, by particle collection SjIt is interior
All particle blocks, according to ρkIt sorts from large to small, by the particle block collection after sequence, referred to as standard density block ordered set Gj(1≤j≤
4);Wherein k is nonnegative integer, and 0≤k≤L-1, L indicate SjThe number of middle particle block;
Step 2: carrying out N altogether according to the following stepsRSecondary emulation is deduced:
(a) when it is previous be I time emulation;If meeting I≤NR, continue following steps, otherwise, jump to step 3;
(b) speed v is utilizedi(0≤i < N) initializes LBM model, emulation is made to start to deduce, then right according to the following steps
Density after deduction is enhanced;During deduction, the density p of fluid scene particle in I time deduction is obtainedl(0≤l<
N), plTo deduce density, wherein I is natural number (1≤I≤NR), N is the particle number of fluid scene;
(c) it establishes and deduces density block ordered set
According to pl(0≤l < N) is established according to (a) and (b) of step 1 and is deduced density block ordered set Dj(1≤j≤4),
In each set particle block be according in block LBM deduce particle density sum size sequence;
(d) enhancing of density
Tentative standard density block ordered set GjDensity block number is C in (1≤j≤4);Deduce density block ordered set Dj(1≤j≤
4) density block is J in;
Density block ordered set D is deduced in I time is deduced for given threshold value λ (0 < λ < 1)jThe preceding λ of (1≤j≤4)
C density block carries out enhancing processing;Specifically: to DjIn deduction density block biDensity p in (0 < i≤λ c)tEnhanced;
Wherein t is particle in biIn serial number;
Firstly, for biFrom standard density block ordered set GjMiddle selection standard density block Bs, serial number BsIt calculates are as follows:
Bs=Cbi/J (2)
Then, for deducing density block biThe density a of middle particletEnhancing are as follows:
at=PtZb/XB (3)
Wherein PtFor standard density block BsThe density of the particle of middle serial number t;ZbTo deduce density block ordered set DjMiddle institute
There are the sum of density, XBFor standard density block ordered set GjThe sum of all particle densities;
(e) 2 are gone to step, is deduced next time;
Step 3: emulation terminates again.
The present invention utilizes video fluid, and the details of the sense of reality can be obtained in real time in fluid emulates again, can be realized true
Feel the emulation of video flowing weight, overcomes the problems, such as to lack details in existing heavy simulation study, further example demonstrates of the invention
Experiment effect, realizing has the video flowing weight emulation of abundant details, is suitable for including the multiple fluids types such as advection and wave.
Detailed description of the invention
Fig. 1 is the sense of reality fluid weight simulation result diagram of physical data of embodiment of the present invention driving;
Fig. 2 is that physical data of the embodiment of the present invention drives the sense of reality fluid obtained in emulation marginal testing again to emulate again
Result figure;
Fig. 3 is the result pair of the sense of reality fluid weight simulation result and existing method of physical data of embodiment of the present invention driving
Than figure.
Specific embodiment
Embodiment
Invention is further illustrated with reference to the accompanying drawing.
The present embodiment implements stream using the streaming video (such as the streaming videos such as 54ab110) in DynTex dynamic texture library
The body scene sense of reality emulates again.Implemented under Windows7 operating system in PC machine, hardware configuration is 2.66GHz
Intel Core(TM)2 Duo CPU、4GB RAM。
A kind of sense of reality fluid weight emulation mode of physical data driving, which is characterized in that utilize preceding two sample of video
Frame is denoted as F1And F2, realize that sense of reality fluid is imitated again, using the sample frame of streaming video, the physics that fluid motion is calculated is driven
Dynamic data realize that sense of reality fluid emulates again, specifically includes the following steps:
Step 1: pretreatment
Calculate F1The height H of middle fluid particlesi, further calculate F1In any one particle speed viAnd density piIts
Middle i is nonnegative integer, and 0≤i < N, N are the particle numbers of fluid scene;
(a) by fluid scene particle piecemeal, and particle set of blocks is constructed, specifically:
By F1In the processing of all particle piecemeals be determined as different classes of and according to the direction of motion of particle in every piece;First
The division for carrying out particle block, by F1In all particles according to specified size b × b be divided into square block, if image point
Resolution is X × Y, then, horizontal segmentation block numberVertical segmentation block number It indicates to be rounded downwards;
Assuming that B is any one piece in this WM particle block;The mean value of all particle 2D speed is in BAnd u and v areTwo
Component, then, the classification T of B is determined using (1) formula:
According to the classification of particle block, all particle blocks of fluid scene are divided into four particle assembly Sj(1≤j≤4), tool
Body: if the classification of particle block is j, which is placed in Sj(1≤j≤4);
(b) to the particle block sequencing inside each set, specifically:
For arbitrary particle collection Sj(1≤j≤4), according to all particle densities in every piece of inside and ρk, by particle collection SjIt is interior
All particle blocks, according to ρkIt sorts from large to small, by the particle block collection after sequence, referred to as standard density block ordered set Gj(1≤j≤
4);Wherein k is nonnegative integer, and 0≤k≤L-1, L indicate SjThe number of middle particle block;
Step 2: carrying out N altogether according to the following stepsRSecondary emulation is deduced:
(a) when it is previous be I time emulation;If meeting I≤NR, continue following steps, otherwise, jump to step 3;
(b) speed v is utilizedi(0≤i < N) initializes LBM model, emulation is made to start to deduce, then right according to the following steps
Density after deduction is enhanced;During deduction, the density p of fluid scene particle in I time deduction is obtainedl(0≤l<
N), plTo deduce density, wherein I is natural number (1≤I≤NR), N is the particle number of fluid scene;
(c) it establishes and deduces density block ordered set
According to pl(0≤l < N) is established according to (a) and (b) of step 1 and is deduced density block ordered set Dj(1≤j≤4),
In each set particle block be according in block LBM deduce particle density sum size sequence;
(d) enhancing of density
Tentative standard density block ordered set GjDensity block number is C in (1≤j≤4);Deduce density block ordered set Dj(1≤j≤
4) density block is J in;
Density block ordered set D is deduced in I time is deduced for given threshold value λ (0 < λ < 1)jThe preceding λ of (1≤j≤4)
C density block carries out enhancing processing;Specifically: to DjIn deduction density block biDensity p in (0 < i≤λ c)tEnhanced;
Wherein t is particle in biIn serial number;
Firstly, for biFrom standard density block ordered set GjMiddle selection standard density block Bs, serial number BsIt calculates are as follows:
Bs=Cbi/J (2)
Then, for deducing density block biThe density a of middle particletEnhancing are as follows:
at=PtZb/XB (3)
Wherein PtFor standard density block BsThe density of the particle of middle serial number t;ZbTo deduce density block ordered set DjMiddle institute
There are the sum of density, XBFor standard density block ordered set GjThe sum of all particle densities;
(e) 2 are gone to step, is deduced next time;
Step 3: emulation terminates again.
The present invention utilizes video fluid, and the details of the sense of reality can be obtained in real time in fluid emulates again, can be realized true
Feel the emulation of video flowing weight, overcomes the problems, such as to lack details in existing heavy simulation study, further example demonstrates of the invention
Experiment effect, realizing has the video flowing weight emulation of abundant details, is suitable for including the multiple fluids types such as advection and wave.
Fig. 1 is emulated again using the present invention, obtained result.From the heavy simulation result in figure, it is apparent that
The timing results of the available realistic details i.e. sense of reality of physical data driving when being emulated using the present invention again
Fluid weight simulation sequence result figure.
Fig. 2 is the sense of reality fluid weight simulation result diagram of physical data of embodiment of the present invention driving, is surveyed on emulation boundary again
Result figure obtained in examination, the result of Cong Tuzhong, which can be seen that sense of reality fluid and emulate details again, obviously to be protruded.
Fig. 3 is the sense of reality fluid weight simulation result comparison diagram of physical data of embodiment of the present invention driving.In the test knot
In fruit, the column of right side one are sense of reality fluid of embodiment of the present invention weight simulation results, and left side is imitated again using what existing method was realized
Very as a result, the sense of reality fluid weight emulation mode that can be seen that physical data driving of the invention from the result of comparison is effective, weight
Emulation details becomes apparent from.
Claims (1)
1. a kind of sense of reality fluid weight emulation mode of physical data driving, which is characterized in that using the preceding two samples frame of video,
It is denoted as F1And F2, realize that sense of reality fluid is imitated again, using the sample frame of streaming video, the physical drives of fluid motion be calculated
Data realize that sense of reality fluid emulates again, specifically includes the following steps:
Step 1: pretreatment
Calculate F1The height H of middle fluid particlesi, further calculate F1In any one particle speed viAnd density piWherein i is
Nonnegative integer, and 0≤i < N, N are the particle numbers of fluid scene;
(a) by fluid scene particle piecemeal, and particle set of blocks is constructed, specifically:
By F1In the processing of all particle piecemeals be determined as different classes of and according to the direction of motion of particle in every piece;First carry out
The division of particle block, by F1In all particles according to specified size b × b be divided into square block, if the resolution ratio of image
For X × Y, then, horizontal segmentation block numberVertical segmentation block number It indicates to be rounded downwards;Assuming that B
It is any one piece in this WM particle block;The mean value of all particle 2D speed is in BAnd u and v areTwo components,
So, the classification T of B is determined using (1) formula:
According to the classification of particle block, all particle blocks of fluid scene are divided into four particle assembly Sj(1≤j≤4), specifically:
If the classification of particle block is j, which is placed in Sj(1≤j≤4);
(b) to the particle block sequencing inside each set, specifically:
For arbitrary particle collection Sj(1≤j≤4), according to all particle densities in every piece of inside and ρk, by particle collection SjIt is interior all
Particle block, according to ρkIt sorts from large to small, by the particle block collection after sequence, referred to as standard density block ordered set Gj(1≤j≤4);
Wherein k is nonnegative integer, and 0≤k≤L-1, L indicate SjThe number of middle particle block;
Step 2: carrying out N altogether according to the following stepsRSecondary emulation is deduced:
(a) when it is previous be I time emulation;If meeting I≤NR, continue following steps, otherwise, jump to step 3;
(b) speed v is utilizedi(0≤i < N) initializes LBM model, makes emulation start to deduce, then according to the following steps to deduction
Density afterwards is enhanced;During deduction, the density p of fluid scene particle in I time deduction is obtainedl(0≤l < N), plFor
Density is deduced, wherein I is natural number (1≤I≤NR), N is the particle number of fluid scene;
(c) it establishes and deduces density block ordered set
According to pl(0≤l < N) is established according to (a) and (b) of step 1 and is deduced density block ordered set Dj(1≤j≤4), wherein often
The particle block of a set is the size sequence according to the particle density sum deduced of LBM in block;
(d) enhancing of density
Tentative standard density block ordered set GjDensity block number is C in (1≤j≤4);Deduce density block ordered set DjIn (1≤j≤4)
Density block is J;
Density block ordered set D is deduced in I time is deduced for given threshold value λ (0 < λ < 1)jPreceding λ c of (1≤j≤4) are close
Degree block carries out enhancing processing;Specifically: to DjIn deduction density block biDensity p in (0 < i≤λ c)tEnhanced;Wherein t
It is particle in biIn serial number;
Firstly, for biFrom standard density block ordered set GjMiddle selection standard density block Bs, serial number BsIt calculates are as follows:
Bs=Cbi/J (2)
Then, for deducing density block biThe density a of middle particletEnhancing are as follows:
at=PtZb/XB (3)
Wherein PtFor standard density block BsThe density of the particle of middle serial number t;ZbTo deduce density block ordered set DjIn it is all close
The sum of degree, XBFor standard density block ordered set GjThe sum of all particle densities;
(e) 2 are gone to step, is deduced next time;
Step 3: emulation terminates again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610624291.0A CN106294955B (en) | 2016-08-01 | 2016-08-01 | A kind of sense of reality fluid weight emulation mode of physical data driving |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610624291.0A CN106294955B (en) | 2016-08-01 | 2016-08-01 | A kind of sense of reality fluid weight emulation mode of physical data driving |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106294955A CN106294955A (en) | 2017-01-04 |
CN106294955B true CN106294955B (en) | 2019-05-17 |
Family
ID=57664295
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610624291.0A Expired - Fee Related CN106294955B (en) | 2016-08-01 | 2016-08-01 | A kind of sense of reality fluid weight emulation mode of physical data driving |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106294955B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104517299A (en) * | 2014-12-19 | 2015-04-15 | 华东师范大学 | Method for restoring and resimulating physical video fluid driving model |
WO2016004015A1 (en) * | 2014-06-30 | 2016-01-07 | Dana-Farber Cancer Institute, Inc. | Systems, apparatus, and methods related to magnetically-controlled three-dimensional tissue cultures |
-
2016
- 2016-08-01 CN CN201610624291.0A patent/CN106294955B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016004015A1 (en) * | 2014-06-30 | 2016-01-07 | Dana-Farber Cancer Institute, Inc. | Systems, apparatus, and methods related to magnetically-controlled three-dimensional tissue cultures |
CN104517299A (en) * | 2014-12-19 | 2015-04-15 | 华东师范大学 | Method for restoring and resimulating physical video fluid driving model |
Non-Patent Citations (2)
Title |
---|
利用特征向量聚类的流体运动矢量计算;全红艳;《计算机辅助设计与图形学学报》;20130228;第25卷(第2期);221-228 |
真实感流体实时重建;俞铭琪;《计算机辅助设计与图形学学报》;20130531;第25卷(第5期);622-630 |
Also Published As
Publication number | Publication date |
---|---|
CN106294955A (en) | 2017-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Ju et al. | Morphable crowds | |
Génevaux et al. | Simulating Fluid-Solid Interaction. | |
Davis et al. | Image-space modal bases for plausible manipulation of objects in video | |
CN105551072B (en) | Realize the method and system of actor model part real time kinematics | |
CN107085629A (en) | A kind of fluid simulation method based on video reconstruction Yu Euler's Model coupling | |
Zheng et al. | A deep emulator for secondary motion of 3d characters | |
Kenwright | Fourier series character animation | |
CN103839280B (en) | A kind of human body attitude tracking of view-based access control model information | |
WO2016127421A1 (en) | Real-time motion simulation method for hair and object collisions | |
CN103942090B (en) | Data-driven real-time hair motion simulation method | |
Dridi | Pedestrian flow simulation validation and verification techniques | |
CN106294955B (en) | A kind of sense of reality fluid weight emulation mode of physical data driving | |
Huber et al. | Evaluation of Surface Tension Models for SPH-Based Fluid Animations Using a Benchmark Test. | |
CN103871096B (en) | Sense of reality fluid Scene Composition methods in three dimensions | |
CN106126865B (en) | Sense of reality fluid weight emulation mode | |
CN102831616B (en) | Video stream motion vector calculation method | |
CN104517299A (en) | Method for restoring and resimulating physical video fluid driving model | |
Wei et al. | Function-based single and dual point haptic interaction in cyberworlds | |
Kim et al. | Eulerian Motion Blur. | |
Choi et al. | Estimating material properties of deformable objects by considering global object behavior in video streams | |
CN104679577B (en) | A kind of real time kinematics emulation mode collided suitable for hair and object | |
Yang et al. | SPH-based fluid simulation with a new surface tension formulation | |
US20240153185A1 (en) | System and method for animating secondary features | |
Quan et al. | Physically-based enhancement in shallow water resimulation | |
Cui | Lattice Boltzmann method and vortex methods for fluid animation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190517 |